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

dt-bindings: input/touchscreen: add bindings for zinitix

This patch adds dts bindings for the zinitix bt541 touchscreen.

Signed-off-by: Michael Srba <Michael.Srba@seznam.cz>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20201001122949.16846-2-michael.srba@seznam.cz
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Michael Srba and committed by
Dmitry Torokhov
8f445ffa 2c2b364f

+42
+40
Documentation/devicetree/bindings/input/touchscreen/zinitix.txt
··· 1 + Device tree bindings for Zinitx BT541 touchscreen controller 2 + 3 + Required properties: 4 + 5 + - compatible : Should be "zinitix,bt541" 6 + - reg : I2C address of the chip. Should be 0x20 7 + - interrupts : Interrupt to which the chip is connected 8 + 9 + Optional properties: 10 + 11 + - vdd-supply : Analog power supply regulator on VCCA pin 12 + - vddo-supply : Digital power supply regulator on VDD pin 13 + - zinitix,mode : Mode of reporting touch points. Some modes may not work 14 + with a particular ts firmware for unknown reasons. Available 15 + modes are 1 and 2. Mode 2 is the default and preferred. 16 + 17 + The touchscreen-* properties are documented in touchscreen.txt in this 18 + directory. 19 + 20 + Example: 21 + 22 + i2c@00000000 { 23 + /* ... */ 24 + 25 + bt541@20 { 26 + compatible = "zinitix,bt541"; 27 + reg = <0x20>; 28 + interrupt-parent = <&msmgpio>; 29 + interrupts = <13 IRQ_TYPE_EDGE_FALLING>; 30 + pinctrl-names = "default"; 31 + pinctrl-0 = <&tsp_default>; 32 + vdd-supply = <&reg_vdd_tsp>; 33 + vddo-supply = <&pm8916_l6>; 34 + touchscreen-size-x = <540>; 35 + touchscreen-size-y = <960>; 36 + zinitix,mode = <2>; 37 + }; 38 + 39 + /* ... */ 40 + };
+2
Documentation/devicetree/bindings/vendor-prefixes.yaml
··· 1143 1143 description: Shenzhen Zidoo Technology Co., Ltd. 1144 1144 "^zii,.*": 1145 1145 description: Zodiac Inflight Innovations 1146 + "^zinitix,.*": 1147 + description: Zinitix Co., Ltd 1146 1148 "^zte,.*": 1147 1149 description: ZTE Corp. 1148 1150 "^zyxel,.*":