xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/hi8435.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotHolt Integrated Circuits HI-8435 threshold detector bindings
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot - compatible: should be "holt,hi8435"
5*c66ec88fSEmmanuel Vadot - reg: spi chip select number for the device
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotRecommended properties:
8*c66ec88fSEmmanuel Vadot - spi-max-frequency: definition as per
9*c66ec88fSEmmanuel Vadot		Documentation/devicetree/bindings/spi/spi-bus.txt
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotOptional properties:
12*c66ec88fSEmmanuel Vadot - gpios: GPIO used for controlling the reset pin
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotExample:
15*c66ec88fSEmmanuel Vadotsensor@0 {
16*c66ec88fSEmmanuel Vadot	compatible = "holt,hi8435";
17*c66ec88fSEmmanuel Vadot	reg = <0>;
18*c66ec88fSEmmanuel Vadot	gpios = <&gpio6 1 0>;
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot	spi-max-frequency = <1000000>;
21*c66ec88fSEmmanuel Vadot};
22