Skip to content

Commit

Permalink
dt: Document Holt HI-8435 bindings
Browse files Browse the repository at this point in the history
These bindings can be used to register Holt HI-8435 threshold detector

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
  • Loading branch information
Vladimir Barinov authored and Jonathan Cameron committed Sep 23, 2015
1 parent 72aa29c commit 7db75fd
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Documentation/devicetree/bindings/iio/adc/hi8435.txt
Original file line number Diff line number Diff line change
@@ -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>;
};

0 comments on commit 7db75fd

Please sign in to comment.