From patchwork Wed Jun 26 07:55:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 167775 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp618017ilk; Wed, 26 Jun 2019 00:58:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqws1EOGELL8lEaUceGQkScRJQ7bd4jiWqqAq9rWjGqxJQx2nNOBXLKergjOvrdmpUGe1yBq X-Received: by 2002:a63:6cc3:: with SMTP id h186mr1618227pgc.292.1561535912381; Wed, 26 Jun 2019 00:58:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561535912; cv=none; d=google.com; s=arc-20160816; b=pkfyyX67qlu0q5Y5jjLEHJCcjCV3ik8mPKfS5z5fBpgUSSYk8Cio3VBduDX/SBTHAE taxBcFwkwoILflJpJHZ/J09qYfRc2yKtcTX/RYkDL+qB7+qd71noPd1uVG3Hg5PpwW27 KEpmhSIBrj8ceMAOBTFF+NTFzeOz4pTGKc7wnSRGHuiCj0IFcIO8Vd+SMJYsIGG7Dow6 0JA/NTTkAwxc2JuJdXRQqE2z9/6p/qOMEO0v3dxTLVIsTy1tiNGO0FNOJVGgiSXX0nZ3 fjNxaq+tiIlLf7VxfyhUfEU5JG4YKkhYvc5XjBbH0+vE/ZaiillziyK2dwOnYfSBKTjk thZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=pAPHSY+zs8BpwOqwofXtGU0rb29wX0mc7y+kschrzV4=; b=Tld0tvtuN4BYV9TEXl1Drp50Wj0L1tRGqFtSzsCpbDOlhBUHRGoy1tJrd7unQFQi+H WD07tHxBJQtvC+qpUL47mNEDsvzUrpE/bCDdl82DJUdKMu7IgbQ9Rm825Fhw2INZ+Llg G2TrM0Pcik+8r1HsLF8WPNqCnqQvva8k9nKrDZHXPeP2R+dsbzOGovqUA4kjFihZHDP7 yXnXLPIB84X0alhBQl1djLhcJMF8SWUW8ND96QrH80ukTZmDrfUcnZvKTlHP13lTYh67 c24n0MWP0XbcN7sfR5tSGTQFddMlC9C1q/YKfbJPMoIZFEWCrn/6iTnqYXyBWCuRSixz uWFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tkDQrekH; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f127si8782419pgc.370.2019.06.26.00.58.31; Wed, 26 Jun 2019 00:58:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tkDQrekH; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726667AbfFZH6b (ORCPT + 15 others); Wed, 26 Jun 2019 03:58:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:48580 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726042AbfFZH6b (ORCPT ); Wed, 26 Jun 2019 03:58:31 -0400 Received: from localhost.localdomain (unknown [106.201.40.23]) (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 04D8F20B7C; Wed, 26 Jun 2019 07:58:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561535910; bh=Zk+32MYTguThwioop8XUIST/Kb6QRvNI4OyCRXpWybg=; h=From:To:Cc:Subject:Date:From; b=tkDQrekH/magwS/N1sfFTI3ovJ/JolYwzPy5d3dv1v26Mgc3y1xVbpi8Re4LjN+6x O0hGZC7IocZm35MyIbH1qaf7AGG/W4S8v6I1AUHyaSWnLZqGt5TsUS4ZysObKEqYG6 HcFNmhu8LyPh5dYRUwpUDG1uTi4qwMyO50Bohr1M= 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 v4 0/4] usb: xhci: Add support for Renesas USB controllers Date: Wed, 26 Jun 2019 13:25:05 +0530 Message-Id: <20190626075509.20445-1-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 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 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: Use register defined and field names usb: xhci: Add ROM loader for uPD720201 usb: xhci: allow multiple firmware versions drivers/usb/host/xhci-pci.c | 875 ++++++++++++++++++++++++++++++++++++ 1 file changed, 875 insertions(+) -- 2.20.1