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