From: Bin Yang Date: Mon, 12 Sep 2016 09:45:25 +0000 (+0800) Subject: Documentation: bindings: add DT documentation for rk_sensor.txt X-Git-Tag: firefly_0821_release~1533 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7d9036b161fa49364c2e2bcceee1dd824ebf46bd;p=firefly-linux-kernel-4.4.55.git Documentation: bindings: add DT documentation for rk_sensor.txt Change-Id: I06710a0adf648deff3700ec66fba5ac658a49fe7 Signed-off-by: Bin Yang --- diff --git a/Documentation/devicetree/bindings/input/sensors/rk_sensor.txt b/Documentation/devicetree/bindings/input/sensors/rk_sensor.txt index 22113a0342d5..9e16c80f0a06 100644 --- a/Documentation/devicetree/bindings/input/sensors/rk_sensor.txt +++ b/Documentation/devicetree/bindings/input/sensors/rk_sensor.txt @@ -11,6 +11,14 @@ Required properties: Example: + hall_sensor: hall-mh248 { + compatible = "hall-mh248"; + pinctrl-names = "default"; + pinctrl-0 = <&mh248_irq_gpio>; + irq-gpio = <&gpio1 2 IRQ_TYPE_EDGE_RISING>; + hall-active = <1>; + status = "okay"; + }; sensor@1d { compatible = "gs_mma8452"; reg = <0x1d>; @@ -44,4 +52,4 @@ TYPE: SENSOR_TYPE_TEMPERATURE 7 SENSOR_TYPE_PRESSURE 8 SENSOR_TYPE_HALL 9 - define SENSOR_NUM_TYPES 10 \ No newline at end of file + define SENSOR_NUM_TYPES 10