Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3874016iog; Tue, 21 Jun 2022 07:40:00 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s22thEe1YMNhZLTD7g/70jNN4CmVpKq1X5LrX9+ckf3lzqDsIq3yt9vVqX35XbIAMxjmmG X-Received: by 2002:a17:906:194b:b0:710:967d:ba18 with SMTP id b11-20020a170906194b00b00710967dba18mr25624313eje.705.1655822399902; Tue, 21 Jun 2022 07:39:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655822399; cv=none; d=google.com; s=arc-20160816; b=MJCEX82e/P4pBWSN+aPGiOjUcwmzwWTMCT3avnryFspGUu+8ZSmD38ZMvjjSvAAuqh 5+7X9vrVnAMkCxlX5ni83EBKr6GJMtzflb2XWET66ctATaAcHPmR5vjat0cQbcQRg3ee G8xvjGGQQd2vXSAfm6DaHmuSBrTK7uqpfRZS0rJPDAHfquV27TNpBvgIsIc3JJZKRM4J bMglZO1DKzWYTmMW7ix1iINpvrRy0o/z9fWV9EWoHvBwWLKGHSDoVagbTtjUWQbEtl1r VgSvAzW3dMwkzGTjm0Zi/S6RTkoH6uqZSzBA3qsskvpBxvDzMwyVA09jxAiq7o6G+jvf Wi7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Tlpb0KrchE9SLUY3t3R/s2c2GN+YFVdcIOy6VmEil4g=; b=i4RQXCcGgvVCQuKUHoXn7q/RBWL2aYnLxHMsglB6m2garaPks/6ax22FxibEQ//I2/ 9BI3WNdXE5DhMrkCjnVcAFL1PGvbZrVKdMmwRU5+R3UdEc6N7kbAFih45KD6zFivwdvI UiPAkfOof90nnf1I4WKe6IHvCzmtLPOmut3mlERuYoqHKrp6NSrQFaUY2pBaYuROkMIt uOsE97QAiWIzIV5F9GBln9JTqUu+Bke+D1B65QLoDm9PBhHDAQRcYgZOWPZii6pCbZXb scL+PCRPKFCJTaG5TfppwEHCZSZbkoCUGf3ioKjjD6uJBueTGgB0oNdcTvQ2f6qxVsD1 z6vQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i7-20020aa7dd07000000b0043576ce6ebbsi8347828edv.97.2022.06.21.07.39.33; Tue, 21 Jun 2022 07:39:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349807AbiFUOT2 (ORCPT + 99 others); Tue, 21 Jun 2022 10:19:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349027AbiFUOT1 (ORCPT ); Tue, 21 Jun 2022 10:19:27 -0400 Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 4525B13EAA for ; Tue, 21 Jun 2022 07:19:26 -0700 (PDT) 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220621130506.85424-2-fabrice.gasnier@foss.st.com> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 >