* [PATCH] arm: dts: rk3399-puma: re-add vdd_log for uboot
@ 2021-12-26 12:45 Heiko Stuebner
2021-12-26 14:06 ` Tom Rini
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Heiko Stuebner @ 2021-12-26 12:45 UTC (permalink / raw)
To: sjg, philipp.tomsich, kever.yang; +Cc: cmuellner, u-boot, Heiko Stuebner
The rk3399-puma board needs a 950mV vdd_log to work stable.
This was already added in
commit 77012e79ffc3 ("rockchip: rk3399-puma: Set VDD_LOG to 950 mV")
but lost again with
commit 167efc2c7a46 ("arm64: dts: rk3399: Sync v5.7-rc1 from Linux")
So to make puma stable again re-add the vdd_log pwm regulator.
As it is not part of the mainline Linux dts right now, add it
to the -u-boot dtsi for puma.
Fixes: 167efc2c7a46 ("arm64: dts: rk3399: Sync v5.7-rc1 from Linux")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi b/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
index 29846c4b00..76eb51d2d7 100644
--- a/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
+++ b/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
@@ -49,6 +49,17 @@
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
+
+ vdd_log: vdd-log {
+ compatible = "pwm-regulator";
+ pwms = <&pwm2 0 25000 1>;
+ regulator-name = "vdd_log";
+ regulator-min-microvolt = <800000>;
+ regulator-max-microvolt = <1400000>;
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-init-microvolt = <950000>;
+ };
};
&gpio1 {
--
2.30.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: dts: rk3399-puma: re-add vdd_log for uboot
2021-12-26 12:45 [PATCH] arm: dts: rk3399-puma: re-add vdd_log for uboot Heiko Stuebner
@ 2021-12-26 14:06 ` Tom Rini
2022-01-03 12:26 ` Quentin Schulz
2022-03-14 7:43 ` Kever Yang
2 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2021-12-26 14:06 UTC (permalink / raw)
To: Heiko Stuebner; +Cc: sjg, philipp.tomsich, kever.yang, cmuellner, u-boot
[-- Attachment #1: Type: text/plain, Size: 765 bytes --]
On Sun, Dec 26, 2021 at 01:45:44PM +0100, Heiko Stuebner wrote:
> The rk3399-puma board needs a 950mV vdd_log to work stable.
> This was already added in
> commit 77012e79ffc3 ("rockchip: rk3399-puma: Set VDD_LOG to 950 mV")
> but lost again with
> commit 167efc2c7a46 ("arm64: dts: rk3399: Sync v5.7-rc1 from Linux")
>
> So to make puma stable again re-add the vdd_log pwm regulator.
> As it is not part of the mainline Linux dts right now, add it
> to the -u-boot dtsi for puma.
>
> Fixes: 167efc2c7a46 ("arm64: dts: rk3399: Sync v5.7-rc1 from Linux")
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
As the history shows here, this keeps getting lost on resync. What's
the status on getting this in to the upstream dts itself?
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: dts: rk3399-puma: re-add vdd_log for uboot
2021-12-26 12:45 [PATCH] arm: dts: rk3399-puma: re-add vdd_log for uboot Heiko Stuebner
2021-12-26 14:06 ` Tom Rini
@ 2022-01-03 12:26 ` Quentin Schulz
2022-01-03 16:35 ` Heiko Stübner
2022-03-14 7:43 ` Kever Yang
2 siblings, 1 reply; 5+ messages in thread
From: Quentin Schulz @ 2022-01-03 12:26 UTC (permalink / raw)
To: Heiko Stuebner, sjg, philipp.tomsich, kever.yang; +Cc: cmuellner, u-boot
Hi Heiko,
On 12/26/21 13:45, Heiko Stuebner wrote:
> The rk3399-puma board needs a 950mV vdd_log to work stable.
> This was already added in
> commit 77012e79ffc3 ("rockchip: rk3399-puma: Set VDD_LOG to 950 mV")
> but lost again with
> commit 167efc2c7a46 ("arm64: dts: rk3399: Sync v5.7-rc1 from Linux")
>
> So to make puma stable again re-add the vdd_log pwm regulator.
> As it is not part of the mainline Linux dts right now, add it
> to the -u-boot dtsi for puma.
>
> Fixes: 167efc2c7a46 ("arm64: dts: rk3399: Sync v5.7-rc1 from Linux")
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
> arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi b/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
> index 29846c4b00..76eb51d2d7 100644
> --- a/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
> +++ b/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
> @@ -49,6 +49,17 @@
> regulator-min-microvolt = <1800000>;
> regulator-max-microvolt = <1800000>;
> };
> +
> + vdd_log: vdd-log {
> + compatible = "pwm-regulator";
> + pwms = <&pwm2 0 25000 1>;
> + regulator-name = "vdd_log";
> + regulator-min-microvolt = <800000>;
> + regulator-max-microvolt = <1400000>;
> + regulator-always-on;
> + regulator-boot-on;
> + regulator-init-microvolt = <950000>;
> + };
> };
>
> &gpio1 {
Is this a spurious patch by any chance?
https://source.denx.de/u-boot/u-boot/-/commit/1621afc84f8a109cfdb98c9e370c355289e07870
seems to have more or less the same content, sent (and merged) about a
year ago by Christoph.
Moreover, it seems to still be there in master:
https://source.denx.de/u-boot/u-boot/-/blob/master/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi#L52-L62
Cheers,
Quentin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: dts: rk3399-puma: re-add vdd_log for uboot
2022-01-03 12:26 ` Quentin Schulz
@ 2022-01-03 16:35 ` Heiko Stübner
0 siblings, 0 replies; 5+ messages in thread
From: Heiko Stübner @ 2022-01-03 16:35 UTC (permalink / raw)
To: sjg, philipp.tomsich, kever.yang, Quentin Schulz; +Cc: cmuellner, u-boot
Hi Quentin,
Am Montag, 3. Januar 2022, 13:26:09 CET schrieb Quentin Schulz:
> Hi Heiko,
>
> On 12/26/21 13:45, Heiko Stuebner wrote:
> > The rk3399-puma board needs a 950mV vdd_log to work stable.
> > This was already added in
> > commit 77012e79ffc3 ("rockchip: rk3399-puma: Set VDD_LOG to 950 mV")
> > but lost again with
> > commit 167efc2c7a46 ("arm64: dts: rk3399: Sync v5.7-rc1 from Linux")
> >
> > So to make puma stable again re-add the vdd_log pwm regulator.
> > As it is not part of the mainline Linux dts right now, add it
> > to the -u-boot dtsi for puma.
> >
> > Fixes: 167efc2c7a46 ("arm64: dts: rk3399: Sync v5.7-rc1 from Linux")
> > Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> > ---
> > arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi | 11 +++++++++++
> > 1 file changed, 11 insertions(+)
> >
> > diff --git a/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi b/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
> > index 29846c4b00..76eb51d2d7 100644
> > --- a/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
> > +++ b/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
> > @@ -49,6 +49,17 @@
> > regulator-min-microvolt = <1800000>;
> > regulator-max-microvolt = <1800000>;
> > };
> > +
> > + vdd_log: vdd-log {
> > + compatible = "pwm-regulator";
> > + pwms = <&pwm2 0 25000 1>;
> > + regulator-name = "vdd_log";
> > + regulator-min-microvolt = <800000>;
> > + regulator-max-microvolt = <1400000>;
> > + regulator-always-on;
> > + regulator-boot-on;
> > + regulator-init-microvolt = <950000>;
> > + };
> > };
> >
> > &gpio1 {
>
> Is this a spurious patch by any chance?
yep, I realized that I was on 2021.01 still. Shortly after that the vdd_log was re-added
by Christoph.
Heiko
>
> https://source.denx.de/u-boot/u-boot/-/commit/1621afc84f8a109cfdb98c9e370c355289e07870
> seems to have more or less the same content, sent (and merged) about a
> year ago by Christoph.
>
> Moreover, it seems to still be there in master:
> https://source.denx.de/u-boot/u-boot/-/blob/master/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi#L52-L62
>
> Cheers,
> Quentin
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: dts: rk3399-puma: re-add vdd_log for uboot
2021-12-26 12:45 [PATCH] arm: dts: rk3399-puma: re-add vdd_log for uboot Heiko Stuebner
2021-12-26 14:06 ` Tom Rini
2022-01-03 12:26 ` Quentin Schulz
@ 2022-03-14 7:43 ` Kever Yang
2 siblings, 0 replies; 5+ messages in thread
From: Kever Yang @ 2022-03-14 7:43 UTC (permalink / raw)
To: Heiko Stuebner
Cc: Simon Glass, Philipp Tomsich, Kever Yang, cmuellner, U-Boot-Denx
Hi Heiko,
Heiko Stuebner <heiko@sntech.de> 于2021年12月26日周日 20:46写道:
>
> The rk3399-puma board needs a 950mV vdd_log to work stable.
> This was already added in
> commit 77012e79ffc3 ("rockchip: rk3399-puma: Set VDD_LOG to 950 mV")
> but lost again with
> commit 167efc2c7a46 ("arm64: dts: rk3399: Sync v5.7-rc1 from Linux")
>
> So to make puma stable again re-add the vdd_log pwm regulator.
> As it is not part of the mainline Linux dts right now, add it
> to the -u-boot dtsi for puma.
>
> Fixes: 167efc2c7a46 ("arm64: dts: rk3399: Sync v5.7-rc1 from Linux")
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Thanks,
- Kever
> ---
> arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi b/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
> index 29846c4b00..76eb51d2d7 100644
> --- a/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
> +++ b/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
> @@ -49,6 +49,17 @@
> regulator-min-microvolt = <1800000>;
> regulator-max-microvolt = <1800000>;
> };
> +
> + vdd_log: vdd-log {
> + compatible = "pwm-regulator";
> + pwms = <&pwm2 0 25000 1>;
> + regulator-name = "vdd_log";
> + regulator-min-microvolt = <800000>;
> + regulator-max-microvolt = <1400000>;
> + regulator-always-on;
> + regulator-boot-on;
> + regulator-init-microvolt = <950000>;
> + };
> };
>
> &gpio1 {
> --
> 2.30.2
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-03-14 7:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-26 12:45 [PATCH] arm: dts: rk3399-puma: re-add vdd_log for uboot Heiko Stuebner
2021-12-26 14:06 ` Tom Rini
2022-01-03 12:26 ` Quentin Schulz
2022-01-03 16:35 ` Heiko Stübner
2022-03-14 7:43 ` Kever Yang
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.