brintos

brintos / linux-shallow public Read only

0
0
Text · 1.0 KiB · 474e35c Raw
43 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/adc/st,stmpe-adc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ADC on an STMPE multifunction device.8 9maintainers:10  - Stefan Agner <stefan@agner.ch>11 12description:13  This ADC forms part of an ST microelectronics STMPE multifunction device .14  The ADC is shared with the STMPE touchscreen. As a result some ADC related15  settings are specified in the parent node.16  The node should be a child node of the stmpe node to which it belongs.17 18properties:19  compatible:20    const: st,stmpe-adc21 22  st,norequest-mask:23    $ref: /schemas/types.yaml#/definitions/uint3224    description:25      Bitmask specifying which ADC channels should _not_ be26      requestable due to different usage (e.g. touch).27 28  "#io-channel-cells":29    const: 130 31required:32  - compatible33 34additionalProperties: false35 36examples:37  - |38    adc {39        compatible = "st,stmpe-adc";40        st,norequest-mask = <0x0f>; /* dont use ADC CH3-0 */41    };42...43