dt-bindings: touchscreen: trivial-touch: add reset-gpios and wakeup-source
Subsystems (5)
Frank Li
maintainerPATCH v4 1/2 dt-bindings: touchscreen: trivial-touch: add reset-gpios and wakeup-source
Add optional reset-gpios and wakeup-source properties.
---
change in v4
- rebase to next since v2 already pick up
- pick rob review tags
change in v3
- add wakeup-source and reset-gpios optional properties
change in v2
new patch
previous discussion
https://lore.kernel.org/imx/20250925-swimming-overspend-ddf7ab4a252c@spud/T/#t
--- .../devicetree/bindings/input/touchscreen/trivial-touch.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/input/touchscreen/trivial-touch.yaml +5 -0
@@ -23,6 +23,11 @@ properties: interrupts: maxItems: 1 + reset-gpios: + maxItems: 1 + + wakeup-source: true + allOf: - $ref: touchscreen.yaml
Signature · 1 line
2.34.1
Frank Li
maintainerPATCH v4 2/2 dt-bindings: touchscreen: consolidate simple touch controller to trivial-touch.yaml
Move azoteq,iqs5xx.yaml, himax,hx83112b.yaml, hynitron,cstxxx.yaml, ilitek_ts_i2c.yaml, semtech,sx8654.yaml, ar1021.txt to trivial-touch.yaml to consolidate simple touch yaml binding to one file.
---
change in v4
- add Reviewed-by: Rob Herring review tags
- rebase to next since v2 already pickup.
change in v3
move more files into trivial-touch.yaml
don't add rob's review by because big change
prevous discussion at
https://lore.kernel.org/imx/[email protected]/T/#m35cfaaee8239b7a9aad3354b80de5f44d267c2e9
change in v2
move to trivial-touch.yaml
previous discussion
https://lore.kernel.org/imx/20250925-swimming-overspend-ddf7ab4a252c@spud/T/#t --- .../input/touchscreen/azoteq,iqs5xx.yaml | 75 ------------------ .../input/touchscreen/himax,hx83112b.yaml | 64 ---------------- .../input/touchscreen/hynitron,cstxxx.yaml | 65 ---------------- .../input/touchscreen/ilitek_ts_i2c.yaml | 76 ------------------- .../input/touchscreen/semtech,sx8654.yaml | 52 ------------- .../input/touchscreen/trivial-touch.yaml | 29 +++++++ 6 files changed, 29 insertions(+), 332 deletions(-) delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/azoteq,iqs5xx.yaml delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/himax,hx83112b.yaml delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/hynitron,cstxxx.yaml delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/ilitek_ts_i2c.yaml delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/semtech,sx8654.yaml
Documentation/devicetree/bindings/input/touchscreen/azoteq,iqs5xx.yaml deleted +0 -75
@@ -1,75 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/touchscreen/azoteq,iqs5xx.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Azoteq IQS550/572/525 Trackpad/Touchscreen Controller - -maintainers: - - Jeff LaBundy <[email protected]> - -description: | - The Azoteq IQS550, IQS572 and IQS525 trackpad and touchscreen controllers - employ projected-capacitance sensing and can track up to five independent - contacts. - - Link to datasheet: https://www.azoteq.com/ - -allOf: - - $ref: touchscreen.yaml# - -properties: - compatible: - enum: - - azoteq,iqs550 - - azoteq,iqs572 - - azoteq,iqs525 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - reset-gpios: - maxItems: 1 - - wakeup-source: true - - touchscreen-size-x: true - touchscreen-size-y: true - touchscreen-inverted-x: true - touchscreen-inverted-y: true - touchscreen-swapped-x-y: true - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - #include <dt-bindings/gpio/gpio.h> - #include <dt-bindings/interrupt-controller/irq.h> - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - touchscreen@74 { - compatible = "azoteq,iqs550"; - reg = <0x74>; - interrupt-parent = <&gpio>; - interrupts = <27 IRQ_TYPE_LEVEL_HIGH>; - reset-gpios = <&gpio 22 (GPIO_ACTIVE_LOW | - GPIO_PUSH_PULL)>; - - touchscreen-size-x = <800>; - touchscreen-size-y = <480>; - }; - }; - -...
Documentation/devicetree/bindings/input/touchscreen/himax,hx83112b.yaml deleted +0 -64
64 lines not on this page · raw message
Documentation/devicetree/bindings/input/touchscreen/hynitron,cstxxx.yaml deleted +0 -65
65 lines not on this page · raw message
Documentation/devicetree/bindings/input/touchscreen/ilitek_ts_i2c.yaml deleted +0 -76
76 lines not on this page · raw message
Documentation/devicetree/bindings/input/touchscreen/semtech,sx8654.yaml deleted +0 -52
52 lines not on this page · raw message
Documentation/devicetree/bindings/input/touchscreen/trivial-touch.yaml +29 -0
@@ -12,10 +12,39 @@ maintainers: properties: compatible: enum: + # The Azoteq IQS550, IQS572 and IQS525 trackpad and touchscreen controllers + - azoteq,iqs550 + - azoteq,iqs572 + - azoteq,iqs525 + # Himax hx83100a touchscreen controller + - himax,hx83100a + # Himax hx83112b touchscreen controller + - himax,hx83112b + # Hynitron cstxxx series touchscreen controller + - hynitron,cst340 + # Ilitek I2C Touchscreen Controller + - ilitek,ili210x + - ilitek,ili2117 + - ilitek,ili2120 + - ilitek,ili2130 + - ilitek,ili2131 + - ilitek,ili2132 + - ilitek,ili2316 + - ilitek,ili2322 + - ilitek,ili2323 + - ilitek,ili2326 + - ilitek,ili251x + - ilitek,ili2520 + - ilitek,ili2521 # MAXI MAX11801 Resistive touch screen controller with i2c interface - maxim,max11801 # Microchip AR1020 and AR1021 touchscreen interface (I2C) - microchip,ar1021-i2c + # Trivial touch screen controller with i2c interface + - semtech,sx8650 + - semtech,sx8654 + - semtech,sx8655 + - semtech,sx8656 reg: maxItems: 1
Signature · 1 line
2.34.1
Re: [PATCH v4 2/2] dt-bindings: touchscreen: consolidate simple touch controller to trivial-touch.yaml
Quoted 6 lines · Frank Li
Move azoteq,iqs5xx.yaml, himax,hx83112b.yaml, hynitron,cstxxx.yaml,
ilitek_ts_i2c.yaml, semtech,sx8654.yaml, ar1021.txt totrivial-touch.yamlto consolidate simple touch yaml binding to one file.Reviewed-by Rob Herring (Arm) <[email protected]>Signed-off-by Frank Li <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry
Quoted 4 lines · Frank Li
Add optional reset-gpios and wakeup-source properties.
Reviewed-by Rob Herring (Arm) <[email protected]>Signed-off-by Frank Li <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry