[PATCH v2 1/3] arm64: dts: rockchip: add "dcin" regulator for Radxa ROCK 5C

Dragan Simic dsimic at manjaro.org
Wed Nov 27 16:39:05 PST 2024


Hello Fukaumi,

On 2024-11-19 11:08, FUKAUMI Naoki wrote:
> add "dcin" label to vcc5v_dcin regulator and use it in vcc_sysin
> regulator.
> 
> Signed-off-by: FUKAUMI Naoki <naoki at radxa.com>
> ---
> Changes in v2:
> - none
> ---
>  arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts
> b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts
> index 6da13b6b9a7b..b5460c179ef7 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts
> @@ -88,7 +88,7 @@ vcc3v3_pcie2x1l2: regulator-vcc3v3_pcie2x1l2 {
>  		vin-supply = <&vcc_sysin>;
>  	};
> 
> -	vcc5v_dcin: regulator-vcc5v-dcin {
> +	vcc5v_dcin: dcin: regulator-vcc5v-dcin {

I just went through the associated part of the ROCK 5C schematic,
and I was unable to see any reasons why should we introduce "dcin"
as another alias here?

The root of the ROCK 5C's power tree is labeled "5v_dcin" in the
schematic, so renaming "vcc5v_dcin" to "5v_dcin" would make sense,
but I don't see why should we add another alias.

>  		compatible = "regulator-fixed";
>  		regulator-name = "vcc5v_dcin";
>  		regulator-always-on;
> @@ -170,7 +170,7 @@ vcc_sysin: regulator-vcc-sysin {
>  		regulator-boot-on;
>  		regulator-min-microvolt = <5000000>;
>  		regulator-max-microvolt = <5000000>;
> -		vin-supply = <&vcc5v_dcin>;
> +		vin-supply = <&dcin>;
>  	};
> 
>  	vcca: regulator-vcca {



More information about the Linux-rockchip mailing list