All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2] arm64: dts: allwinner: teres-i: Add GPIO port regulators
@ 2022-04-30 19:10 Harald Geyer
  2022-05-03  2:01 ` Samuel Holland
  0 siblings, 1 reply; 3+ messages in thread
From: Harald Geyer @ 2022-04-30 19:10 UTC (permalink / raw)
  To: Chen-Yu Tsai, Jernej Skrabec, Samuel Holland
  Cc: linux-sunxi, devicetree, Torsten Duwe, Harald Geyer

Allwinner A64 SoC has separate supplies for PC, PD, PE, PG and PL.

Signed-off-by: Harald Geyer <harald@ccbib.org>
---
Changes since v1:
 * Add supplies for PD and PE even though they are matched from
   'regulator-name' properties, as this is a Linuxism.
 * Add generic IO voltage as supply for PF as this is an implicit
   (chip internal) dependency.

 arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
index aff0660b899c..1128030e4c25 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
@@ -197,6 +197,14 @@ &ohci1 {
 	status = "okay";
 };
 
+&pio {
+	vcc-pc-supply = <&reg_dcdc1>;
+	vcc-pd-supply = <&reg_dldo2>;
+	vcc-pe-supply = <&reg_aldo1>;
+	vcc-pf-supply = <&reg_dcdc1>;  /* No dedicated supply-pin for this */
+	vcc-pg-supply = <&reg_aldo2>;
+};
+
 &pwm {
 	status = "okay";
 };
-- 
2.35.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCHv2] arm64: dts: allwinner: teres-i: Add GPIO port regulators
  2022-04-30 19:10 [PATCHv2] arm64: dts: allwinner: teres-i: Add GPIO port regulators Harald Geyer
@ 2022-05-03  2:01 ` Samuel Holland
  2022-05-03 17:04   ` Jernej Škrabec
  0 siblings, 1 reply; 3+ messages in thread
From: Samuel Holland @ 2022-05-03  2:01 UTC (permalink / raw)
  To: Harald Geyer, Chen-Yu Tsai, Jernej Skrabec
  Cc: linux-sunxi, devicetree, Torsten Duwe

On 4/30/22 2:10 PM, Harald Geyer wrote:
> Allwinner A64 SoC has separate supplies for PC, PD, PE, PG and PL.
> 
> Signed-off-by: Harald Geyer <harald@ccbib.org>

Reviewed-by: Samuel Holland <samuel@sholland.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Re: [PATCHv2] arm64: dts: allwinner: teres-i: Add GPIO port regulators
  2022-05-03  2:01 ` Samuel Holland
@ 2022-05-03 17:04   ` Jernej Škrabec
  0 siblings, 0 replies; 3+ messages in thread
From: Jernej Škrabec @ 2022-05-03 17:04 UTC (permalink / raw)
  To: Harald Geyer, Chen-Yu Tsai, Samuel Holland
  Cc: linux-sunxi, devicetree, Torsten Duwe

Dne torek, 03. maj 2022 ob 04:01:20 CEST je Samuel Holland napisal(a):
> On 4/30/22 2:10 PM, Harald Geyer wrote:
> > Allwinner A64 SoC has separate supplies for PC, PD, PE, PG and PL.
> > 
> > Signed-off-by: Harald Geyer <harald@ccbib.org>
> 
> Reviewed-by: Samuel Holland <samuel@sholland.org>
> 

Applied to sunxi/dt-for-5.19, thanks!

Best regards,
Jernej



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-03 17:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-30 19:10 [PATCHv2] arm64: dts: allwinner: teres-i: Add GPIO port regulators Harald Geyer
2022-05-03  2:01 ` Samuel Holland
2022-05-03 17:04   ` Jernej Škrabec

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.