add suspend ctrl in rk3368-tb_8846.dts
authorxxx <xxx@rock-chips.com>
Mon, 11 May 2015 08:06:51 +0000 (16:06 +0800)
committerxxx <xxx@rock-chips.com>
Mon, 11 May 2015 08:06:51 +0000 (16:06 +0800)
arch/arm64/boot/dts/rk3368-tb_8846.dts [changed mode: 0755->0644]
arch/arm64/boot/dts/rk3368.dtsi

old mode 100755 (executable)
new mode 100644 (file)
index a03b53d..03c7473
@@ -7,6 +7,7 @@
 //#include "../../../arm/boot/dts/lcd-b101ew05.dtsi"
 #include "../../../arm/boot/dts/lcd-F402.dtsi"
 #include "rk3368-cif-sensor.dtsi"
+#include <dt-bindings/suspend/rockchip-rk3368.h>
 
 / {
        chosen {
@@ -1059,6 +1060,19 @@ rk818,support_dc_chg = <1>;/*1:dc chg; 0:usb chg*/
        status = "okay";
 };
 
+&rockchip_suspend {
+               rockchip,ctrbits = <
+                       (0
+                       | RKPM_SLP_ARMOFF
+                       | RKPM_SLP_PMU_PLLS_PWRDN
+                       | RKPM_SLP_PMU_PMUALIVE_32K
+                       | RKPM_SLP_SFT_PLLS_DEEP
+                       | RKPM_SLP_PMU_DIS_OSC
+                       | RKPM_SLP_SFT_PD_NBSCUS
+                       )
+                       >;
+       };
+
 /*
 &dwc_control_usb {
        usb_uart {
index cf76ca3778f9ef928dfb0d950cd7ace5eb452712..7950af8912b4f19a7c9e20595eceae1a90118a12 100644 (file)
                interrupt-names = "vepu_mmu", "vdpu_mmu";
        };
 
-       rockchip_suspend {
+       rockchip_suspend: rockchip_suspend {
                rockchip,ctrbits = <
                        (0
                        | RKPM_SLP_ARMOFF