From: 郭毅 Date: Wed, 19 Mar 2014 08:32:37 +0000 (+0800) Subject: sensror: add dts node for lightsensor and hallsensor X-Git-Tag: firefly_0821_release~6001^2~2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9d9dd70adefc366bba895617bd30707739cf05d0;p=firefly-linux-kernel-4.4.55.git sensror: add dts node for lightsensor and hallsensor --- diff --git a/arch/arm/boot/dts/rk3288-tb.dts b/arch/arm/boot/dts/rk3288-tb.dts index 2e4ba57b7ae4..6364bfc89e89 100755 --- a/arch/arm/boot/dts/rk3288-tb.dts +++ b/arch/arm/boot/dts/rk3288-tb.dts @@ -41,6 +41,12 @@ status = "okay"; }; + hallsensor { + compatible = "hall_och165t"; + type = ; + irq-gpio = <&gpio0 GPIO_A6 IRQ_TYPE_EDGE_BOTH>; + }; + backlight { compatible = "pwm-backlight"; pwms = <&pwm0 0 25000>; @@ -196,6 +202,15 @@ poll_delay_ms = <30>; layout = <1>; }; + sensor@10 { + compatible = "ls_cm3218"; + reg = <0x10>; + type = ; + irq-gpio = <&gpio8 GPIO_A3 IRQ_TYPE_EDGE_FALLING>; + irq_enable = <1>; + poll_delay_ms = <30>; + layout = <1>; + }; };