xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/holt,hi8435.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
26be33864SEmmanuel Vadot%YAML 1.2
36be33864SEmmanuel Vadot---
46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/adc/holt,hi8435.yaml#
56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadottitle: Holt Integrated Circuits HI-8435 SPI threshold detector
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadotmaintainers:
106be33864SEmmanuel Vadot  - Vladimir Barinov <vladimir.barinov@cogentembedded.com>
116be33864SEmmanuel Vadot
126be33864SEmmanuel Vadotdescription: |
136be33864SEmmanuel Vadot  Datasheet: http://www.holtic.com/documents/427-hi-8435_v-rev-lpdf.do
146be33864SEmmanuel Vadot
156be33864SEmmanuel Vadotproperties:
166be33864SEmmanuel Vadot  compatible:
176be33864SEmmanuel Vadot    const: holt,hi8435
186be33864SEmmanuel Vadot
196be33864SEmmanuel Vadot  reg:
206be33864SEmmanuel Vadot    maxItems: 1
216be33864SEmmanuel Vadot
226be33864SEmmanuel Vadot  gpios:
236be33864SEmmanuel Vadot    description:
246be33864SEmmanuel Vadot      GPIO used for controlling the reset pin
256be33864SEmmanuel Vadot    maxItems: 1
266be33864SEmmanuel Vadot
276be33864SEmmanuel Vadot  "#io-channel-cells":
286be33864SEmmanuel Vadot    const: 1
296be33864SEmmanuel Vadot
306be33864SEmmanuel Vadotrequired:
316be33864SEmmanuel Vadot  - compatible
326be33864SEmmanuel Vadot  - reg
336be33864SEmmanuel Vadot
34*7ef62cebSEmmanuel VadotallOf:
35*7ef62cebSEmmanuel Vadot  - $ref: /schemas/spi/spi-peripheral-props.yaml#
36*7ef62cebSEmmanuel Vadot
37*7ef62cebSEmmanuel VadotunevaluatedProperties: false
386be33864SEmmanuel Vadot
396be33864SEmmanuel Vadotexamples:
406be33864SEmmanuel Vadot  - |
416be33864SEmmanuel Vadot    spi {
426be33864SEmmanuel Vadot        #address-cells = <1>;
436be33864SEmmanuel Vadot        #size-cells = <0>;
446be33864SEmmanuel Vadot        threshold-detector@0 {
456be33864SEmmanuel Vadot            compatible = "holt,hi8435";
466be33864SEmmanuel Vadot            reg = <0>;
476be33864SEmmanuel Vadot            gpios = <&gpio6 1 0>;
486be33864SEmmanuel Vadot            spi-max-frequency = <1000000>;
496be33864SEmmanuel Vadot        };
506be33864SEmmanuel Vadot    };
516be33864SEmmanuel Vadot...
52