[PATCH v3 0/2] dt-bindings: gpio: davinci: Convert to json-schema

Aswath Govindraju posted 2 patches 2 years, 11 months ago
.../devicetree/bindings/gpio/gpio-davinci.txt | 167 ----------------
.../bindings/gpio/gpio-davinci.yaml           | 186 ++++++++++++++++++
MAINTAINERS                                   |   2 +-
arch/arm/boot/dts/da850-lego-ev3.dts          |  10 +-
4 files changed, 192 insertions(+), 173 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-davinci.txt
create mode 100644 Documentation/devicetree/bindings/gpio/gpio-davinci.yaml
[PATCH v3 0/2] dt-bindings: gpio: davinci: Convert to json-schema
Posted by Aswath Govindraju 2 years, 11 months ago
Convert the davinci GPIO device tree binding documentation to json-schema.
The GPIO hog node names are defined to end with a 'hog' suffix.

All existing GPIO hogs are fixed to follow above naming convention
before changing the binding to avoid dtbs_check warnings.

changes since v2:
- Used gpio-hog.yaml for gpio-hog property
- Added constraints on gpio-hog node name
- Corrected the gpio hog dt node names to align
  with the dt-schema

changes since v1:
- combined the individual compatible properties into one enum
- added maxItems and minItems properties for gpio-line-names and
  interrupts
- updated the description of interrupts property
- removed the description for properties that are general
- updated the pattern property for gpio hog to indicate any sort
  node name based on its usage
- corrected the example wakeup gpio node name

Aswath Govindraju (2):
  ARM: dts: da850-lego-ev3: align GPIO hog names with dt-schema
  dt-bindings: gpio: gpio-davinci: Convert to json-schema

 .../devicetree/bindings/gpio/gpio-davinci.txt | 167 ----------------
 .../bindings/gpio/gpio-davinci.yaml           | 186 ++++++++++++++++++
 MAINTAINERS                                   |   2 +-
 arch/arm/boot/dts/da850-lego-ev3.dts          |  10 +-
 4 files changed, 192 insertions(+), 173 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-davinci.txt
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-davinci.yaml

-- 
2.17.1