summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/iio/adc/hi8435.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/iio/adc/hi8435.txt')
-rw-r--r--dts/Bindings/iio/adc/hi8435.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/dts/Bindings/iio/adc/hi8435.txt b/dts/Bindings/iio/adc/hi8435.txt
new file mode 100644
index 0000000000..3b0348c5e5
--- /dev/null
+++ b/dts/Bindings/iio/adc/hi8435.txt
@@ -0,0 +1,21 @@
+Holt Integrated Circuits HI-8435 threshold detector bindings
+
+Required properties:
+ - compatible: should be "holt,hi8435"
+ - reg: spi chip select number for the device
+
+Recommended properties:
+ - spi-max-frequency: definition as per
+ Documentation/devicetree/bindings/spi/spi-bus.txt
+
+Optional properties:
+ - gpios: GPIO used for controlling the reset pin
+
+Example:
+sensor@0 {
+ compatible = "holt,hi8435";
+ reg = <0>;
+ gpios = <&gpio6 1 0>;
+
+ spi-max-frequency = <1000000>;
+};