From: Finley Xiao Date: Thu, 11 May 2017 08:26:06 +0000 (+0800) Subject: ARM: dts: rk322x: add 'nvmem-cells' property for opp_table0 X-Git-Tag: release-20171130_firefly~4^2~594 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5a0677d99eb1dbeaeb397df3bd0868f4132abc21;p=firefly-linux-kernel-4.4.55.git ARM: dts: rk322x: add 'nvmem-cells' property for opp_table0 This patch adds nvmem-cells property to opp_table0 node so that cpufreq driver can get cpu leakage value. Change-Id: Ic39525de46762dfe867ecb86123be6fa7ccad95c Signed-off-by: Finley Xiao --- diff --git a/arch/arm/boot/dts/rk3229-cpu-opp.dtsi b/arch/arm/boot/dts/rk3229-cpu-opp.dtsi index 18c79a1f1d53..5c7cb6150f37 100644 --- a/arch/arm/boot/dts/rk3229-cpu-opp.dtsi +++ b/arch/arm/boot/dts/rk3229-cpu-opp.dtsi @@ -47,6 +47,9 @@ compatible = "operating-points-v2"; opp-shared; + nvmem-cells = <&cpu_leakage>; + nvmem-cell-names = "cpu_leakage"; + opp-408000000 { opp-hz = /bits/ 64 <408000000>; opp-microvolt = <950000>; diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 8977ae75f66f..b3b5bee64350 100644 --- a/arch/arm/boot/dts/rk322x.dtsi +++ b/arch/arm/boot/dts/rk322x.dtsi @@ -99,6 +99,9 @@ compatible = "operating-points-v2"; opp-shared; + nvmem-cells = <&cpu_leakage>; + nvmem-cell-names = "cpu_leakage"; + opp-408000000 { opp-hz = /bits/ 64 <408000000>; opp-microvolt = <950000>;