Re: [PATCH 2/4] Documentation: DT: bindings: input: Add documentation for cyttsp5

From: Linus Walleij
Date: Mon Oct 25 2021 - 19:18:41 EST


Hi Alistair,

On Mon, Oct 25, 2021 at 1:42 PM Alistair Francis <alistair@xxxxxxxxxxxxx> wrote:

> From: Mylène Josserand <mylene.josserand@xxxxxxxxxxxxxxxxxx>
>
> Add the Cypress TrueTouch Generation 5 touchscreen device tree bindings
> documentation. It can use I2C or SPI bus.
> This touchscreen can handle some defined zone that are designed and
> sent as button. To be able to customize the keycode sent, the
> "linux,code" property in a "button" sub-node can be used.
>
> Signed-off-by: Mylène Josserand <mylene.josserand@xxxxxxxxxxxxxxxxxx>
> Message-Id: <20170529144538.29187-3-mylene.josserand@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Alistair Francis <alistair@xxxxxxxxxxxxx>

> +title: Cypress cyttsp touchscreen controller, generation 5
(...)
> + compatible:
> + const: cypress,cyttsp5

Is this the real product name? When I rewrote the bindings for
the original "CYTTSP", actually "Cypress TrueTouch Standard Product"
it came out that the actual product names were CY8CTMA340
and CY8CTMA341. "CYTTSP" was a marketing name for the
whole family.

See
Documentation/devicetree/bindings/input/touchscreen/cypress,cy8ctma340.yaml

If the actual products have some product names such as
CY8* then use these as compatibles instead and just write in the
decription that it is Cypress TrueTouch Standard Product series 5.

Yours,
Linus Walleij