From patchwork Wed Nov 6 08:38:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 11229645 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 01F0114E5 for ; Wed, 6 Nov 2019 08:39:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D2A9D2187F for ; Wed, 6 Nov 2019 08:39:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573029573; bh=7MFR2ZIi37ajuns9jLuWI/+9zvp+HfFtIxkIU4zEI60=; h=From:To:Cc:Subject:Date:List-ID:From; b=X7qdSKOPSjsxny5uCfxWCrssmN02pDVMlQvZjLjmwk6BLcS0U61q5A7QzBivaBR7n usacwVWGM9J7UsjDFORECzfhnclTMm6bvAV8kfhQaH3e2yYWI7lEDzEgl4EBE+NSsl RdzfliEg0TNShRMX63DX+MmR9tbzvZjrQ1IjSMi4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730134AbfKFIj3 (ORCPT ); Wed, 6 Nov 2019 03:39:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:48026 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730088AbfKFIj3 (ORCPT ); Wed, 6 Nov 2019 03:39:29 -0500 Received: from localhost.localdomain (unknown [223.226.46.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9FEB12084D; Wed, 6 Nov 2019 08:39:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573029568; bh=7MFR2ZIi37ajuns9jLuWI/+9zvp+HfFtIxkIU4zEI60=; h=From:To:Cc:Subject:Date:From; b=bcAhhbMaoVAmAYFuJ10uG+owvwd2gbXCPmhqlNqTc0Fmn69XwzgZz9g/qXQRkpz7s M9Iy9XgDlKDC/dGfdJkcQanFi8e3Dsk2PtXppoaojL9nyN7a4b7mQFSnnIKaiwo3mQ stKr8yR7/lnsVKyuZZAIaYXEC5Dfe02Fx2sDwoCo= From: Vinod Koul To: Mathias Nyman , Greg Kroah-Hartman Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Yoshihiro Shimoda , Christian Lamparter , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 0/4] usb: xhci: Add support for Renesas USB controllers Date: Wed, 6 Nov 2019 14:08:39 +0530 Message-Id: <20191106083843.1718437-1-vkoul@kernel.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This series add support for Renesas USB controllers uPD720201 and uPD720202. These require firmware to be loaded and in case devices have ROM those can also be programmed if empty. If ROM is programmed, it runs from ROM as well. This includes two patches from Christian which supported these controllers w/o ROM and later my patches for ROM support and multiple firmware versions. Changes in v5: Added a debugfs rom erase patch, helps in debugging Squashed patch 1 & 2 as requested by Mathias Changes in v4: Rollback the delay values as we got device failures Changes in v3: Dropped patch 2 as discussed with Christian Removed aligned 8 bytes check Change order for firware search from highest version to lowest Added entry for new firmware for device 0x14 as well Add tested by Christian Changes in v2: used macros for timeout count and delay removed renesas_fw_alive_check cleaned renesas_fw_callback removed recurion for renesas_fw_download added MODULE_FIRMWARE added comment for multiple fw order Christian Lamparter (1): usb: xhci: add firmware loader for uPD720201 and uPD720202 w/o ROM Vinod Koul (3): usb: xhci: Add ROM loader for uPD720201 usb: xhci: allow multiple firmware versions usb: xhci: provide a debugfs hook for erasing rom drivers/usb/host/xhci-pci.c | 911 ++++++++++++++++++++++++++++++++++++ 1 file changed, 911 insertions(+)