Signed-off-by: Hefei <[email protected]> Co-authored-by: Cursor <[email protected]> --- .../input/touchscreen/jadard,jd9365tx.yaml | 64 +++++++++++++++++++ 1 file changed, 64 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..aaf2a7e --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/jadard,jd9365tx.yaml @@ -0,0 +1,64 @@ +# 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. The module FPC + often exposes only I2C (no interrupt GPIO); the driver polls coordinate + reports. The touch controller is commonly powered from the same rails as + the panel; those supplies should still be described here when dedicated + regulators exist. + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + const: jadard,jd9365tx + + reg: + 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 + - vdd-supply + - iovcc-supply + +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
