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/adc/ti, 4 $id: http://devicetree.org/schemas/iio/adc/ti,twl4030-madc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: MADC subsystem in the TWL4030 power mod 7 title: MADC subsystem in the TWL4030 power module 8 8 9 maintainers: 9 maintainers: 10 - Sebastian Reichel <sre@kernel.org> 10 - Sebastian Reichel <sre@kernel.org> 11 11 12 description: 12 description: 13 The MADC subsystem in the TWL4030 consists o 13 The MADC subsystem in the TWL4030 consists of a 10-bit ADC 14 combined with a 16-input analog multiplexer. 14 combined with a 16-input analog multiplexer. 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 const: ti,twl4030-madc 18 const: ti,twl4030-madc 19 19 20 interrupts: 20 interrupts: 21 maxItems: 1 21 maxItems: 1 22 22 23 ti,system-uses-second-madc-irq: 23 ti,system-uses-second-madc-irq: 24 type: boolean 24 type: boolean 25 description: 25 description: 26 Set if the second madc irq register shou 26 Set if the second madc irq register should be used, which is intended 27 to be used by Co-Processors (e.g. a mod 27 to be used by Co-Processors (e.g. a modem). 28 28 29 "#io-channel-cells": 29 "#io-channel-cells": 30 const: 1 30 const: 1 31 31 32 required: 32 required: 33 - compatible 33 - compatible 34 - interrupts 34 - interrupts 35 - "#io-channel-cells" 35 - "#io-channel-cells" 36 36 37 additionalProperties: false 37 additionalProperties: false 38 38 39 examples: 39 examples: 40 - | 40 - | 41 twl { 41 twl { 42 madc { 42 madc { 43 compatible = "ti,twl4030-madc"; 43 compatible = "ti,twl4030-madc"; 44 interrupts = <3>; 44 interrupts = <3>; 45 #io-channel-cells = <1>; 45 #io-channel-cells = <1>; 46 }; 46 }; 47 }; 47 }; 48 ... 48 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.