ARM: dts: rk322x: add 'nvmem-cells' property for opp_table0
authorFinley Xiao <finley.xiao@rock-chips.com>
Thu, 11 May 2017 08:26:06 +0000 (16:26 +0800)
committerFinley Xiao <finley.xiao@rock-chips.com>
Fri, 12 May 2017 02:15:27 +0000 (10:15 +0800)
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 <finley.xiao@rock-chips.com>
arch/arm/boot/dts/rk3229-cpu-opp.dtsi
arch/arm/boot/dts/rk322x.dtsi

index 18c79a1f1d53e8e581d9fd696d4fdbdeba7ebb9e..5c7cb6150f37e06c9abb0bac44f87ccdf0ca3d48 100644 (file)
@@ -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>;
index 8977ae75f66fb21585ad91d62c3751c48aa89ce7..b3b5bee64350cdc07b4da9f76c6b1b7699802507 100644 (file)
@@ -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>;