1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iio/cdc/adi 4 $id: http://devicetree.org/schemas/iio/cdc/adi,ad7150.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Analog device AD7150 and similar capaci 7 title: Analog device AD7150 and similar capacitance to digital converters. 8 8 9 maintainers: 9 maintainers: 10 - Jonathan Cameron <jic23@kernel.org> 10 - Jonathan Cameron <jic23@kernel.org> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 enum: 14 enum: 15 - adi,ad7150 15 - adi,ad7150 16 - adi,ad7151 16 - adi,ad7151 17 - adi,ad7156 17 - adi,ad7156 18 18 19 reg: 19 reg: 20 maxItems: 1 20 maxItems: 1 21 21 22 vdd-supply: true 22 vdd-supply: true 23 23 24 interrupts: true 24 interrupts: true 25 25 26 allOf: 26 allOf: 27 - if: 27 - if: 28 properties: 28 properties: 29 compatible: 29 compatible: 30 contains: 30 contains: 31 enum: 31 enum: 32 - adi,ad7150 32 - adi,ad7150 33 - adi,ad7156 33 - adi,ad7156 34 then: 34 then: 35 properties: 35 properties: 36 interrupts: 36 interrupts: 37 minItems: 2 37 minItems: 2 38 maxItems: 2 38 maxItems: 2 39 - if: 39 - if: 40 properties: 40 properties: 41 compatible: 41 compatible: 42 contains: 42 contains: 43 const: adi,ad7151 43 const: adi,ad7151 44 then: 44 then: 45 properties: 45 properties: 46 interrupts: 46 interrupts: 47 minItems: 1 47 minItems: 1 48 maxItems: 1 48 maxItems: 1 49 49 50 required: 50 required: 51 - compatible 51 - compatible 52 - reg 52 - reg 53 53 54 additionalProperties: false 54 additionalProperties: false 55 55 56 examples: 56 examples: 57 - | 57 - | 58 i2c { 58 i2c { 59 #address-cells = <1>; 59 #address-cells = <1>; 60 #size-cells = <0>; 60 #size-cells = <0>; 61 61 62 cdc@48 { 62 cdc@48 { 63 compatible = "adi,ad7150"; 63 compatible = "adi,ad7150"; 64 reg = <0x48>; 64 reg = <0x48>; 65 interrupts = <25 2>, <26 2>; 65 interrupts = <25 2>, <26 2>; 66 interrupt-parent = <&gpio>; 66 interrupt-parent = <&gpio>; 67 }; 67 }; 68 }; 68 }; 69 ... 69 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.