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: 178627 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp297487ilf; Wed, 6 Nov 2019 00:39:30 -0800 (PST) X-Google-Smtp-Source: APXvYqy6wYwTtp50UAXCch8nDni3GrzpVVzX/IFVOrqcgcfI1b3twWTwHyZpHb7/immEUlxsgXfU X-Received: by 2002:a17:906:7344:: with SMTP id h4mr2538578ejl.30.1573029570719; Wed, 06 Nov 2019 00:39:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573029570; cv=none; d=google.com; s=arc-20160816; b=tidNrRhjtICg+sdUQwZ7FHDT6LEE8CahkHmEZZ/b1nC7VJVvazt4J8iOJYxPwCA1Ta diZmYodlhJLxqi/+mkR+68FOPqbuIzKALs5oGhJIF0H8X7LwQSMh3aETA5vVGx9VMiPP c1yok/oTari3ZjjtLFgP3gNSY9FrUqvidqVmIeXP7GtDA8tMtJofHWCox+uA3t0NTOmE mItgWZxYPdmZAAXVf/pi2jK2f+KiB5m3F7FMN4aXt2Shato7ShOx5mV/nl+d9Ex5SaVO 1htFWFWMlNTV9tw07V+L4nYVr+m1VC7oZYjPqNnBF79aqj1eDpHfkiXqbZUJYA84tzDD bUnA== 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=g0zPFMSB9G2criYIjydHmSBAAsoxPE94p3hwpJlJzmk=; b=AWLLGYQ3ecSm8lq1d75ZH8QfKrKkDDfxW3dQZsevsbjsCm1qv0l8ptKklJVIJnEz6q fAh8OyVzkMIqrbq9sJMgMeR+Kr+C496yDOfxgfsMGMKHBs/CtBl7qMfhEi+qzaCh/kZP 4JTXlfGQjwqWY55pK07nRz7nsQbGDablUGXR8oFHTnYpBP4nNuzoZxKukOaTtlnPb4wC bLtcU35GjXIMhjnnjEVfGcLIpNrFTcmAjqwgCHQHlrXKcaKcs+Qs5PDKqjcifvWKiWVW kosEtVxDaME18/hkIM39mp2Mpotank+QBGX3jFeQAUdt5dzkLApzI5ix/1SqjvHjfI9Z tSRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bcAhhbMa; spf=pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-usb-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 b19si11807532edb.40.2019.11.06.00.39.30; Wed, 06 Nov 2019 00:39:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-usb-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=bcAhhbMa; spf=pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-usb-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 S1730139AbfKFIj3 (ORCPT + 5 others); 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-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@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(+) -- 2.23.0