arm64: dts: sun50i-h5-orange-pi-pc2: Add CPUX voltage regulator
Subsystems (2)
PATCH v2 1/1 arm64: dts: sun50i-h5-orange-pi-pc2: Add CPUX voltage regulator
Orange Pi PC2 features sy8106a regulator just like Orange Pi PC.
--- .../dts/allwinner/sun50i-h5-orangepi-pc2.dts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts +20 -0
@@ -93,6 +93,10 @@ &codec { status = "okay"; }; +&cpu0 { + cpu-supply = <®_vdd_cpux>; +}; + &de { status = "okay"; };
@@ -168,6 +172,22 @@ &ohci3 { status = "okay"; }; +&r_i2c { + status = "okay"; + + reg_vdd_cpux: regulator@65 { + compatible = "silergy,sy8106a"; + reg = <0x65>; + regulator-name = "vdd-cpux"; + silergy,fixed-microvolt = <1100000>; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1400000>; + regulator-ramp-delay = <200>; + regulator-boot-on; + regulator-always-on; + }; +}; + &spi0 { status = "okay";
Signature · 1 line
2.25.1
Quoted 7 lines · Ondrej Jirman
Orange Pi PC2 features sy8106a regulator just like Orange Pi PC.
Signed-off-by Ondrej Jirman <[email protected]>Reviewed-by Samuel Holland <[email protected]>--- .../dts/allwinner/sun50i-h5-orangepi-pc2.dts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+)
Having a changelog would be great
Quoted 25 lines
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts +10
-0@@ -93,6 +93,10 @@ &codec { status = "okay"; }; +&cpu0 { + cpu-supply = <®_vdd_cpux>; +}; + &de { status = "okay"; };@@ -168,6 +172,22 @@ &ohci3 { status = "okay"; }; +&r_i2c { + status = "okay"; + + reg_vdd_cpux: regulator@65 { + compatible = "silergy,sy8106a"; + reg = <0x65>;
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts &ohci3 { · line 190
Quoted 10 lines
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts +10
-0+ regulator-name = "vdd-cpux"; + silergy,fixed-microvolt = <1100000>; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1400000>; + regulator-ramp-delay = <200>; + regulator-boot-on; + regulator-always-on; + }; +}; +
Looks like you fixed the issues reported by Samuel though. I've applied it.
Maxime
Quoted 41 lines · Maxime Ripard
Quoted 7 lines · Ondrej Jirman
Orange Pi PC2 features sy8106a regulator just like Orange Pi PC.
Signed-off-by Ondrej Jirman <[email protected]>Reviewed-by Samuel Holland <[email protected]>--- .../dts/allwinner/sun50i-h5-orangepi-pc2.dts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+)Having a changelog would be great
Quoted 30 lines
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts +15
-0@@ -93,6 +93,10 @@ &codec { status = "okay"; }; +&cpu0 { + cpu-supply = <®_vdd_cpux>; +}; + &de { status = "okay"; };@@ -168,6 +172,22 @@ &ohci3 { status = "okay"; }; +&r_i2c { + status = "okay"; + + reg_vdd_cpux: regulator@65 { + compatible = "silergy,sy8106a"; + reg = <0x65>; + regulator-name = "vdd-cpux"; + silergy,fixed-microvolt = <1100000>; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1400000>; + regulator-ramp-delay = <200>;
Quoted 8 lines
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts &ohci3 { · line 190
Quoted 5 lines
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts +5
-0+ regulator-boot-on; + regulator-always-on; + }; +}; +Looks like you fixed the issues reported by Samuel though. I've applied it.
Sorry, yes, I just did that. Re-ordering + removing a comment and changing the fixed voltage.
Thank you,
o.
Quoted 1 line
Maxime