mbox series

[v2,0/2] Convert touchscreen bindings to json-schema

Message ID 20200108091118.5130-1-benjamin.gaignard@st.com (mailing list archive)
Headers show
Series Convert touchscreen bindings to json-schema | expand

Message

Benjamin GAIGNARD Jan. 8, 2020, 9:11 a.m. UTC
This series convert Goodix touchscreen used on STM32 boards to json-schema.
Before converting goodix bindings itself it add a schema for common
touchscreen properties.

version 2:
- remove old definition in touchscreen.txt
- add type for all properties
- add dependencies between properties 
- enumerate goodix's I2C adresses
- add description for irq-gpio property
- reference the common properties used by goodix

Benjamin Gaignard (2):
  dt-bindings: touchscreen: Add touchscreen schema
  dt-bindings: touchscreen: Convert Goodix touchscreen to json-schema

 .../bindings/input/touchscreen/goodix.txt          | 50 -------------
 .../bindings/input/touchscreen/goodix.yaml         | 78 ++++++++++++++++++++
 .../bindings/input/touchscreen/touchscreen.txt     | 40 +----------
 .../bindings/input/touchscreen/touchscreen.yaml    | 83 ++++++++++++++++++++++
 4 files changed, 162 insertions(+), 89 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/goodix.txt
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/goodix.yaml
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml