Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp569059pxb; Tue, 15 Feb 2022 22:22:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJyW7mRzHYx6LN1IxQzkW4h0Ux6uXMCiFheaRYyP1rscZYjLC/h/T9AZQK+aJtHO9v/kuVTf X-Received: by 2002:a17:902:7b85:b0:14e:fbca:9af9 with SMTP id w5-20020a1709027b8500b0014efbca9af9mr1419231pll.29.1644992576113; Tue, 15 Feb 2022 22:22:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644992576; cv=none; d=google.com; s=arc-20160816; b=bODXoec38+6KyVuOASdeP12n8etovVDva4sqAY/GKc/WqaPgriulez0qoNLNtVuqAo UQaXIRgnSoGvz8Y+o4XbpEGV7BEDr3GdVaQs+Zy7k5a7qvcrvq7tKFzMXSudkLtLiAAl Y7+I0hr5r7P+a3sW60DgotILEa41RhiS3NgxE8LULlYsD4rHAMmONkFqCguO0Ik0uJTi 1bxTExuLl8wJmot+N3+A02y7gI22AMPl1YOk/nIxUnQw57i0s+O2tuixZiG3FOwciEdj ZpGQydUMqsnTwHz6uWW/cilnMb2r6M+rkxfB/VeT0D9VLBBBeWpXg8SZn3cV1oK6tKHh mNgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=SgoGcB7kBhuPHM/2IYs2lIsW0ZK+KaR9Y8PDqBP7eCM=; b=vdHomu8qRVSTiNMnQO/q2+Ro0+sPaD7dH9kSAWRJp/nehxPblRJEnEXlGVPR9R34xV 5lvjeZ8PnUWIdaPzrCEvwMjJtgEjwr/vbFvpvyNICRPQjiutrzyzaFMYgcHPEdnUnJVN mKLFXi9E9IRsbZpvUg9bO2K+0mJE9BQDBzuZXjlxAP3RZgQ5SDEHccqt9LCyE+b7MEcT Nliesi8r65iQFXZWmimBJRE7K7QsZHH2q02wtPE424dbKOeKv91zUWCiGsdWvDxtzDSN 9wvDqGEGZVVj12ChgCbUotUZEV2EAHR2EGMmKZqioacJ1bOOfMYzpI8GAxWnyIfInbK7 0toQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=jo2ju9yp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id v11si16837946plo.217.2022.02.15.22.22.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 22:22:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=jo2ju9yp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8D1F41A2E4E; Tue, 15 Feb 2022 22:20:52 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238250AbiBOQxw (ORCPT + 99 others); Tue, 15 Feb 2022 11:53:52 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:60784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242009AbiBOQxb (ORCPT ); Tue, 15 Feb 2022 11:53:31 -0500 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33724C55A0; Tue, 15 Feb 2022 08:52:53 -0800 (PST) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21FBVMc9004161; Tue, 15 Feb 2022 17:52:42 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=SgoGcB7kBhuPHM/2IYs2lIsW0ZK+KaR9Y8PDqBP7eCM=; b=jo2ju9ypsR5nGLnPfyM02uLluZavawm8LoSBhKpZtIiAMu0dykNvJG1JEgc6zMMBB9vu D4NTkLUbPkSFW+AC/r/LLpjoOoeNdCHJqQ0DXFqbODa4JACfbIMjjHZaLrs9nSPzzznI Y/HH8UWRuhdMQTXUjcI5CxTXj4nrj47m0Pp/P6aqbrNrXStcpziIiBoqU6q7ZV7PSn86 TEKEQ0CAObSvHaVlm1rKOEmiYar6bE/IkSFQEyV22S2bAiskKU3Buqn2z/AmeY2JNTOo xq/UK9tralVXrdU4Thn5E82wXZuuGb9rK+NwOR3/VDVB+lqaR7Q9BP21GMyQy5emJGaK 8g== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3e87me3e0j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 15 Feb 2022 17:52:42 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4CFF910002A; Tue, 15 Feb 2022 17:52:41 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id EE8EA22FA2C; Tue, 15 Feb 2022 17:52:40 +0100 (CET) Received: from [10.201.21.201] (10.75.127.48) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Tue, 15 Feb 2022 17:52:40 +0100 Message-ID: <55d8350a-8ddd-20c1-1969-917f4bd1de3b@foss.st.com> Date: Tue, 15 Feb 2022 17:52:38 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v2 7/7] ARM: dts: sti: move usb picophy nodes out of soc in stih418.dtsi Content-Language: en-US To: Alain Volmat , Rob Herring CC: Arnd Bergmann , , , References: <20220211181614.683497-1-avolmat@me.com> <20220211181614.683497-8-avolmat@me.com> From: Patrice CHOTARD In-Reply-To: <20220211181614.683497-8-avolmat@me.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG2NODE1.st.com (10.75.127.4) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-15_04,2022-02-14_04,2021-12-02_01 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, 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 Hi Alain On 2/11/22 19:16, Alain Volmat wrote: > Move the usb2_picophy1 and usb2_picophy2 nodes out of the soc section. > Since they are controlled via syscfg, there is no reg property needed, > which is required when having the node within the soc section. > > Signed-off-by: Alain Volmat > --- > arch/arm/boot/dts/stih418.dtsi | 38 ++++++++++++++++------------------ > 1 file changed, 18 insertions(+), 20 deletions(-) > > diff --git a/arch/arm/boot/dts/stih418.dtsi b/arch/arm/boot/dts/stih418.dtsi > index 97eda4392fbe..b35b9b7a7ccc 100644 > --- a/arch/arm/boot/dts/stih418.dtsi > +++ b/arch/arm/boot/dts/stih418.dtsi > @@ -26,31 +26,29 @@ cpu@3 { > }; > }; > > + usb2_picophy1: phy2 { > + compatible = "st,stih407-usb2-phy"; > + #phy-cells = <0>; > + st,syscfg = <&syscfg_core 0xf8 0xf4>; > + resets = <&softreset STIH407_PICOPHY_SOFTRESET>, > + <&picophyreset STIH407_PICOPHY0_RESET>; > + reset-names = "global", "port"; > + }; > + > + usb2_picophy2: phy3 { > + compatible = "st,stih407-usb2-phy"; > + #phy-cells = <0>; > + st,syscfg = <&syscfg_core 0xfc 0xf4>; > + resets = <&softreset STIH407_PICOPHY_SOFTRESET>, > + <&picophyreset STIH407_PICOPHY1_RESET>; > + reset-names = "global", "port"; > + }; > + > soc { > rng11: rng@8a8a000 { > status = "disabled"; > }; > > - usb2_picophy1: phy2@0 { > - compatible = "st,stih407-usb2-phy"; > - reg = <0 0>; > - #phy-cells = <0>; > - st,syscfg = <&syscfg_core 0xf8 0xf4>; > - resets = <&softreset STIH407_PICOPHY_SOFTRESET>, > - <&picophyreset STIH407_PICOPHY0_RESET>; > - reset-names = "global", "port"; > - }; > - > - usb2_picophy2: phy3@0 { > - compatible = "st,stih407-usb2-phy"; > - reg = <0 0>; > - #phy-cells = <0>; > - st,syscfg = <&syscfg_core 0xfc 0xf4>; > - resets = <&softreset STIH407_PICOPHY_SOFTRESET>, > - <&picophyreset STIH407_PICOPHY1_RESET>; > - reset-names = "global", "port"; > - }; > - > ohci0: usb@9a03c00 { > compatible = "st,st-ohci-300x"; > reg = <0x9a03c00 0x100>; Reviewed-by: Patrice Chotard Thanks Patrice