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/st, 4 $id: http://devicetree.org/schemas/iio/adc/st,stmpe-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: ADC on an STMPE multifunction device. 7 title: ADC on an STMPE multifunction device. 8 8 9 maintainers: 9 maintainers: 10 - Stefan Agner <stefan@agner.ch> 10 - Stefan Agner <stefan@agner.ch> 11 11 12 description: 12 description: 13 This ADC forms part of an ST microelectronic 13 This ADC forms part of an ST microelectronics STMPE multifunction device . 14 The ADC is shared with the STMPE touchscreen 14 The ADC is shared with the STMPE touchscreen. As a result some ADC related 15 settings are specified in the parent node. 15 settings are specified in the parent node. 16 The node should be a child node of the stmpe 16 The node should be a child node of the stmpe node to which it belongs. 17 17 18 properties: 18 properties: 19 compatible: 19 compatible: 20 const: st,stmpe-adc 20 const: st,stmpe-adc 21 21 22 st,norequest-mask: 22 st,norequest-mask: 23 $ref: /schemas/types.yaml#/definitions/uin 23 $ref: /schemas/types.yaml#/definitions/uint32 24 description: 24 description: 25 Bitmask specifying which ADC channels sh 25 Bitmask specifying which ADC channels should _not_ be 26 requestable due to different usage (e.g. 26 requestable due to different usage (e.g. touch). 27 27 28 "#io-channel-cells": 28 "#io-channel-cells": 29 const: 1 29 const: 1 30 30 31 required: 31 required: 32 - compatible 32 - compatible 33 33 34 additionalProperties: false 34 additionalProperties: false 35 35 36 examples: 36 examples: 37 - | 37 - | 38 adc { 38 adc { 39 compatible = "st,stmpe-adc"; 39 compatible = "st,stmpe-adc"; 40 st,norequest-mask = <0x0f>; /* dont us 40 st,norequest-mask = <0x0f>; /* dont use ADC CH3-0 */ 41 }; 41 }; 42 ... 42 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.