* [PATCH] arm64: dts: rockchip: Rework voltage supplies for regulators on rk3399-roc-pc
@ 2019-10-31 13:30 Markus Reichl
2019-10-31 14:24 ` Heiko Stuebner
0 siblings, 1 reply; 3+ messages in thread
From: Markus Reichl @ 2019-10-31 13:30 UTC (permalink / raw)
To: Rob Herring, Mark Rutland, Heiko Stuebner, Jagan Teki,
Markus Reichl, devicetree, linux-arm-kernel, linux-rockchip,
linux-kernel
Correct the voltage supplies according to the board schematics
ROC-3399-PC-V10-A-20180804.
Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
---
.../arm64/boot/dts/rockchip/rk3399-roc-pc.dts | 30 ++++++++++---------
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts
index e06e4163605b..def8bca7d158 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts
@@ -142,7 +142,7 @@
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
- vin-supply = <&vcc_sys>;
+ vin-supply = <&dc_12v>;
};
/* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */
@@ -190,7 +190,7 @@
regulator-boot-on;
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1400000>;
- vin-supply = <&vcc_sys>;
+ vin-supply = <&vcc3v3_sys>;
};
/* on roc-rk3399-mezzanine board */
@@ -283,18 +283,20 @@
rockchip,system-power-controller;
wakeup-source;
- vcc1-supply = <&vcc_sys>;
- vcc2-supply = <&vcc_sys>;
- vcc3-supply = <&vcc_sys>;
- vcc4-supply = <&vcc_sys>;
- vcc6-supply = <&vcc_sys>;
- vcc7-supply = <&vcc_sys>;
+ vcc1-supply = <&vcc3v3_sys>;
+ vcc2-supply = <&vcc3v3_sys>;
+ vcc3-supply = <&vcc3v3_sys>;
+ vcc4-supply = <&vcc3v3_sys>;
+ vcc6-supply = <&vcc3v3_sys>;
+ vcc7-supply = <&vcc3v3_sys>;
vcc8-supply = <&vcc3v3_sys>;
- vcc9-supply = <&vcc_sys>;
- vcc10-supply = <&vcc_sys>;
- vcc11-supply = <&vcc_sys>;
+ vcc9-supply = <&vcc3v3_sys>;
+ vcc10-supply = <&vcc3v3_sys>;
+ vcc11-supply = <&vcc3v3_sys>;
vcc12-supply = <&vcc3v3_sys>;
- vddio-supply = <&vcc1v8_pmu>;
+ vcc13-supply = <&vcc3v3_sys>;
+ vcc14-supply = <&vcc3v3_sys>;
+ vddio-supply = <&vcc_3v0>;
regulators {
vdd_center: DCDC_REG1 {
@@ -466,7 +468,7 @@
regulator-ramp-delay = <1000>;
regulator-always-on;
regulator-boot-on;
- vin-supply = <&vcc_sys>;
+ vin-supply = <&vcc3v3_sys>;
regulator-state-mem {
regulator-off-in-suspend;
@@ -485,7 +487,7 @@
regulator-ramp-delay = <1000>;
regulator-always-on;
regulator-boot-on;
- vin-supply = <&vcc_sys>;
+ vin-supply = <&vcc3v3_sys>;
regulator-state-mem {
regulator-off-in-suspend;
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: Rework voltage supplies for regulators on rk3399-roc-pc
2019-10-31 13:30 [PATCH] arm64: dts: rockchip: Rework voltage supplies for regulators on rk3399-roc-pc Markus Reichl
@ 2019-10-31 14:24 ` Heiko Stuebner
2019-10-31 15:56 ` Markus Reichl
0 siblings, 1 reply; 3+ messages in thread
From: Heiko Stuebner @ 2019-10-31 14:24 UTC (permalink / raw)
To: Markus Reichl
Cc: Rob Herring, Mark Rutland, Jagan Teki, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel
Am Donnerstag, 31. Oktober 2019, 14:30:06 CET schrieb Markus Reichl:
> Correct the voltage supplies according to the board schematics
> ROC-3399-PC-V10-A-20180804.
>
> Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
> ---
> .../arm64/boot/dts/rockchip/rk3399-roc-pc.dts | 30 ++++++++++---------
> 1 file changed, 16 insertions(+), 14 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts
> index e06e4163605b..def8bca7d158 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts
> @@ -142,7 +142,7 @@
> regulator-boot-on;
> regulator-min-microvolt = <3300000>;
> regulator-max-microvolt = <3300000>;
> - vin-supply = <&vcc_sys>;
> + vin-supply = <&dc_12v>;
> };
>
> /* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */
> @@ -190,7 +190,7 @@
> regulator-boot-on;
> regulator-min-microvolt = <800000>;
> regulator-max-microvolt = <1400000>;
> - vin-supply = <&vcc_sys>;
> + vin-supply = <&vcc3v3_sys>;
> };
>
> /* on roc-rk3399-mezzanine board */
This seems to be some change from somewhere else.
In any case I adapted that to the current dts and applied
the patch for 5.5. Please double-check though.
Thanks
Heiko
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: Rework voltage supplies for regulators on rk3399-roc-pc
2019-10-31 14:24 ` Heiko Stuebner
@ 2019-10-31 15:56 ` Markus Reichl
0 siblings, 0 replies; 3+ messages in thread
From: Markus Reichl @ 2019-10-31 15:56 UTC (permalink / raw)
To: Heiko Stuebner
Cc: Mark Rutland, devicetree, linux-kernel, linux-rockchip,
Rob Herring, Jagan Teki, linux-arm-kernel
Am 31.10.19 um 15:24 schrieb Heiko Stuebner:
> Am Donnerstag, 31. Oktober 2019, 14:30:06 CET schrieb Markus Reichl:
>> Correct the voltage supplies according to the board schematics
>> ROC-3399-PC-V10-A-20180804.
>>
>> Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
>> ---
>> .../arm64/boot/dts/rockchip/rk3399-roc-pc.dts | 30 ++++++++++---------
>> 1 file changed, 16 insertions(+), 14 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts
>> index e06e4163605b..def8bca7d158 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts
>> +++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts
>> @@ -142,7 +142,7 @@
>> regulator-boot-on;
>> regulator-min-microvolt = <3300000>;
>> regulator-max-microvolt = <3300000>;
>> - vin-supply = <&vcc_sys>;
>> + vin-supply = <&dc_12v>;
>> };
>>
>> /* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */
>> @@ -190,7 +190,7 @@
>> regulator-boot-on;
>> regulator-min-microvolt = <800000>;
>> regulator-max-microvolt = <1400000>;
>> - vin-supply = <&vcc_sys>;
>> + vin-supply = <&vcc3v3_sys>;
>> };
>>
>> /* on roc-rk3399-mezzanine board */
>
> This seems to be some change from somewhere else.
> In any case I adapted that to the current dts and applied
> the patch for 5.5. Please double-check though.
Yes this comes from:
"arm64: dts: rockchip: Add PCIe node on rk3399-roc-pc"
https://patchwork.kernel.org/patch/11215659/
>
> Thanks
> Heiko
>
>
>
>
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip
>
Gruß,
--
Markus Reichl
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-31 15:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-31 13:30 [PATCH] arm64: dts: rockchip: Rework voltage supplies for regulators on rk3399-roc-pc Markus Reichl
2019-10-31 14:24 ` Heiko Stuebner
2019-10-31 15:56 ` Markus Reichl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).