Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: input: convert semtech,sx8654 to yaml format

Convert sx8654.txt to yaml format.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250904191731.528145-1-Frank.Li@nxp.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Frank Li and committed by
Dmitry Torokhov
3cc08f91 618f571a

+52 -23
+52
Documentation/devicetree/bindings/input/touchscreen/semtech,sx8654.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/input/touchscreen/semtech,sx8654.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Semtech SX8654 I2C Touchscreen Controller 8 + 9 + maintainers: 10 + - Frank Li <Frank.Li@nxp.com> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - semtech,sx8650 16 + - semtech,sx8654 17 + - semtech,sx8655 18 + - semtech,sx8656 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + interrupts: 24 + maxItems: 1 25 + 26 + reset-gpios: 27 + maxItems: 1 28 + 29 + required: 30 + - compatible 31 + - reg 32 + - interrupts 33 + 34 + additionalProperties: false 35 + 36 + examples: 37 + - | 38 + #include <dt-bindings/gpio/gpio.h> 39 + #include <dt-bindings/interrupt-controller/irq.h> 40 + 41 + i2c { 42 + #address-cells = <1>; 43 + #size-cells = <0>; 44 + 45 + touchscreen@48 { 46 + compatible = "semtech,sx8654"; 47 + reg = <0x48>; 48 + interrupt-parent = <&gpio6>; 49 + interrupts = <3 IRQ_TYPE_EDGE_FALLING>; 50 + reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; 51 + }; 52 + };
-23
Documentation/devicetree/bindings/input/touchscreen/sx8654.txt
··· 1 - * Semtech SX8654 I2C Touchscreen Controller 2 - 3 - Required properties: 4 - - compatible: must be one of the following, depending on the model: 5 - "semtech,sx8650" 6 - "semtech,sx8654" 7 - "semtech,sx8655" 8 - "semtech,sx8656" 9 - - reg: i2c slave address 10 - - interrupts: touch controller interrupt 11 - 12 - Optional properties: 13 - - reset-gpios: GPIO specification for the NRST input 14 - 15 - Example: 16 - 17 - sx8654@48 { 18 - compatible = "semtech,sx8654"; 19 - reg = <0x48>; 20 - interrupt-parent = <&gpio6>; 21 - interrupts = <3 IRQ_TYPE_EDGE_FALLING>; 22 - reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; 23 - };