cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

st,stmpe-adc.yaml (1118B)


      1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
      2%YAML 1.2
      3---
      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 related
     15  settings are specified in the parent node.
     16  The node name myst be stmpe_adc and should be a child node of the stmpe node
     17  to which it belongs.
     18
     19properties:
     20  compatible:
     21    const: st,stmpe-adc
     22
     23  st,norequest-mask:
     24    $ref: /schemas/types.yaml#/definitions/uint32
     25    description:
     26      Bitmask specifying which ADC channels should _not_ be
     27      requestable due to different usage (e.g. touch).
     28
     29  "#io-channel-cells":
     30    const: 1
     31
     32required:
     33  - compatible
     34
     35additionalProperties: false
     36
     37examples:
     38  - |
     39    stmpe {
     40        stmpe_adc {
     41            compatible = "st,stmpe-adc";
     42            st,norequest-mask = <0x0F>; /* dont use ADC CH3-0 */
     43        };
     44    };
     45...