linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/8] dt-bindings: calxeda: Convert bindings to json-schema
@ 2020-04-30 21:10 Andre Przywara
  2020-04-30 21:10 ` [PATCH v3 1/8] dt-bindings: clock: Convert Calxeda clock " Andre Przywara
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Andre Przywara @ 2020-04-30 21:10 UTC (permalink / raw)
  To: Rob Herring, devicetree; +Cc: Maxime Ripard, linux-kernel, linux-arm-kernel

Hi,

this is the DT schema bindings conversion part of the v2 Calxeda update
series. The .dts part was already merged, so this tackles what is left.

This series converts the "prose" DT binding documentation for various
devices used by the Calxeda platform to the json-schema format, so that
the automatic checking actually does something useful.
After those patches "make dtbs_check" comes back clean for the two .dts
files in the kernel, and "dt_validate -m" reports only those three
not-covered nodes (on Highbank, only the last one on Midway):
arm,cortex-a9-twd-timer
arm,cortex-a9-twd-wdt
calxeda,hb-sdhci
The first two are generic ARM devices, for which the binding doc just
does not have been converted yet. The SDHCI controller is actually
disabled in the DTs, and the SD slot is populated on very few special
systems only, also there has never been a driver in the kernel for
this device anyway.

Verified by trying to break every single assumption the bindings make
(in their example section): the tooling complained correctly.

Thanks,
Andre

Changelog:
v2 ... v3:
- adjust license to name both BSD and GPL
- add missing address specifier for clock nodes' names
- properly group phandle properties in SATA bindings example
- use itemised interrupt description in l2ecc binding
- limit reg-shift in the IPMI binding
- allow device_type property in IPMI binding

v1 ... v2:
- Remove unneeded property type from clocks and sgpio-gpio
- add additionalProperties: false to bindings missing it before
- limit number in "phydev" to the hardware constraint of 5 bits
- add required: properties to l2ecc binding
- fix enumeration of compatible strings in calxeda-ddr-ctrlr

Andre Przywara (8):
  dt-bindings: clock: Convert Calxeda clock bindings to json-schema
  dt-bindings: sata: Convert Calxeda SATA controller to json-schema
  dt-bindings: net: Convert Calxeda Ethernet binding to json-schema
  dt-bindings: phy: Convert Calxeda ComboPHY binding to json-schema
  dt-bindings: arm: Convert Calxeda L2 cache controller to json-schema
  dt-bindings: memory-controllers: Convert Calxeda DDR to json-schema
  dt-bindings: ipmi: Convert IPMI-SMIC bindings to json-schema
  dt-bindings: arm: Add Calxeda system registers json-schema binding

 .../bindings/arm/calxeda/hb-sregs.yaml        | 49 ++++++++++
 .../devicetree/bindings/arm/calxeda/l2ecc.txt | 15 ---
 .../bindings/arm/calxeda/l2ecc.yaml           | 42 ++++++++
 .../devicetree/bindings/ata/sata_highbank.txt | 44 ---------
 .../bindings/ata/sata_highbank.yaml           | 95 +++++++++++++++++++
 .../devicetree/bindings/clock/calxeda.txt     | 17 ----
 .../devicetree/bindings/clock/calxeda.yaml    | 82 ++++++++++++++++
 .../devicetree/bindings/ipmi/ipmi-smic.txt    | 25 -----
 .../devicetree/bindings/ipmi/ipmi-smic.yaml   | 63 ++++++++++++
 .../memory-controllers/calxeda-ddr-ctrlr.txt  | 16 ----
 .../memory-controllers/calxeda-ddr-ctrlr.yaml | 42 ++++++++
 .../devicetree/bindings/net/calxeda-xgmac.txt | 18 ----
 .../bindings/net/calxeda-xgmac.yaml           | 49 ++++++++++
 .../bindings/phy/calxeda-combophy.txt         | 17 ----
 .../bindings/phy/calxeda-combophy.yaml        | 51 ++++++++++
 15 files changed, 473 insertions(+), 152 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/calxeda/hb-sregs.yaml
 delete mode 100644 Documentation/devicetree/bindings/arm/calxeda/l2ecc.txt
 create mode 100644 Documentation/devicetree/bindings/arm/calxeda/l2ecc.yaml
 delete mode 100644 Documentation/devicetree/bindings/ata/sata_highbank.txt
 create mode 100644 Documentation/devicetree/bindings/ata/sata_highbank.yaml
 delete mode 100644 Documentation/devicetree/bindings/clock/calxeda.txt
 create mode 100644 Documentation/devicetree/bindings/clock/calxeda.yaml
 delete mode 100644 Documentation/devicetree/bindings/ipmi/ipmi-smic.txt
 create mode 100644 Documentation/devicetree/bindings/ipmi/ipmi-smic.yaml
 delete mode 100644 Documentation/devicetree/bindings/memory-controllers/calxeda-ddr-ctrlr.txt
 create mode 100644 Documentation/devicetree/bindings/memory-controllers/calxeda-ddr-ctrlr.yaml
 delete mode 100644 Documentation/devicetree/bindings/net/calxeda-xgmac.txt
 create mode 100644 Documentation/devicetree/bindings/net/calxeda-xgmac.yaml
 delete mode 100644 Documentation/devicetree/bindings/phy/calxeda-combophy.txt
 create mode 100644 Documentation/devicetree/bindings/phy/calxeda-combophy.yaml

-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-05-03 15:58 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30 21:10 [PATCH v3 0/8] dt-bindings: calxeda: Convert bindings to json-schema Andre Przywara
2020-04-30 21:10 ` [PATCH v3 1/8] dt-bindings: clock: Convert Calxeda clock " Andre Przywara
2020-05-03 15:55   ` Rob Herring
2020-04-30 21:10 ` [PATCH v3 2/8] dt-bindings: sata: Convert Calxeda SATA controller " Andre Przywara
2020-05-03 15:55   ` Rob Herring
2020-04-30 21:10 ` [PATCH v3 3/8] dt-bindings: net: Convert Calxeda Ethernet binding " Andre Przywara
2020-05-03 15:55   ` Rob Herring
2020-04-30 21:10 ` [PATCH v3 4/8] dt-bindings: phy: Convert Calxeda ComboPHY " Andre Przywara
2020-05-03 15:55   ` Rob Herring
2020-04-30 21:10 ` [PATCH v3 5/8] dt-bindings: arm: Convert Calxeda L2 cache controller " Andre Przywara
2020-05-03 15:55   ` Rob Herring
2020-04-30 21:10 ` [PATCH v3 6/8] dt-bindings: memory-controllers: Convert Calxeda DDR " Andre Przywara
2020-05-03 15:56   ` Rob Herring
2020-04-30 21:10 ` [PATCH v3 7/8] dt-bindings: ipmi: Convert IPMI-SMIC bindings " Andre Przywara
2020-05-03 15:56   ` Rob Herring
2020-04-30 21:10 ` [PATCH v3 8/8] dt-bindings: arm: Add Calxeda system registers json-schema binding Andre Przywara
2020-05-03 15:56   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).