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