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

dt-bindings: input/touchscreen: bindings for Imagis

This patch adds device-tree bindings for the Imagis
IST3038C touch screen IC.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Markuss Broks <markuss.broks@gmail.com>
Link: https://lore.kernel.org/r/20220305165330.13061-2-markuss.broks@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Markuss Broks and committed by
Dmitry Torokhov
0ce25e4b e4ce4d3a

+76
+74
Documentation/devicetree/bindings/input/touchscreen/imagis,ist3038c.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/imagis,ist3038c.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Imagis IST30XXC family touchscreen controller bindings 8 + 9 + maintainers: 10 + - Markuss Broks <markuss.broks@gmail.com> 11 + 12 + allOf: 13 + - $ref: touchscreen.yaml# 14 + 15 + properties: 16 + $nodename: 17 + pattern: "^touchscreen@[0-9a-f]+$" 18 + 19 + compatible: 20 + enum: 21 + - imagis,ist3038c 22 + 23 + reg: 24 + maxItems: 1 25 + 26 + interrupts: 27 + maxItems: 1 28 + 29 + vdd-supply: 30 + description: Power supply regulator for the chip 31 + 32 + vddio-supply: 33 + description: Power supply regulator for the I2C bus 34 + 35 + touchscreen-size-x: true 36 + touchscreen-size-y: true 37 + touchscreen-fuzz-x: true 38 + touchscreen-fuzz-y: true 39 + touchscreen-inverted-x: true 40 + touchscreen-inverted-y: true 41 + touchscreen-swapped-x-y: true 42 + 43 + additionalProperties: false 44 + 45 + required: 46 + - compatible 47 + - reg 48 + - interrupts 49 + - touchscreen-size-x 50 + - touchscreen-size-y 51 + 52 + examples: 53 + - | 54 + #include <dt-bindings/interrupt-controller/irq.h> 55 + i2c { 56 + #address-cells = <1>; 57 + #size-cells = <0>; 58 + touchscreen@50 { 59 + compatible = "imagis,ist3038c"; 60 + reg = <0x50>; 61 + interrupt-parent = <&gpio>; 62 + interrupts = <13 IRQ_TYPE_EDGE_FALLING>; 63 + vdd-supply = <&ldo1_reg>; 64 + vddio-supply = <&ldo2_reg>; 65 + touchscreen-size-x = <720>; 66 + touchscreen-size-y = <1280>; 67 + touchscreen-fuzz-x = <10>; 68 + touchscreen-fuzz-y = <10>; 69 + touchscreen-inverted-x; 70 + touchscreen-inverted-y; 71 + }; 72 + }; 73 + 74 + ...
+2
Documentation/devicetree/bindings/vendor-prefixes.yaml
··· 545 545 description: Ingenieurburo Fur Ic-Technologie (I/F/I) 546 546 "^ilitek,.*": 547 547 description: ILI Technology Corporation (ILITEK) 548 + "^imagis,.*": 549 + description: Imagis Technologies Co., Ltd. 548 550 "^img,.*": 549 551 description: Imagination Technologies Ltd. 550 552 "^imi,.*":