Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4866227iob; Mon, 9 May 2022 03:34:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEYZvwLUSr9BjNOx/NcKSXgQO2N86Adoet2tKqNl9+wUmunw+Bl+uCOuOtld3+VQbBpqT4 X-Received: by 2002:a17:90b:4f47:b0:1dc:c4c9:cdee with SMTP id pj7-20020a17090b4f4700b001dcc4c9cdeemr21582377pjb.0.1652092443984; Mon, 09 May 2022 03:34:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652092443; cv=none; d=google.com; s=arc-20160816; b=O2o0/J7C9pAocTsql3t8agCvmAEFA6mA8T6CUndARVaEGoRRNjUx/CfH4moM4i+1iQ axrqZYuVu/FT3lEGjzDhU8gFGCyBeE1APB4eNHpJhuK4iJCF0CTNYDjb/JIZhIN1z7ti Xq8mpZVPOhsso5zhfGoX5c3TRgld4Y+VHeC84SJdwn0ttZPhoR0CFMOYb05yiJaoKv4d 8OPKuYWb8Bt0PJfqxpWBGJ5x8dHztmLD0IFbTmJYYoxC2i0RgQmaAJ09jc+Lf/Yd93cx toS3NYQU2Ovh0q5MDUVlltal77acpa+q6VqtDYkEqU5tnO3o43zgQIktxGJim+wLKQJq xz8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uxjt2wTyTk7fEyfPktsHOIoGVxBZKrQOY0kyPg5icoY=; b=aMDpVqVdqVEMqE02K5STtpbTSUyIBTOHOlOWxQSAga5qAYEyRqH1AOB1yyVZtyFwEv 9QyHwmMLi97amLgcoiHWnf78tYE6648iIfWuL2Fp3j/PaulHNDq3XTQ2B/8PIjnLKD75 8GCczdgKfJUWfu36kisG4030gCOqT9tJJhvXjYI2xjXWDfzWW9+7ZhwZ54nhOgEfBxj1 uMweqjHwpaR+aHi1l9LRKmbuSnIdI2nwpkKNcBdIwLZPJjshf9d5zTvh5yqyAswkfD8W nhbM/PPnf9cl9u/raWvrr5EeI1/ClDd+BaUUx6HX+kdUeq8EoZNrSvI2ImZnieFSYbDP 0ZxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=AL9GeKmv; 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 Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id p11-20020a17090a74cb00b001dbd3fc29c7si16826573pjl.70.2022.05.09.03.34.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 03:34:03 -0700 (PDT) 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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=AL9GeKmv; 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B454025E7A5; Mon, 9 May 2022 03:04:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236236AbiEIHzv (ORCPT + 99 others); Mon, 9 May 2022 03:55:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236548AbiEIHxD (ORCPT ); Mon, 9 May 2022 03:53:03 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8659C127183 for ; Mon, 9 May 2022 00:49:10 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id v64-20020a1cac43000000b0038cfd1b3a6dso10227357wme.5 for ; Mon, 09 May 2022 00:49:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uxjt2wTyTk7fEyfPktsHOIoGVxBZKrQOY0kyPg5icoY=; b=AL9GeKmvxYTPP1/F4xINTuPLMQDK3Cc2x2Gi/oKoi8VY5+aQwZBOPVxyAnDyDXfPGB namQPtvoZNhKW4V5gv9opgM9nQg8QQwJMPJ0vYZNK3Da7P6zfFDpq1RzaYjQHTBXzz2D H6Lqzzx/snqzPAtpVsfj724pqn643/4Aq3sTSltXuNd0z96MrbJLLNSssdBDmM7zygVm Zg8015mEJ0Nug/q3IDi7ai0AlzEvNJW9ZKjWy9nLz0rFjlWmTVZGx3YLWwTXa6P6+uph BgWY7S4QM9IzcepdNGcVfGmqOdrC2bHCHfK/wEWXVizY8pOT2m0ZZVAg8KTb6kV+VjMs 8t5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uxjt2wTyTk7fEyfPktsHOIoGVxBZKrQOY0kyPg5icoY=; b=lmeahSd2fV08BcOE1gGR8BCD5+aCao5SirKvMWUHdiUEXHlvK4B59B8SmPbP1jq7wE 5EYK0L9J2y+977mU7kx6VwIEhs3OIddw0Vh1oUek/GgGyyijl5C5NWBTDXA2zU4jnHf9 hvzUSjk0E65BOxu3K42VgA66VWMy7fXPyXtYQLb7dksI5rhEp81BqqQpw0/6KhkEd7re kCvyRDSkXOgBMe/+uKUd5hq6BgnyxT46ej9Mrs+9L0jEkg8K2yrRr01QpLxNil2qgQtD 7bhcm3Tuu4ybAYSaupRAR0YyPvgB+xmexcdg7h55bcDrM05pGGnYy3wQdLvD/F2LDT8T aL6w== X-Gm-Message-State: AOAM53344EUwZ2PnjWsp19gyODdvJUe6t0N5q8oPyCB/t4CHnffVOgVl y72F3zgyTxFL07/1RDcspEcaiQ== X-Received: by 2002:a05:600c:1d0b:b0:394:737f:e3d with SMTP id l11-20020a05600c1d0b00b00394737f0e3dmr16721006wms.5.1652082550028; Mon, 09 May 2022 00:49:10 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id bw22-20020a0560001f9600b0020c5253d8d8sm11784768wrb.36.2022.05.09.00.49.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 00:49:09 -0700 (PDT) From: Corentin Labbe To: alexandre.torgue@foss.st.com, andrew@lunn.ch, broonie@kernel.org, calvin.johnson@oss.nxp.com, davem@davemloft.net, edumazet@google.com, hkallweit1@gmail.com, jernej.skrabec@gmail.com, joabreu@synopsys.com, krzysztof.kozlowski+dt@linaro.org, kuba@kernel.org, lgirdwood@gmail.com, linux@armlinux.org.uk, pabeni@redhat.com, peppe.cavallaro@st.com, robh+dt@kernel.org, samuel@sholland.org, wens@csie.org Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, Corentin Labbe Subject: [PATCH 4/6] ARM: dts: sunxi: move phy regulator in PHY node Date: Mon, 9 May 2022 07:48:55 +0000 Message-Id: <20220509074857.195302-5-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220509074857.195302-1-clabbe@baylibre.com> References: <20220509074857.195302-1-clabbe@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 Now that PHY core can handle regulators, move regulator handle in PHY node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 2 +- arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts | 2 +- arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts | 2 +- arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts | 2 +- arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 2 +- arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts | 2 +- arch/arm/boot/dts/sun8i-h3-zeropi.dts | 2 +- arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts | 2 +- arch/arm/boot/dts/sun8i-r40-oka40i-c.dts | 2 +- arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts | 2 +- arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 2 +- arch/arm/boot/dts/sun9i-a80-optimus.dts | 2 +- arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts index 5a7e1bd5f825..b450be0a45ed 100644 --- a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts +++ b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts @@ -129,7 +129,6 @@ &ehci0 { &emac { pinctrl-names = "default"; pinctrl-0 = <&emac_rgmii_pins>; - phy-supply = <®_sw>; phy-handle = <&rgmii_phy>; phy-mode = "rgmii-id"; allwinner,rx-delay-ps = <700>; @@ -151,6 +150,7 @@ &mdio { rgmii_phy: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; + phy-supply = <®_sw>; }; }; diff --git a/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts b/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts index 870993393fc2..fe70b350cdbb 100644 --- a/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts +++ b/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts @@ -181,7 +181,6 @@ &ehci1 { &emac { pinctrl-names = "default"; pinctrl-0 = <&emac_rgmii_pins>; - phy-supply = <®_dldo4>; phy-handle = <&rgmii_phy>; phy-mode = "rgmii-id"; status = "okay"; @@ -201,6 +200,7 @@ &mdio { rgmii_phy: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; + phy-supply = <®_dldo4>; }; }; diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts index a2f2ef2b0092..c393612f44c6 100644 --- a/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts +++ b/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts @@ -103,7 +103,6 @@ &ehci2 { &emac { pinctrl-names = "default"; pinctrl-0 = <&emac_rgmii_pins>; - phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; phy-mode = "rgmii"; @@ -114,6 +113,7 @@ &external_mdio { ext_rgmii_phy: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <7>; + phy-supply = <®_gmac_3v3>; }; }; diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts index 26e2e6172e0d..70bde396856b 100644 --- a/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts +++ b/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts @@ -80,7 +80,6 @@ &ehci2 { &emac { pinctrl-names = "default"; pinctrl-0 = <&emac_rgmii_pins>; - phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; phy-mode = "rgmii-id"; status = "okay"; @@ -90,6 +89,7 @@ &external_mdio { ext_rgmii_phy: ethernet-phy@7 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <7>; + phy-supply = <®_gmac_3v3>; }; }; diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts index d05fa679dcd3..c6dcf1af3298 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts @@ -83,7 +83,6 @@ &ehci3 { &emac { pinctrl-names = "default"; pinctrl-0 = <&emac_rgmii_pins>; - phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; phy-mode = "rgmii-id"; @@ -94,6 +93,7 @@ &external_mdio { ext_rgmii_phy: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; + phy-supply = <®_gmac_3v3>; }; }; diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts index b6ca45d18e51..61eb8c003186 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts @@ -65,7 +65,6 @@ reg_gmac_3v3: gmac-3v3 { &emac { pinctrl-names = "default"; pinctrl-0 = <&emac_rgmii_pins>; - phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; phy-mode = "rgmii-id"; status = "okay"; @@ -75,5 +74,6 @@ &external_mdio { ext_rgmii_phy: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; + phy-supply = <®_gmac_3v3>; }; }; diff --git a/arch/arm/boot/dts/sun8i-h3-zeropi.dts b/arch/arm/boot/dts/sun8i-h3-zeropi.dts index 7d3e7323b661..54174ef18823 100644 --- a/arch/arm/boot/dts/sun8i-h3-zeropi.dts +++ b/arch/arm/boot/dts/sun8i-h3-zeropi.dts @@ -65,13 +65,13 @@ &external_mdio { ext_rgmii_phy: ethernet-phy@7 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <7>; + phy-supply = <®_gmac_3v3>; }; }; &emac { pinctrl-names = "default"; pinctrl-0 = <&emac_rgmii_pins>; - phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; phy-mode = "rgmii-id"; diff --git a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts index a6a1087a0c9b..b1f269bbd479 100644 --- a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts +++ b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts @@ -130,7 +130,6 @@ &gmac { pinctrl-0 = <&gmac_rgmii_pins>; phy-handle = <&phy1>; phy-mode = "rgmii-id"; - phy-supply = <®_dc1sw>; status = "okay"; }; @@ -138,6 +137,7 @@ &gmac_mdio { phy1: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; + phy-supply = <®_dc1sw>; }; }; diff --git a/arch/arm/boot/dts/sun8i-r40-oka40i-c.dts b/arch/arm/boot/dts/sun8i-r40-oka40i-c.dts index 0bd1336206b8..c43476b426df 100644 --- a/arch/arm/boot/dts/sun8i-r40-oka40i-c.dts +++ b/arch/arm/boot/dts/sun8i-r40-oka40i-c.dts @@ -93,7 +93,6 @@ &gmac { pinctrl-0 = <&gmac_rgmii_pins>; phy-handle = <&phy1>; phy-mode = "rgmii-id"; - phy-supply = <®_dcdc1>; status = "okay"; }; @@ -101,6 +100,7 @@ &gmac_mdio { phy1: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; + phy-supply = <®_dcdc1>; }; }; diff --git a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts index 47954551f573..050a649d7bda 100644 --- a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts +++ b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts @@ -121,7 +121,6 @@ &gmac { pinctrl-0 = <&gmac_rgmii_pins>; phy-handle = <&phy1>; phy-mode = "rgmii-id"; - phy-supply = <®_dc1sw>; status = "okay"; }; @@ -129,6 +128,7 @@ &gmac_mdio { phy1: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; + phy-supply = <®_dc1sw>; }; }; diff --git a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts b/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts index c8ca8cb7f5c9..ab9bf4bf7343 100644 --- a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts +++ b/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts @@ -130,7 +130,6 @@ &gmac { pinctrl-0 = <&gmac_rgmii_pins>; phy-handle = <&phy1>; phy-mode = "rgmii-id"; - phy-supply = <®_cldo1>; status = "okay"; }; @@ -142,6 +141,7 @@ &i2c3 { &mdio { phy1: ethernet-phy@1 { + phy-supply = <®_cldo1>; reg = <1>; }; }; diff --git a/arch/arm/boot/dts/sun9i-a80-optimus.dts b/arch/arm/boot/dts/sun9i-a80-optimus.dts index 5c3580d712e4..48219b8049b1 100644 --- a/arch/arm/boot/dts/sun9i-a80-optimus.dts +++ b/arch/arm/boot/dts/sun9i-a80-optimus.dts @@ -125,13 +125,13 @@ &gmac { pinctrl-0 = <&gmac_rgmii_pins>; phy-handle = <&phy1>; phy-mode = "rgmii-id"; - phy-supply = <®_cldo1>; status = "okay"; }; &mdio { phy1: ethernet-phy@1 { reg = <1>; + phy-supply = <®_cldo1>; }; }; diff --git a/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi b/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi index d03f5853ef7b..65f0a3c2af3f 100644 --- a/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi +++ b/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi @@ -125,7 +125,6 @@ &ehci2 { &emac { pinctrl-names = "default"; pinctrl-0 = <&emac_rgmii_pins>; - phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; phy-mode = "rgmii-id"; @@ -136,6 +135,7 @@ &external_mdio { ext_rgmii_phy: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; + phy-supply = <®_gmac_3v3>; }; }; -- 2.35.1