From b403b6bc556a258f55e5a5ddc927588dc4e8b326 Mon Sep 17 00:00:00 2001 From: "jerry.zhang" Date: Wed, 17 Aug 2016 16:15:18 +0800 Subject: [PATCH] arm64: dts: rockchip: modify l-sensor node for rk3399 tablet product Change-Id: I41c90b8d24b79009cbb1320e19de2e4a1a400a97 Signed-off-by: jerry.zhang --- arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts b/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts index b1d78b95bdcd..7f00c69b26f8 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts @@ -780,14 +780,14 @@ layout = <3>; }; - sensor@20 { + sensor@10 { status = "okay"; compatible = "capella,light_cm3218"; pinctrl-names = "default"; pinctrl-0 = <&cm3218_irq_gpio>; reg = <0x10>; type = ; - irq-gpio = <&gpio4 24 IRQ_TYPE_EDGE_RISING>; + irq-gpio = <&gpio4 24 IRQ_TYPE_EDGE_FALLING>; irq_enable = <1>; poll_delay_ms = <30>; }; @@ -1013,7 +1013,7 @@ cm3218 { cm3218_irq_gpio: cm3218-irq-gpio { - rockchip,pins = <4 24 RK_FUNC_GPIO &pcfg_pull_none>; + rockchip,pins = <4 24 RK_FUNC_GPIO &pcfg_pull_up>; }; }; -- 2.34.1