From: Chen-Yu Tsai <wens@csie.org> To: Maxime Ripard <maxime.ripard@bootlin.com>, Linus Walleij <linus.walleij@linaro.org> Cc: Chen-Yu Tsai <wens@csie.org>, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH 4/9] ARM: dts: sun9i: cubieboard4: Add GPIO pin-bank regulator supplies Date: Wed, 6 Feb 2019 11:32:34 +0800 [thread overview] Message-ID: <20190206033239.3619-5-wens@csie.org> (raw) In-Reply-To: <20190206033239.3619-1-wens@csie.org> The Cubieboard 4 has the PMIC providing voltage to all the pin-bank supply rails from its various regulator outputs. All pin-banks that have supply rails are accounted for. PN pin-bank does not have a supply rail. Also remove any "regulator-always-on" properties from regulators that were only marked to provide pin-bank power. Signed-off-by: Chen-Yu Tsai <wens@csie.org> --- arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 23 ++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts b/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts index 85da85faf869..0daab9b374e6 100644 --- a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts +++ b/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts @@ -183,10 +183,26 @@ clocks = <&ac100_rtc 0>; }; +&pio { + vcc-pa-supply = <®_ldo_io1>; + vcc-pb-supply = <®_aldo2>; + vcc-pc-supply = <®_dcdc1>; + vcc-pd-supply = <®_dc1sw>; + vcc-pe-supply = <®_eldo2>; + vcc-pf-supply = <®_dcdc1>; + vcc-pg-supply = <®_ldo_io0>; + vcc-ph-supply = <®_dcdc1>; +}; + &r_ir { status = "okay"; }; +&r_pio { + vcc-pl-supply = <®_dldo2>; + vcc-pm-supply = <®_eldo3>; +}; + &r_rsb { status = "okay"; @@ -217,6 +233,10 @@ /* unused */ }; + reg_dc1sw: dc1sw { + regulator-name = "vcc-pd"; + }; + reg_dc5ldo: dc5ldo { regulator-always-on; regulator-min-microvolt = <800000>; @@ -271,7 +291,6 @@ }; reg_dldo2: dldo2 { - regulator-always-on; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; regulator-name = "vcc-pl"; @@ -290,14 +309,12 @@ }; reg_eldo3: eldo3 { - regulator-always-on; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; regulator-name = "vcc-pm-codec-io1"; }; reg_ldo_io0: ldo_io0 { - regulator-always-on; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; regulator-name = "vcc-pg"; -- 2.20.1
WARNING: multiple messages have this Message-ID (diff)
From: Chen-Yu Tsai <wens@csie.org> To: Maxime Ripard <maxime.ripard@bootlin.com>, Linus Walleij <linus.walleij@linaro.org> Cc: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Chen-Yu Tsai <wens@csie.org>, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/9] ARM: dts: sun9i: cubieboard4: Add GPIO pin-bank regulator supplies Date: Wed, 6 Feb 2019 11:32:34 +0800 [thread overview] Message-ID: <20190206033239.3619-5-wens@csie.org> (raw) In-Reply-To: <20190206033239.3619-1-wens@csie.org> The Cubieboard 4 has the PMIC providing voltage to all the pin-bank supply rails from its various regulator outputs. All pin-banks that have supply rails are accounted for. PN pin-bank does not have a supply rail. Also remove any "regulator-always-on" properties from regulators that were only marked to provide pin-bank power. Signed-off-by: Chen-Yu Tsai <wens@csie.org> --- arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 23 ++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts b/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts index 85da85faf869..0daab9b374e6 100644 --- a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts +++ b/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts @@ -183,10 +183,26 @@ clocks = <&ac100_rtc 0>; }; +&pio { + vcc-pa-supply = <®_ldo_io1>; + vcc-pb-supply = <®_aldo2>; + vcc-pc-supply = <®_dcdc1>; + vcc-pd-supply = <®_dc1sw>; + vcc-pe-supply = <®_eldo2>; + vcc-pf-supply = <®_dcdc1>; + vcc-pg-supply = <®_ldo_io0>; + vcc-ph-supply = <®_dcdc1>; +}; + &r_ir { status = "okay"; }; +&r_pio { + vcc-pl-supply = <®_dldo2>; + vcc-pm-supply = <®_eldo3>; +}; + &r_rsb { status = "okay"; @@ -217,6 +233,10 @@ /* unused */ }; + reg_dc1sw: dc1sw { + regulator-name = "vcc-pd"; + }; + reg_dc5ldo: dc5ldo { regulator-always-on; regulator-min-microvolt = <800000>; @@ -271,7 +291,6 @@ }; reg_dldo2: dldo2 { - regulator-always-on; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; regulator-name = "vcc-pl"; @@ -290,14 +309,12 @@ }; reg_eldo3: eldo3 { - regulator-always-on; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; regulator-name = "vcc-pm-codec-io1"; }; reg_ldo_io0: ldo_io0 { - regulator-always-on; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; regulator-name = "vcc-pg"; -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-02-06 3:32 UTC|newest] Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-02-06 3:32 [PATCH 0/9] ARM: sun9i: a80: Enable GMAC Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai [this message] 2019-02-06 3:32 ` [PATCH 4/9] ARM: dts: sun9i: cubieboard4: Add GPIO pin-bank regulator supplies Chen-Yu Tsai [not found] ` <20190206033239.3619-1-wens-jdAy2FN1RRM@public.gmane.org> 2019-02-06 3:32 ` [PATCH 1/9] pinctrl: sunxi: Support I/O bias voltage setting on A80 Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai [not found] ` <20190206033239.3619-2-wens-jdAy2FN1RRM@public.gmane.org> 2019-02-06 8:14 ` Linus Walleij 2019-02-06 8:14 ` Linus Walleij 2019-02-06 8:14 ` Linus Walleij 2019-02-06 10:22 ` [linux-sunxi] " Chen-Yu Tsai 2019-02-06 10:22 ` Chen-Yu Tsai 2019-02-06 10:22 ` Chen-Yu Tsai 2019-02-06 12:17 ` Maxime Ripard 2019-02-06 12:17 ` Maxime Ripard 2019-02-06 12:17 ` Maxime Ripard 2019-02-11 8:20 ` Linus Walleij 2019-02-11 8:20 ` Linus Walleij 2019-02-11 8:20 ` Linus Walleij 2019-02-13 11:31 ` Chen-Yu Tsai 2019-02-13 11:31 ` Chen-Yu Tsai 2019-02-13 11:31 ` Chen-Yu Tsai 2019-02-06 3:32 ` [PATCH 2/9] ARM: dts: sun9i: a80-optimus: Add node for AXP809's unused dc1sw regulator Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` [PATCH 3/9] ARM: dts: sun9i: a80-optimus: Add GPIO pin-bank regulator supplies Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` [PATCH 5/9] ARM: dts: sun9i: Add GMAC clock node Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` [PATCH 6/9] ARM: dts: sun9i: Add A80 GMAC gigabit ethernet controller node Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` [PATCH 7/9] ARM: dts: sun9i: Add A80 GMAC RGMII pinmux setting Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` [PATCH 8/9] ARM: dts: sun9i: a80-optimus: Enable GMAC Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` [PATCH 9/9] ARM: dts: sun9i: cubieboard4: " Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 3:32 ` Chen-Yu Tsai 2019-02-06 12:16 ` [PATCH 0/9] ARM: sun9i: a80: " Maxime Ripard 2019-02-06 12:16 ` Maxime Ripard 2019-02-06 12:16 ` Maxime Ripard
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190206033239.3619-5-wens@csie.org \ --to=wens@csie.org \ --cc=devicetree@vger.kernel.org \ --cc=linus.walleij@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-gpio@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-sunxi@googlegroups.com \ --cc=maxime.ripard@bootlin.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.