From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 50F6FC43334 for ; Tue, 21 Jun 2022 14:20:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+2KRsXH/XefsIC3cgbigL98cncf/mpE79vNYOhnkt6c=; b=iropX5M2oqi/hl bD8Pv5Q8HVejDB4neGCVcBFNdFu26O+WGgFKkasbFLflVp5h0DA5D76DxCibbyNHnOQb7asxUu7zF iTwB32sBmCJurRS+86YCGW+uW5NobrErBEgdZMscrhlOGqF4TiRFBUm3FyyaFGNtZFv59peqmToVC q2vPMC7t8+aX1zzohLszMJpB/giZpg1QjD5aI9xxK7QKqp5u8KPOYHDXdp2KRMHS2FxqSXRiv/t5e jTFNIJ6phOWWY/FY7udBL/zmFX7rypQmlPmQCoNJ5RllszHMxHpGdS2oPoKkIjVOQqir1H16525Xn DENN6dmWQlw2ec4ZM17g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3ej6-005pnr-U6; Tue, 21 Jun 2022 14:19:32 +0000 Received: from netrider.rowland.org ([192.131.102.5]) by bombadil.infradead.org with smtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3ej3-005pmY-M5 for linux-arm-kernel@lists.infradead.org; Tue, 21 Jun 2022 14:19:31 +0000 Received: (qmail 876385 invoked by uid 1000); 21 Jun 2022 10:19:25 -0400 Date: Tue, 21 Jun 2022 10:19:25 -0400 From: Alan Stern To: Fabrice Gasnier Cc: hminas@synopsys.com, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, amelie.delaunay@foss.st.com Subject: Re: [PATCH 1/3] usb: host: ohci-platform: add TPL support Message-ID: References: <20220621130506.85424-1-fabrice.gasnier@foss.st.com> <20220621130506.85424-2-fabrice.gasnier@foss.st.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220621130506.85424-2-fabrice.gasnier@foss.st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220621_071929_916321_2D738797 X-CRM114-Status: GOOD ( 15.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jun 21, 2022 at 03:05:04PM +0200, Fabrice Gasnier wrote: > From: Amelie Delaunay > > The TPL support is used to identify targeted devices during EH compliance > test. The user can add "tpl-support" in the device tree to enable it. > > Signed-off-by: Amelie Delaunay > Signed-off-by: Fabrice Gasnier > --- For this patch and the 2/3 ehci-platform patch: Acked-by: Alan Stern > drivers/usb/host/ohci-platform.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c > index 47dfbfe9e5190..0adae62651276 100644 > --- a/drivers/usb/host/ohci-platform.c > +++ b/drivers/usb/host/ohci-platform.c > @@ -28,6 +28,7 @@ > #include > #include > #include > +#include > > #include "ohci.h" > > @@ -210,6 +211,8 @@ static int ohci_platform_probe(struct platform_device *dev) > hcd->rsrc_start = res_mem->start; > hcd->rsrc_len = resource_size(res_mem); > > + hcd->tpl_support = of_usb_host_tpl_support(dev->dev.of_node); > + > err = usb_add_hcd(hcd, irq, IRQF_SHARED); > if (err) > goto err_power; > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel