xref: /freebsd/sys/contrib/device-tree/Bindings/iio/proximity/sx9500.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotSemtech's SX9500 capacitive proximity button device driver
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot	- compatible: must be "semtech,sx9500"
5*c66ec88fSEmmanuel Vadot	- reg: i2c address where to find the device
6*c66ec88fSEmmanuel Vadot	- interrupts : the sole interrupt generated by the device
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot	Refer to interrupt-controller/interrupts.txt for generic
9*c66ec88fSEmmanuel Vadot	interrupt client node bindings.
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotOptional properties:
12*c66ec88fSEmmanuel Vadot	- reset-gpios: Reference to the GPIO connected to the device's active
13*c66ec88fSEmmanuel Vadot	  low reset pin.
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadotsx9500@28 {
18*c66ec88fSEmmanuel Vadot	compatible = "semtech,sx9500";
19*c66ec88fSEmmanuel Vadot	reg = <0x28>;
20*c66ec88fSEmmanuel Vadot	interrupt-parent = <&gpio2>;
21*c66ec88fSEmmanuel Vadot	interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
22*c66ec88fSEmmanuel Vadot	reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
23*c66ec88fSEmmanuel Vadot};
24