Re: [PATCH] ARM: dts: renesas: Group tuples in operating-points properties

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Geert,

Thanks for your work.

On 2019-12-31 15:16:42 +0100, Geert Uytterhoeven wrote:
> To improve human readability and enable automatic validation, the tuples
> in the "operating-points" properties of CPU nodes should be grouped.
> 
> Fix this by grouping the tuples of these properties using angle brackets
> in the DTS files for all Renesas SoCs that don't already do so.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx>

> ---
>  arch/arm/boot/dts/r8a73a4-ape6evm.dts | 7 ++-----
>  arch/arm/boot/dts/sh73a0-kzm9g.dts    | 9 +++------
>  2 files changed, 5 insertions(+), 11 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm.dts b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
> index 1fbf45082726af36..9eea57d069c227a7 100644
> --- a/arch/arm/boot/dts/r8a73a4-ape6evm.dts
> +++ b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
> @@ -238,11 +238,8 @@
>  
>  &cpu0 {
>  	cpu0-supply = <&vdd_dvfs>;
> -	operating-points = <
> -		/* kHz  uV */
> -		1950000 1115000
> -		1462500  995000
> -	>;
> +	operating-points = <1950000 1115000>,	/* kHz  uV */
> +			   <1462500  995000>;
>  	voltage-tolerance = <1>; /* 1% */
>  };
>  
> diff --git a/arch/arm/boot/dts/sh73a0-kzm9g.dts b/arch/arm/boot/dts/sh73a0-kzm9g.dts
> index 5fa9d3d9cd36a146..1c9dfe9f10e552da 100644
> --- a/arch/arm/boot/dts/sh73a0-kzm9g.dts
> +++ b/arch/arm/boot/dts/sh73a0-kzm9g.dts
> @@ -25,12 +25,9 @@
>  	cpus {
>  		cpu@0 {
>  			cpu0-supply = <&vdd_dvfs>;
> -			operating-points = <
> -				/* kHz  uV */
> -				1196000 1315000
> -				 598000 1175000
> -				 398667 1065000
> -			>;
> +			operating-points = <1196000 1315000>,	/* kHz  uV */
> +					   < 598000 1175000>,
> +					   < 398667 1065000>;
>  			voltage-tolerance = <1>; /* 1% */
>  		};
>  	};
> -- 
> 2.17.1
> 

-- 
Regards,
Niklas Söderlund



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux