]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: input/ts/zinitix: Convert to YAML, fix and extend
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 9 Jan 2022 07:21:55 +0000 (23:21 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 9 Jan 2022 07:27:03 +0000 (23:27 -0800)
commitaf76fd2f31aa4ec02fdf2f0f920087a18b5e5ea0
tree535f766eec56891e7ee31d9a807803412eb4857c
parenta3362ec03c10339b671894e264e3ba47c766fbcc
dt-bindings: input/ts/zinitix: Convert to YAML, fix and extend

This converts the Zinitix BT4xx and BT5xx touchscreen bindings to YAML,
fix them up a bit and extends them.

We list all the existing BT4xx and BT5xx components with compatible
strings.  These are all similar, use the same bindings and work in
similar ways.

We rename the supplies from the erroneous vdd/vddo to the actual supply
names vcca/vdd as specified on the actual component. It is long
established that supplies shall be named after the supply pin names of a
component.  The confusion probably stems from that in a certain product
the rails to the component were named vdd/vddo. Drop some notes on how OS
implementations should avoid confusion by first looking for vddo, and if
that exists assume the legacy binding pair and otherwise use vcca/vdd.

Add reset-gpios as sometimes manufacturers pulls a GPIO line to the reset
line on the chip.

Add optional touchscreen-fuzz-x and touchscreen-fuzz-y properties.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
[Fixed dt_schema_check]
Signed-off-by: Nikita Travkin <nikita@trvn.ru>
Link: https://lore.kernel.org/r/20220106072840.36851-3-nikita@trvn.ru
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/zinitix,bt400.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/input/touchscreen/zinitix.txt [deleted file]