1# 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 spi-max-frequency: true 28 29 "#io-channel-cells": 30 const: 1 31 32required: 33 - compatible 34 - reg 35 36additionalProperties: false 37 38examples: 39 - | 40 spi { 41 #address-cells = <1>; 42 #size-cells = <0>; 43 threshold-detector@0 { 44 compatible = "holt,hi8435"; 45 reg = <0>; 46 gpios = <&gpio6 1 0>; 47 spi-max-frequency = <1000000>; 48 }; 49 }; 50... 51