ADC on an STMPE multifunction device.
Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/st,stmpe-adc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stefan Agner <stefan@agner.ch>"
This ADC forms part of an ST microelectronics STMPE multifunction device . The ADC is shared with the STMPE touchscreen. As a result some ADC related settings are specified in the parent node. The node should be a child node of the stmpe node to which it belongs.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,stmpe-adc"
st,norequest-mask — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Bitmask specifying which ADC channels should _not_ be requestable due to different usage (e.g. touch).
#io-channel-cells — not listed as required here #
Exact value (const): 1
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
adc {
compatible = "st,stmpe-adc";
st,norequest-mask = <0x0f>; /* dont use ADC CH3-0 */
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)