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)
commit4b48d935a5e027188d5fd6fd3ce2ee2da1811a0e
tree485b1113e2be92eb7c2357ff024d09175eb3139e
parentfb082cd59afa7fbd3a610e9835050675040b1b99
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]