arm64: dts: rockchip: add sensor lsm330 node for rk3399-mid
authorBin Yang <yangbin@rock-chips.com>
Wed, 19 Oct 2016 07:39:45 +0000 (15:39 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 20 Oct 2016 01:16:05 +0000 (09:16 +0800)
Add the sensor node "power-off-in-suspend" to support sensor poweroff in
system suspend.

Change-Id: Ic0dc660f0211b7dd18ba8fec6d54aba5b1dfc301
Signed-off-by: Bin Yang <yangbin@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts

index 4d54b95c1da0b85ae5cec60a72eec11d1aa27cbf..70f5273b28658504b765bcaae2255cb47e89a6c3 100644 (file)
                type = <SENSOR_TYPE_ACCEL>;
                irq_enable = <1>;
                poll_delay_ms = <30>;
+               power-off-in-suspend = <1>;
                layout = <4>;
        };
 
                irq-gpio = <&gpio1 20 IRQ_TYPE_EDGE_RISING>;
                type = <SENSOR_TYPE_GYROSCOPE>;
                irq_enable = <0>;
+               power-off-in-suspend = <1>;
                poll_delay_ms = <30>;
        };