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: touchscreen: convert fsl-mx25-tcq.txt to yaml

Convert fsl-mx25-tcq.txt to yaml.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260211-yaml_mfd-v1-1-05cb48bc6f09@nxp.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

authored by

Frank Li and committed by
Rob Herring (Arm)
c1bf6571 15cfc898

+69 -34
+69
Documentation/devicetree/bindings/input/touchscreen/fsl,imx25-tcq.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/fsl,imx25-tcq.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Freescale mx25 TS conversion queue module 8 + 9 + maintainers: 10 + - Frank Li <Frank.Li@nxp.com> 11 + 12 + description: 13 + mx25 touchscreen conversion queue module which controls the ADC unit of the 14 + mx25 for attached touchscreens. 15 + 16 + properties: 17 + compatible: 18 + const: fsl,imx25-tcq 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + interrupts: 24 + maxItems: 1 25 + 26 + fsl,wires: 27 + description: touch wires number. 28 + $ref: /schemas/types.yaml#/definitions/uint32 29 + enum: [4, 5] 30 + 31 + fsl,pen-debounce-ns: 32 + description: 33 + Pen debounce time in nanoseconds. 34 + 35 + fsl,pen-threshold: 36 + $ref: /schemas/types.yaml#/definitions/uint32 37 + description: 38 + Pen-down threshold for the touchscreen. This is a value 39 + between 1 and 4096. It is the ratio between the internal reference voltage 40 + and the measured voltage after the plate was precharged. Resistance between 41 + plates and therefore the voltage decreases with pressure so that a smaller 42 + value is equivalent to a higher pressure. 43 + 44 + fsl,settling-time-ns: 45 + description: 46 + Settling time in nanoseconds. The settling time is before 47 + the actual touch detection to wait for an even charge distribution in the 48 + plate. 49 + 50 + allOf: 51 + - $ref: touchscreen.yaml 52 + 53 + required: 54 + - compatible 55 + - reg 56 + - interrupts 57 + - fsl,wires 58 + 59 + unevaluatedProperties: false 60 + 61 + examples: 62 + - | 63 + touchscreen@50030400 { 64 + compatible = "fsl,imx25-tcq"; 65 + reg = <0x50030400 0x60>; 66 + interrupt-parent = <&tscadc>; 67 + interrupts = <0>; 68 + fsl,wires = <4>; 69 + };
-34
Documentation/devicetree/bindings/input/touchscreen/fsl-mx25-tcq.txt
··· 1 - Freescale mx25 TS conversion queue module 2 - 3 - mx25 touchscreen conversion queue module which controls the ADC unit of the 4 - mx25 for attached touchscreens. 5 - 6 - Required properties: 7 - - compatible: Should be "fsl,imx25-tcq". 8 - - reg: Memory range of the device. 9 - - interrupts: Should be the interrupt number associated with this module within 10 - the tscadc unit (<0>). 11 - - fsl,wires: Should be '<4>' or '<5>' 12 - 13 - Optional properties: 14 - - fsl,pen-debounce-ns: Pen debounce time in nanoseconds. 15 - - fsl,pen-threshold: Pen-down threshold for the touchscreen. This is a value 16 - between 1 and 4096. It is the ratio between the internal reference voltage 17 - and the measured voltage after the plate was precharged. Resistance between 18 - plates and therefore the voltage decreases with pressure so that a smaller 19 - value is equivalent to a higher pressure. 20 - - fsl,settling-time-ns: Settling time in nanoseconds. The settling time is before 21 - the actual touch detection to wait for an even charge distribution in the 22 - plate. 23 - 24 - This device includes two conversion queues which can be added as subnodes. 25 - The first queue is for the touchscreen, the second for general purpose ADC. 26 - 27 - Example: 28 - tsc: tcq@50030400 { 29 - compatible = "fsl,imx25-tcq"; 30 - reg = <0x50030400 0x60>; 31 - interrupt-parent = <&tscadc>; 32 - interrupts = <0>; 33 - fsl,wires = <4>; 34 - };