Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/adc/holt,hi8435.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Holt Integrated Circuits HI-8435 SPI threshold detector
0008 
0009 maintainers:
0010   - Vladimir Barinov <vladimir.barinov@cogentembedded.com>
0011 
0012 description: |
0013   Datasheet: http://www.holtic.com/documents/427-hi-8435_v-rev-lpdf.do
0014 
0015 properties:
0016   compatible:
0017     const: holt,hi8435
0018 
0019   reg:
0020     maxItems: 1
0021 
0022   gpios:
0023     description:
0024       GPIO used for controlling the reset pin
0025     maxItems: 1
0026 
0027   spi-max-frequency: true
0028 
0029   "#io-channel-cells":
0030     const: 1
0031 
0032 required:
0033   - compatible
0034   - reg
0035 
0036 additionalProperties: false
0037 
0038 examples:
0039   - |
0040     spi {
0041         #address-cells = <1>;
0042         #size-cells = <0>;
0043         threshold-detector@0 {
0044             compatible = "holt,hi8435";
0045             reg = <0>;
0046             gpios = <&gpio6 1 0>;
0047             spi-max-frequency = <1000000>;
0048         };
0049     };
0050 ...