Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7db75fd6 authored by Vladimir Barinov's avatar Vladimir Barinov Committed by Jonathan Cameron
Browse files

dt: Document Holt HI-8435 bindings



These bindings can be used to register Holt HI-8435 threshold detector

Signed-off-by: default avatarVladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 72aa29ce
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
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>;
};