18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 28c2ecf20Sopenharmony_ci%YAML 1.2 38c2ecf20Sopenharmony_ci--- 48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/iio/adc/st,stmpe-adc.yaml# 58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cititle: ADC on an STMPE multifunction device. 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cimaintainers: 108c2ecf20Sopenharmony_ci - Stefan Agner <stefan@agner.ch> 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_cidescription: 138c2ecf20Sopenharmony_ci This ADC forms part of an ST microelectronics STMPE multifunction device . 148c2ecf20Sopenharmony_ci The ADC is shared with the STMPE touchscreen. As a result some ADC related 158c2ecf20Sopenharmony_ci settings are specified in the parent node. 168c2ecf20Sopenharmony_ci The node name myst be stmpe_adc and should be a child node of the stmpe node 178c2ecf20Sopenharmony_ci to which it belongs. 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciproperties: 208c2ecf20Sopenharmony_ci compatible: 218c2ecf20Sopenharmony_ci const: st,stmpe-adc 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci st,norequest-mask: 248c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 258c2ecf20Sopenharmony_ci description: 268c2ecf20Sopenharmony_ci Bitmask specifying which ADC channels should _not_ be 278c2ecf20Sopenharmony_ci requestable due to different usage (e.g. touch). 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci "#io-channel-cells": 308c2ecf20Sopenharmony_ci const: 1 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_cirequired: 338c2ecf20Sopenharmony_ci - compatible 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ciadditionalProperties: false 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ciexamples: 388c2ecf20Sopenharmony_ci - | 398c2ecf20Sopenharmony_ci stmpe { 408c2ecf20Sopenharmony_ci stmpe_adc { 418c2ecf20Sopenharmony_ci compatible = "st,stmpe-adc"; 428c2ecf20Sopenharmony_ci st,norequest-mask = <0x0F>; /* dont use ADC CH3-0 */ 438c2ecf20Sopenharmony_ci }; 448c2ecf20Sopenharmony_ci }; 458c2ecf20Sopenharmony_ci... 46