Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2619990pxb; Thu, 10 Feb 2022 01:30:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJz66avvOd36zvpcBuGjSMu+2ixjHi7KxlyadKK8XI/kq9lsQiCmE+0opAly9McMyle1wN6z X-Received: by 2002:a63:2bcc:: with SMTP id r195mr5351526pgr.561.1644485447633; Thu, 10 Feb 2022 01:30:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644485447; cv=none; d=google.com; s=arc-20160816; b=t2bzyYqjMHtg7omppFicL3xi3ui+quzLZYqdimfX2msQ8G8EH2r1kFPzrpC7GwGOuZ GTiv6VNmJA2DEiJCwtKd1XDbNELESeJBI9CLmCv22wTFB6rQ9+pUmP553H8lLd+MrXrj L9LWVhGrL1EHvefOqYz82C9nCX2WJapk++2EyuNM6nKudqiIhlmRIkj2R4m3IcEWH0Lp z6EtFE7+M3iFL/4KkeA26gQjHXptFC6u+USikRXfbAMsvRZfR1dfiVSwEsjAiPdLOfjo f+qF1t0tSjN/WxsPpfOIPWDw+CHtuGLbfix/hDchJuS9NPdHyAkCUDyvVAKrGViEtf4e TtiA== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=wADieJT58ewBYAQZBIiHBfEUiNp3/QO1zjzQGd3uN2g=; b=RGJk9O200jD8qvjLgIVxajaxmE7bzFeViZiPXumdZzj9ohGrYYuyZ4zcutaSzQrpqY 4As4SJDJErAgG3rzuGHIWzLX4FPj3K60UqvBXq1gN4MVAk1CdQ6fvXg7yDs1Uwrvjnct rLUI2beXvSUOAdRVl0xNOGkOT/vIKK1j6y2VYuxVWVyxZC86RAFqx/eVPuS39MjIzvsM wZ68p3vEt8mTZ1EEEBGZ9CQMOgdV/YV9EMdIleDcoxSst6tfoOixKiTHNbPdiNbyvn9+ 9c85FvB3zPlbiSgGJjxgbw7uhbT8ok7Iqu2wIk0CUrsa5eTkIxOXYP7q0Tc045BBYPc7 PBTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=lkRa5pGT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y22si1419027pll.259.2022.02.10.01.30.34; Thu, 10 Feb 2022 01:30:47 -0800 (PST) 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; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=lkRa5pGT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237700AbiBJIiE (ORCPT + 99 others); Thu, 10 Feb 2022 03:38:04 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:39702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237801AbiBJIh7 (ORCPT ); Thu, 10 Feb 2022 03:37:59 -0500 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1896AF1C; Thu, 10 Feb 2022 00:38:00 -0800 (PST) Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21A78Ehb010092; Thu, 10 Feb 2022 09:37:48 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=message-id : date : mime-version : subject : to : references : from : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=wADieJT58ewBYAQZBIiHBfEUiNp3/QO1zjzQGd3uN2g=; b=lkRa5pGT10+eFVKIrTXI8uM125KjC9VlL5Wq2OTcvHGTwWTJU1uU0IleFhdvZu+3wUZ9 FOQ5I4VRArcILPVlykECu8lbMjoTLarBgVLWAqWfjsyGHCw/27GglHKuIAh3tPNZ26Xx vnqm0DmEwSaVNe1Pjy/J0GdwBDLp3sFOK0JY30LwxVV4oHwfCBXA+QtMNCIZuJEMuWTH 3CueCIRtPPScu5op/QWbGhTOwhQv4agF8vuKsSESofgPxSQrQOPblH+MG6CeUhZrJX6M STlxSjwcd8w4jE7Nm9Yq75WyBT882AEeHdbhtMv4ziKlDCUptm2LS9p8PxfM+FZ8PW7O Yg== 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 3e4x268h61-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Feb 2022 09:37:48 +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 895A910002A; Thu, 10 Feb 2022 09:37:47 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 81C712138DF; Thu, 10 Feb 2022 09:37:47 +0100 (CET) Received: from [10.201.21.201] (10.75.127.47) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Thu, 10 Feb 2022 09:37:45 +0100 Message-ID: <67b2631d-cd30-ab7a-7066-33f04604316d@foss.st.com> Date: Thu, 10 Feb 2022 09:37:45 +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 10/12] ARM: dts: sti: move usb picophy nodes out of soc in stih418.dtsi Content-Language: en-US To: Alain Volmat , , , , , , References: <20211202075105.195664-1-avolmat@me.com> <20211202075105.195664-11-avolmat@me.com> From: Patrice CHOTARD In-Reply-To: <20211202075105.195664-11-avolmat@me.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) 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-10_03,2022-02-09_01,2021-12-02_01 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 12/2/21 08:51, 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