[PATCH] arm: dts: rk3399-puma: re-add vdd_log for uboot
Kever Yang
kever.yang at rock-chips.com
Mon Mar 14 08:43:22 CET 2022
Hi Heiko,
Heiko Stuebner <heiko at 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 at sntech.de>
Reviewed-by: Kever Yang <kever.yang at 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
>
More information about the U-Boot
mailing list