blob: 56bcbe5dcd798ac4aa6be0d6d8b0f6381f9db344 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/adc/holt,hi8435.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Holt Integrated Circuits HI-8435 SPI threshold detector
8
9maintainers:
10 - Vladimir Barinov <vladimir.barinov@cogentembedded.com>
11
12description: |
13 Datasheet: http://www.holtic.com/documents/427-hi-8435_v-rev-lpdf.do
14
15properties:
16 compatible:
17 const: holt,hi8435
18
19 reg:
20 maxItems: 1
21
22 gpios:
23 description:
24 GPIO used for controlling the reset pin
25 maxItems: 1
26
27 "#io-channel-cells":
28 const: 1
29
30required:
31 - compatible
32 - reg
33
34allOf:
35 - $ref: /schemas/spi/spi-peripheral-props.yaml#
36
37unevaluatedProperties: false
38
39examples:
40 - |
41 spi {
42 #address-cells = <1>;
43 #size-cells = <0>;
44 threshold-detector@0 {
45 compatible = "holt,hi8435";
46 reg = <0>;
47 gpios = <&gpio6 1 0>;
48 spi-max-frequency = <1000000>;
49 };
50 };
51...