]> git.baikalelectronics.ru Git - kernel.git/commit
Input: cyttsp - convert bindings to YAML and extend
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 26 May 2021 23:34:25 +0000 (16:34 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 26 May 2021 23:58:57 +0000 (16:58 -0700)
commitfa5544dbcda88ac53b7dc9632fe27e459cbbc024
tree485b1113e2be92eb7c2357ff024d09175eb3139e
parentc0cbe8fad1dd7b28933123d49e27f2cfc06a29be
Input: cyttsp - convert bindings to YAML and extend

This converts the CYTTSP "Cypress TrueTouch Standard Product"
to YAML bindings and fixes and adds some things in the process:

- Rename the bindings file to cypress,cy8ctma340 after the main
  product in the series.
- Add proper compatibles for the two known products:
  CY8CTMA340 and CY8CTST341.
- Deprecate "cypress,cyttsp-spi" and "cypress,cyttsp-i2c"
  because device compatibles should be named after the
  hardware and not after which bus they are connected to.
  The topology implicitly tells us which bus it is and what
  interface to used.
- Add VCPIN and VDD supplies, these are present just like
  on the CY8CTMA140.

Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210526230352.1433537-1-linus.walleij@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/cypress,cy8ctma340.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/input/touchscreen/cyttsp.txt [deleted file]