Document the in-cell I2C touch companion used on JD9365TX modules. Many FPCs omit the interrupt line; boards may still wire one.
Signed-off-by: Hefei <[email protected]> --- .../input/touchscreen/jadard,jd9365tx.yaml | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/jadard,jd9365tx.yaml diff --git a/Documentation/devicetree/bindings/input/touchscreen/jadard,jd9365tx.yaml b/Documentation/devicetree/bindings/input/touchscreen/jadard,jd9365tx.yaml new file mode 100644 index 0000000..a49a558 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/jadard,jd9365tx.yaml @@ -0,0 +1,63 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/jadard,jd9365tx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Jadard JD9365TX in-cell touchscreen + +maintainers: + - Hefei <[email protected]> + +description: | + In-cell touch integrated with Jadard JD9365TX DSI panels. Many module FPCs + expose only the I2C bus; some boards also wire an interrupt GPIO. The + touch controller is commonly powered from the same rails as the panel. + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + const: jadard,jd9365tx + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + poll-interval: true + + vdd-supply: + description: Analog / touch power supply + + iovcc-supply: + description: Digital I/O power supply + + reset-gpios: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@68 { + compatible = "jadard,jd9365tx"; + reg = <0x68>; + vdd-supply = <®_vdd>; + iovcc-supply = <®_iovcc>; + touchscreen-size-x = <720>; + touchscreen-size-y = <1280>; + poll-interval = <16>; + }; + }; +... -- 2.55.0.windows.5
