From: Andre Przywara <andre.przywara@arm.com> To: Rob Herring <robh@kernel.org>, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Maxime Ripard <mripard@kernel.org> Subject: [PATCH v3 0/8] dt-bindings: calxeda: Convert bindings to json-schema Date: Thu, 30 Apr 2020 22:10:46 +0100 [thread overview] Message-ID: <20200430211054.30466-1-andre.przywara@arm.com> (raw) 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
WARNING: multiple messages have this Message-ID (diff)
From: Andre Przywara <andre.przywara@arm.com> To: Rob Herring <robh@kernel.org>, devicetree@vger.kernel.org Cc: Maxime Ripard <mripard@kernel.org>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 0/8] dt-bindings: calxeda: Convert bindings to json-schema Date: Thu, 30 Apr 2020 22:10:46 +0100 [thread overview] Message-ID: <20200430211054.30466-1-andre.przywara@arm.com> (raw) 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
next reply other threads:[~2020-04-30 21:11 UTC|newest] Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-04-30 21:10 Andre Przywara [this message] 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-04-30 21:10 ` Andre Przywara 2020-05-03 15:55 ` Rob Herring 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-04-30 21:10 ` Andre Przywara 2020-05-03 15:55 ` Rob Herring 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-04-30 21:10 ` Andre Przywara 2020-05-03 15:55 ` Rob Herring 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-04-30 21:10 ` Andre Przywara 2020-05-03 15:55 ` Rob Herring 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-04-30 21:10 ` Andre Przywara 2020-05-03 15:55 ` Rob Herring 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-04-30 21:10 ` Andre Przywara 2020-05-03 15:56 ` Rob Herring 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-04-30 21:10 ` Andre Przywara 2020-05-03 15:56 ` Rob Herring 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-04-30 21:10 ` Andre Przywara 2020-05-03 15:56 ` Rob Herring 2020-05-03 15:56 ` Rob Herring
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200430211054.30466-1-andre.przywara@arm.com \ --to=andre.przywara@arm.com \ --cc=devicetree@vger.kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mripard@kernel.org \ --cc=robh@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.