[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YYBehK8JfcxN/geo@robh.at.kernel.org>
Date: Mon, 1 Nov 2021 16:39:16 -0500
From: Rob Herring <robh@...nel.org>
To: Nikita Travkin <nikita@...n.ru>
Cc: linux-kernel@...r.kernel.org, dmitry.torokhov@...il.com,
~postmarketos/upstreaming@...ts.sr.ht, broonie@...nel.org,
devicetree@...r.kernel.org, linus.walleij@...aro.org,
Michael.Srba@...nam.cz, robh+dt@...nel.org,
phone-devel@...r.kernel.org, linux-input@...r.kernel.org
Subject: Re: [PATCH 2/6] dt-bindings: input/ts/zinitix: Convert to YAML, fix
and extend
On Wed, 27 Oct 2021 23:13:46 +0500, Nikita Travkin wrote:
> From: Linus Walleij <linus.walleij@...aro.org>
>
> 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.
>
> Cc: Mark Brown <broonie@...nel.org>
> Cc: Michael Srba <Michael.Srba@...nam.cz>
> Cc: phone-devel@...r.kernel.org
> Cc: devicetree@...r.kernel.org
> Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
> [Fixed dt_schema_check error]
> Signed-off-by: Nikita Travkin <nikita@...n.ru>
> ---
> This patch was previously submited here:
> https://lore.kernel.org/linux-input/20210625113435.2539282-1-linus.walleij@linaro.org/
>
> Changes since the original patch:
> - Use enum for compatible list instead of oneOf + const
> ---
> .../input/touchscreen/zinitix,bt400.yaml | 115 ++++++++++++++++++
> .../bindings/input/touchscreen/zinitix.txt | 40 ------
> 2 files changed, 115 insertions(+), 40 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/input/touchscreen/zinitix,bt400.yaml
> delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/zinitix.txt
>
Reviewed-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists