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 TS-4800 to DT schema

Convert the TS-4800 touchscreen bindings to DT schema.

Signed-off-by: Eduard Bostina <egbostina@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260316181038.9771-1-egbostina@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Eduard Bostina and committed by
Dmitry Torokhov
35e688ec b8303880

+42 -11
+42
Documentation/devicetree/bindings/input/touchscreen/technologic,ts4800-ts.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/technologic,ts4800-ts.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: TS-4800 Touchscreen 8 + 9 + maintainers: 10 + - Eduard Bostina <egbostina@gmail.com> 11 + 12 + properties: 13 + compatible: 14 + const: technologic,ts4800-ts 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + syscon: 20 + $ref: /schemas/types.yaml#/definitions/phandle-array 21 + items: 22 + - items: 23 + - description: Phandle to the FPGA's syscon 24 + - description: Offset to the touchscreen register 25 + - description: Offset to the touchscreen enable bit 26 + description: Phandle / integers array that points to the syscon node which 27 + describes the FPGA's syscon registers. 28 + 29 + required: 30 + - compatible 31 + - reg 32 + - syscon 33 + 34 + additionalProperties: false 35 + 36 + examples: 37 + - | 38 + touchscreen@1000 { 39 + compatible = "technologic,ts4800-ts"; 40 + reg = <0x1000 0x100>; 41 + syscon = <&fpga_syscon 0x20 3>; 42 + };
-11
Documentation/devicetree/bindings/input/touchscreen/ts4800-ts.txt
··· 1 - * TS-4800 Touchscreen bindings 2 - 3 - Required properties: 4 - - compatible: must be "technologic,ts4800-ts" 5 - - reg: physical base address of the controller and length of memory mapped 6 - region. 7 - - syscon: phandle / integers array that points to the syscon node which 8 - describes the FPGA's syscon registers. 9 - - phandle to FPGA's syscon 10 - - offset to the touchscreen register 11 - - offset to the touchscreen enable bit