dt-bindings: arm: bcm: Convert boards to YAML
Subsystems (4)
v2 cover dt-bindings: arm: bcm: Convert boards to YAML
Hi Rob, Maxime,
This patch series converts most files under D/dt-bindings/arm/bcm/ with the exception of bcm63138 and brcmstb to the YAML format. Those two may be split accordingly later on since document not just the root node.
Changes in v2:
- fixed typo in Vulcan binding
- simplified how SoC compatible strings are specified
- fixed filename in bcm2835 firmware binding
- added 'secondary-boot-reg' constraint
Florian Fainelli (12):
dt-bindings: arm: bcm: Convert Cygnus to YAML
dt-bindings: arm: bcm: Convert Hurricane 2 to YAML
dt-bindings: arm: bcm: Convert Northstar Plus to YAML
dt-bindings: arm: bcm: Convert Northstar 2 to YAML
dt-bindings: arm: bcm: Convert Stingray to YAML
dt-bindings: arm: bcm: Convert BCM21664 to YAML
dt-bindings: arm: bcm: Convert BCM23550 to YAML
dt-bindings: arm: bcm: Convert BCM4708 to YAML
dt-bindings: arm: bcm: Convert BCM11351 to YAML
dt-bindings: arm: bcm: Convert Vulcan to YAML
dt-bindings: arm: Document Broadcom SoCs 'secondary-boot-reg'
dt-bindings: arm: bcm: Convert BCM2835 firmware binding to YAML
.../arm/bcm/brcm,bcm11351-cpu-method.txt | 36 -------- .../bindings/arm/bcm/brcm,bcm11351.txt | 10 --- .../bindings/arm/bcm/brcm,bcm11351.yaml | 21 +++++ .../bindings/arm/bcm/brcm,bcm21664.txt | 15 ---- .../bindings/arm/bcm/brcm,bcm21664.yaml | 21 +++++ .../arm/bcm/brcm,bcm23550-cpu-method.txt | 36 -------- .../bindings/arm/bcm/brcm,bcm23550.txt | 15 ---- .../bindings/arm/bcm/brcm,bcm23550.yaml | 21 +++++ .../bindings/arm/bcm/brcm,bcm4708.txt | 15 ---- .../bindings/arm/bcm/brcm,bcm4708.yaml | 88 +++++++++++++++++++ .../bindings/arm/bcm/brcm,cygnus.txt | 31 ------- .../bindings/arm/bcm/brcm,cygnus.yaml | 29 ++++++ .../devicetree/bindings/arm/bcm/brcm,hr2.txt | 14 --- .../devicetree/bindings/arm/bcm/brcm,hr2.yaml | 28 ++++++ .../devicetree/bindings/arm/bcm/brcm,ns2.txt | 9 -- .../devicetree/bindings/arm/bcm/brcm,ns2.yaml | 23 +++++ .../bindings/arm/bcm/brcm,nsp-cpu-method.txt | 39 -------- .../devicetree/bindings/arm/bcm/brcm,nsp.txt | 34 ------- .../devicetree/bindings/arm/bcm/brcm,nsp.yaml | 36 ++++++++ .../bindings/arm/bcm/brcm,stingray.txt | 12 --- .../bindings/arm/bcm/brcm,stingray.yaml | 24 +++++ .../bindings/arm/bcm/brcm,vulcan-soc.txt | 10 --- .../bindings/arm/bcm/brcm,vulcan-soc.yaml | 22 +++++ .../arm/bcm/raspberrypi,bcm2835-firmware.txt | 14 --- .../arm/bcm/raspberrypi,bcm2835-firmware.yaml | 33 +++++++ .../devicetree/bindings/arm/cpus.yaml | 33 +++++++ 26 files changed, 379 insertions(+), 290 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method.txt delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.yaml delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.yaml delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550-cpu-method.txt delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.yaml delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.yaml delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,hr2.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,hr2.yaml delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,ns2.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,ns2.yaml delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,nsp-cpu-method.txt delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,nsp.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,nsp.yaml delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,stingray.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,stingray.yaml delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.yaml delete mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
Signature · 1 line
2.19.1
PATCH v2 1/12 dt-bindings: arm: bcm: Convert Cygnus to YAML
Update the Broadocom Cygnus SoC binding document for boards/SoCs to use YAML. Verified with dt_binding_check and dtbs_check.
--- .../bindings/arm/bcm/brcm,cygnus.txt | 31 ------------------- .../bindings/arm/bcm/brcm,cygnus.yaml | 29 +++++++++++++++++ 2 files changed, 29 insertions(+), 31 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.yaml
Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.txt deleted +0 -31
@@ -1,31 +0,0 @@ -Broadcom Cygnus device tree bindings ------------------------------------- - - -Boards with Cygnus SoCs shall have the following properties: - -Required root node property: - -BCM11300 -compatible = "brcm,bcm11300", "brcm,cygnus"; - -BCM11320 -compatible = "brcm,bcm11320", "brcm,cygnus"; - -BCM11350 -compatible = "brcm,bcm11350", "brcm,cygnus"; - -BCM11360 -compatible = "brcm,bcm11360", "brcm,cygnus"; - -BCM58300 -compatible = "brcm,bcm58300", "brcm,cygnus"; - -BCM58302 -compatible = "brcm,bcm58302", "brcm,cygnus"; - -BCM58303 -compatible = "brcm,bcm58303", "brcm,cygnus"; - -BCM58305 -compatible = "brcm,bcm58305", "brcm,cygnus";
Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.yaml new file +29 -0
@@ -0,0 +1,29 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,cygnus.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Cygnus device tree bindings + +maintainers: + - Ray Jui <[email protected]> + - Scott Branden <[email protected]> + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - brcm,bcm11300 + - brcm,bcm11320 + - brcm,bcm11350 + - brcm,bcm11360 + - brcm,bcm58300 + - brcm,bcm58302 + - brcm,bcm58303 + - brcm,bcm58305 + - const: brcm,cygnus + +...
Signature · 1 line
2.19.1
PATCH v2 2/12 dt-bindings: arm: bcm: Convert Hurricane 2 to YAML
In reply to Florian FainelliUpdate the Broadcom Hurricane 2 SoC binding document for boards/SoCs to use YAML. Verified with dt_binding_check and dtbs_check.
--- .../devicetree/bindings/arm/bcm/brcm,hr2.txt | 14 ---------- .../devicetree/bindings/arm/bcm/brcm,hr2.yaml | 28 +++++++++++++++++++ 2 files changed, 28 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,hr2.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,hr2.yaml
Documentation/devicetree/bindings/arm/bcm/brcm,hr2.txt deleted +0 -14
@@ -1,14 +0,0 @@ -Broadcom Hurricane 2 device tree bindings ---------------------------------------- - -Broadcom Hurricane 2 family of SoCs are used for switching control. These SoCs -are based on Broadcom's iProc SoC architecture and feature a single core Cortex -A9 ARM CPUs, DDR2/DDR3 memory, PCIe GEN-2, USB 2.0 and USB 3.0, serial and NAND -flash and a PCIe attached integrated switching engine. - -Boards with Hurricane SoCs shall have the following properties: - -Required root node property: - -BCM53342 -compatible = "brcm,bcm53342", "brcm,hr2";
Documentation/devicetree/bindings/arm/bcm/brcm,hr2.yaml new file +28 -0
@@ -0,0 +1,28 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,hr2.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Hurricane 2 device tree bindings + +description: + Broadcom Hurricane 2 family of SoCs are used for switching control. These SoCs + are based on Broadcom's iProc SoC architecture and feature a single core Cortex + A9 ARM CPUs, DDR2/DDR3 memory, PCIe GEN-2, USB 2.0 and USB 3.0, serial and NAND + flash and a PCIe attached integrated switching engine. + +maintainers: + - Florian Fainelli <[email protected]> + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - ubnt,unifi-switch8 + - const: brcm,bcm53342 + - const: brcm,hr2 + +...
Signature · 1 line
2.19.1
PATCH v2 3/12 dt-bindings: arm: bcm: Convert Northstar Plus to YAML
In reply to Florian FainelliUpdate the Broadcom Northstar Plus SoC binding document for boards/SoCs to use YAML. Verified with dt_binding_check and dtbs_check.
--- .../devicetree/bindings/arm/bcm/brcm,nsp.txt | 34 ------------------ .../devicetree/bindings/arm/bcm/brcm,nsp.yaml | 36 +++++++++++++++++++ 2 files changed, 36 insertions(+), 34 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,nsp.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,nsp.yaml
Documentation/devicetree/bindings/arm/bcm/brcm,nsp.txt deleted +0 -34
@@ -1,34 +0,0 @@ -Broadcom Northstar Plus device tree bindings --------------------------------------------- - -Broadcom Northstar Plus family of SoCs are used for switching control -and management applications as well as residential router/gateway -applications. The SoC features dual core Cortex A9 ARM CPUs, integrating -several peripheral interfaces including multiple Gigabit Ethernet PHYs, -DDR3 memory, PCIE Gen-2, USB 2.0 and USB 3.0, serial and NAND flash, -SATA and several other IO controllers. - -Boards with Northstar Plus SoCs shall have the following properties: - -Required root node property: - -BCM58522 -compatible = "brcm,bcm58522", "brcm,nsp"; - -BCM58525 -compatible = "brcm,bcm58525", "brcm,nsp"; - -BCM58535 -compatible = "brcm,bcm58535", "brcm,nsp"; - -BCM58622 -compatible = "brcm,bcm58622", "brcm,nsp"; - -BCM58623 -compatible = "brcm,bcm58623", "brcm,nsp"; - -BCM58625 -compatible = "brcm,bcm58625", "brcm,nsp"; - -BCM88312 -compatible = "brcm,bcm88312", "brcm,nsp";
Documentation/devicetree/bindings/arm/bcm/brcm,nsp.yaml new file +36 -0
@@ -0,0 +1,36 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,nsp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Northstar Plus device tree bindings + +description: + Broadcom Northstar Plus family of SoCs are used for switching control + and management applications as well as residential router/gateway + applications. The SoC features dual core Cortex A9 ARM CPUs, integrating + several peripheral interfaces including multiple Gigabit Ethernet PHYs, + DDR3 memory, PCIE Gen-2, USB 2.0 and USB 3.0, serial and NAND flash, + SATA and several other IO controllers. + +maintainers: + - Ray Jui <[email protected]> + - Scott Branden <[email protected]> + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - brcm,bcm58522 + - brcm,bcm58525 + - brcm,bcm58535 + - brcm,bcm58622 + - brcm,bcm58623 + - brcm,bcm58625 + - brcm,bcm88312 + - const: brcm,nsp + +...
Signature · 1 line
2.19.1
PATCH v2 4/12 dt-bindings: arm: bcm: Convert Northstar 2 to YAML
In reply to Florian FainelliUpdate the Broadcom Northstar 2 SoC binding document for boards/SoCs to use YAML. Verified with dt_binding_check and dtbs_check.
--- .../devicetree/bindings/arm/bcm/brcm,ns2.txt | 9 -------- .../devicetree/bindings/arm/bcm/brcm,ns2.yaml | 23 +++++++++++++++++++ 2 files changed, 23 insertions(+), 9 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,ns2.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,ns2.yaml
Documentation/devicetree/bindings/arm/bcm/brcm,ns2.txt deleted +0 -9
@@ -1,9 +0,0 @@ -Broadcom North Star 2 (NS2) device tree bindings ------------------------------------------------- - -Boards with NS2 shall have the following properties: - -Required root node property: - -NS2 SVK board -compatible = "brcm,ns2-svk", "brcm,ns2";
Documentation/devicetree/bindings/arm/bcm/brcm,ns2.yaml new file +23 -0
@@ -0,0 +1,23 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,ns2.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom North Star 2 (NS2) device tree bindings + +maintainers: + - Ray Jui <[email protected]> + - Scott Branden <[email protected]> + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - brcm,ns2-svk + - brcm,ns2-xmc + - const: brcm,ns2 + +...
Signature · 1 line
2.19.1
PATCH v2 5/12 dt-bindings: arm: bcm: Convert Stingray to YAML
In reply to Florian FainelliUpdate the Broadcom Stingray SoC binding document for boards/SoCs to use YAML. Verified with dt_binding_check and dtbs_check.
--- .../bindings/arm/bcm/brcm,stingray.txt | 12 ---------- .../bindings/arm/bcm/brcm,stingray.yaml | 24 +++++++++++++++++++ 2 files changed, 24 insertions(+), 12 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,stingray.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,stingray.yaml
Documentation/devicetree/bindings/arm/bcm/brcm,stingray.txt deleted +0 -12
@@ -1,12 +0,0 @@ -Broadcom Stingray device tree bindings ------------------------------------------------- - -Boards with Stingray shall have the following properties: - -Required root node property: - -Stingray Combo SVK board -compatible = "brcm,bcm958742k", "brcm,stingray"; - -Stingray SST100 board -compatible = "brcm,bcm958742t", "brcm,stingray";
Documentation/devicetree/bindings/arm/bcm/brcm,stingray.yaml new file +24 -0
@@ -0,0 +1,24 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,stingray.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Stingray device tree bindings + +maintainers: + - Ray Jui <[email protected]> + - Scott Branden <[email protected]> + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - brcm,bcm958742k + - brcm,bcm958742t + - brcm,bcm958802a802x + - const: brcm,stingray + +...
Signature · 1 line
2.19.1
PATCH v2 6/12 dt-bindings: arm: bcm: Convert BCM21664 to YAML
In reply to Florian FainelliUpdate the Broadcom BCM21664 SoC binding document for boards/SoCs to use YAML. Verified with dt_binding_check and dtbs_check.
--- .../bindings/arm/bcm/brcm,bcm21664.txt | 15 ------------- .../bindings/arm/bcm/brcm,bcm21664.yaml | 21 +++++++++++++++++++ 2 files changed, 21 insertions(+), 15 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.yaml
Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.txt deleted +0 -15
@@ -1,15 +0,0 @@ -Broadcom BCM21664 device tree bindings --------------------------------------- - -This document describes the device tree bindings for boards with the BCM21664 -SoC. - -Required root node property: - - compatible: brcm,bcm21664 - -Example: - / { - model = "BCM21664 SoC"; - compatible = "brcm,bcm21664"; - [...] - }
Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.yaml new file +21 -0
@@ -0,0 +1,21 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm21664.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM21664 device tree bindings + +maintainers: + - Florian Fainelli <[email protected]> + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - brcm,bcm21664-garnet + - const: brcm,bcm21664 + +...
Signature · 1 line
2.19.1
PATCH v2 7/12 dt-bindings: arm: bcm: Convert BCM23550 to YAML
In reply to Florian FainelliUpdate the Broadcom BCM23550 SoC binding document for boards/SoCs to use YAML. Verified with dt_binding_check and dtbs_check.
--- .../bindings/arm/bcm/brcm,bcm23550.txt | 15 ------------- .../bindings/arm/bcm/brcm,bcm23550.yaml | 21 +++++++++++++++++++ 2 files changed, 21 insertions(+), 15 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.yaml
Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.txt deleted +0 -15
@@ -1,15 +0,0 @@ -Broadcom BCM23550 device tree bindings --------------------------------------- - -This document describes the device tree bindings for boards with the BCM23550 -SoC. - -Required root node property: - - compatible: brcm,bcm23550 - -Example: - / { - model = "BCM23550 SoC"; - compatible = "brcm,bcm23550"; - [...] - }
Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.yaml new file +21 -0
@@ -0,0 +1,21 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm23550.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM23550 device tree bindings + +maintainers: + - Florian Fainelli <[email protected]> + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - brcm,bcm23550-sparrow + - const: brcm,bcm23550 + +...
Signature · 1 line
2.19.1
PATCH v2 8/12 dt-bindings: arm: bcm: Convert BCM4708 to YAML
In reply to Florian FainelliUpdate the Broadcom BCM4708 SoC family binding document for boards/SoCs to use YAML. Verified with dt_binding_check and dtbs_check.
--- .../bindings/arm/bcm/brcm,bcm4708.txt | 15 ---- .../bindings/arm/bcm/brcm,bcm4708.yaml | 88 +++++++++++++++++++ 2 files changed, 88 insertions(+), 15 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml
Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt deleted +0 -15
@@ -1,15 +0,0 @@ -Broadcom BCM4708 device tree bindings -------------------------------------------- - -Boards with the BCM4708 SoC shall have the following properties: - -Required root node property: - -bcm4708 -compatible = "brcm,bcm4708"; - -bcm4709 -compatible = "brcm,bcm4709"; - -bcm53012 -compatible = "brcm,bcm53012";
Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml new file +88 -0
88 lines not on this page · raw message
Signature · 1 line
2.19.1
PATCH v2 9/12 dt-bindings: arm: bcm: Convert BCM11351 to YAML
In reply to Florian FainelliUpdate the Broadcom BCM11351 SoC family binding document for boards/SoCs to use YAML. Verified with dt_binding_check and dtbs_check.
--- .../bindings/arm/bcm/brcm,bcm11351.txt | 10 --------- .../bindings/arm/bcm/brcm,bcm11351.yaml | 21 +++++++++++++++++++ 2 files changed, 21 insertions(+), 10 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.yaml
Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.txt deleted +0 -10
@@ -1,10 +0,0 @@ -Broadcom BCM11351 device tree bindings -------------------------------------------- - -Boards with the bcm281xx SoC family (which includes bcm11130, bcm11140, -bcm11351, bcm28145, bcm28155 SoCs) shall have the following properties: - -Required root node property: - -compatible = "brcm,bcm11351"; -DEPRECATED: compatible = "bcm,bcm11351";
Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.yaml new file +21 -0
@@ -0,0 +1,21 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm11351.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM11351 device tree bindings + +maintainers: + - Florian Fainelli <[email protected]> + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - brcm,bcm28155-ap + - const: brcm,bcm11351 + +...
Signature · 1 line
2.19.1
PATCH v2 10/12 dt-bindings: arm: bcm: Convert Vulcan to YAML
In reply to Florian FainelliUpdate Vulcan SoC family binding document for boards/SoCs to use YAML. Verified with dt_binding_check and dtbs_check.
--- .../bindings/arm/bcm/brcm,vulcan-soc.txt | 10 --------- .../bindings/arm/bcm/brcm,vulcan-soc.yaml | 22 +++++++++++++++++++ 2 files changed, 22 insertions(+), 10 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.yaml
Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.txt deleted +0 -10
@@ -1,10 +0,0 @@ -Broadcom Vulcan device tree bindings ------------------------------------- - -Boards with Broadcom Vulcan shall have the following root property: - -Broadcom Vulcan Evaluation Board: - compatible = "brcm,vulcan-eval", "brcm,vulcan-soc"; - -Generic Vulcan board: - compatible = "brcm,vulcan-soc";
Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.yaml new file +22 -0
@@ -0,0 +1,22 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,vulcan-soc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Vulcan device tree bindings + +maintainers: + - Robert Richter <[email protected]> + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - brcm,vulcan-eval + - cavium,thunderx2-cn9900 + - const: brcm,vulcan-soc + +...
Signature · 1 line
2.19.1
PATCH v2 11/12 dt-bindings: arm: Document Broadcom SoCs 'secondary-boot-reg'
In reply to Florian FainelliConsolidate and move the 'secondary-boot-reg' property from the 3 existing binding documents into the main cpus.yaml documentation, also make sure that the property is enforced when relevant.
--- .../arm/bcm/brcm,bcm11351-cpu-method.txt | 36 ----------------- .../arm/bcm/brcm,bcm23550-cpu-method.txt | 36 ----------------- .../bindings/arm/bcm/brcm,nsp-cpu-method.txt | 39 ------------------- .../devicetree/bindings/arm/cpus.yaml | 33 ++++++++++++++++ 4 files changed, 33 insertions(+), 111 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method.txt delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550-cpu-method.txt delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,nsp-cpu-method.txt
Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method.txt deleted +0 -36
@@ -1,36 +0,0 @@ -Broadcom Kona Family CPU Enable Method --------------------------------------- -This binding defines the enable method used for starting secondary -CPUs in the following Broadcom SoCs: - BCM11130, BCM11140, BCM11351, BCM28145, BCM28155, BCM21664 - -The enable method is specified by defining the following required -properties in the "cpu" device tree node: - - enable-method = "brcm,bcm11351-cpu-method"; - - secondary-boot-reg = <...>; - -The secondary-boot-reg property is a u32 value that specifies the -physical address of the register used to request the ROM holding pen -code release a secondary CPU. The value written to the register is -formed by encoding the target CPU id into the low bits of the -physical start address it should jump to. - -Example: - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu0: cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <0>; - }; - - cpu1: cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <1>; - enable-method = "brcm,bcm11351-cpu-method"; - secondary-boot-reg = <0x3500417c>; - }; - };
Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550-cpu-method.txt deleted +0 -36
@@ -1,36 +0,0 @@ -Broadcom Kona Family CPU Enable Method --------------------------------------- -This binding defines the enable method used for starting secondary -CPUs in the following Broadcom SoCs: - BCM23550 - -The enable method is specified by defining the following required -properties in the "cpu" device tree node: - - enable-method = "brcm,bcm23550"; - - secondary-boot-reg = <...>; - -The secondary-boot-reg property is a u32 value that specifies the -physical address of the register used to request the ROM holding pen -code release a secondary CPU. The value written to the register is -formed by encoding the target CPU id into the low bits of the -physical start address it should jump to. - -Example: - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu0: cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <0>; - }; - - cpu1: cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <1>; - enable-method = "brcm,bcm23550"; - secondary-boot-reg = <0x3500417c>; - }; - };
Documentation/devicetree/bindings/arm/bcm/brcm,nsp-cpu-method.txt deleted +0 -39
@@ -1,39 +0,0 @@ -Broadcom Northstar Plus SoC CPU Enable Method ---------------------------------------------- -This binding defines the enable method used for starting secondary -CPU in the following Broadcom SoCs: - BCM58522, BCM58525, BCM58535, BCM58622, BCM58623, BCM58625, BCM88312 - -The enable method is specified by defining the following required -properties in the corresponding secondary "cpu" device tree node: - - enable-method = "brcm,bcm-nsp-smp"; - - secondary-boot-reg = <...>; - -The secondary-boot-reg property is a u32 value that specifies the -physical address of the register which should hold the common -entry point for a secondary CPU. This entry is cpu node specific -and should be added per cpu. E.g., in case of NSP (BCM58625) which -is a dual core CPU SoC, this entry should be added to cpu1 node. - - -Example: - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu0: cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - next-level-cache = <&L2>; - reg = <0>; - }; - - cpu1: cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - next-level-cache = <&L2>; - enable-method = "brcm,bcm-nsp-smp"; - secondary-boot-reg = <0xffff042c>; - reg = <1>; - }; - };
Documentation/devicetree/bindings/arm/cpus.yaml +33 -0
@@ -272,6 +272,39 @@ properties: While optional, it is the preferred way to get access to the cpu-core power-domains. + secondary-boot-reg: + $ref: '/schemas/types.yaml#/definitions/uint32' + description: | + Required for systems that have an "enable-method" property value of + "brcm,bcm11351-cpu-method", "brcm,bcm23550" or "brcm,bcm-nsp-smp". + + This includes the following SoCs: | + BCM11130, BCM11140, BCM11351, BCM28145, BCM28155, BCM21664, BCM23550 + BCM58522, BCM58525, BCM58535, BCM58622, BCM58623, BCM58625, BCM88312 + + The secondary-boot-reg property is a u32 value that specifies the + physical address of the register used to request the ROM holding pen + code release a secondary CPU. The value written to the register is + formed by encoding the target CPU id into the low bits of the + physical start address it should jump to. + +if: + # If the enable-method property contains one of those values + properties: + enable-method: + contains: + enum: + - brcm,bcm11351-cpu-method + - brcm,bcm23550 + - brcm,bcm-nsp-smp + # and if enable-method is present + required: + - enable-method + +then: + required: + - secondary-boot-reg + required: - device_type - reg
Signature · 1 line
2.19.1
Re: [PATCH v2 11/12] dt-bindings: arm: Document Broadcom SoCs 'secondary-boot-reg'
Quoted 24 lines · Florian Fainelli
Documentation/devicetree/bindings/arm/cpus.yaml +16
-0@@ -272,6 +272,39 @@ properties: While optional, it is the preferred way to get access to the cpu-core power-domains. + secondary-boot-reg: + $ref: '/schemas/types.yaml#/definitions/uint32' + description: | + Required for systems that have an "enable-method" property value of + "brcm,bcm11351-cpu-method", "brcm,bcm23550" or "brcm,bcm-nsp-smp". + + This includes the following SoCs: | + BCM11130, BCM11140, BCM11351, BCM28145, BCM28155, BCM21664, BCM23550 + BCM58522, BCM58525, BCM58535, BCM58622, BCM58623, BCM58625, BCM88312 + + The secondary-boot-reg property is a u32 value that specifies the + physical address of the register used to request the ROM holding pen + code release a secondary CPU. The value written to the register is + formed by encoding the target CPU id into the low bits of the + physical start address it should jump to. +
Documentation/devicetree/bindings/arm/cpus.yaml properties: · line 300
Quoted 10 lines
Documentation/devicetree/bindings/arm/cpus.yaml +10
-0+if: + # If the enable-method property contains one of those values + properties: + enable-method: + contains: + enum: + - brcm,bcm11351-cpu-method + - brcm,bcm23550 + - brcm,bcm-nsp-smp + # and if enable-method is present
Those comments were purely for the explanation, but you can keep them I guess :)
Regardless on whether or not you keep them, for the whole series
Maxime
Re: [PATCH v2 11/12] dt-bindings: arm: Document Broadcom SoCs 'secondary-boot-reg'
Quoted 39 lines · Maxime Ripard
Quoted 24 lines · Florian Fainelli
Documentation/devicetree/bindings/arm/cpus.yaml +16
-0@@ -272,6 +272,39 @@ properties: While optional, it is the preferred way to get access to the cpu-core power-domains. + secondary-boot-reg: + $ref: '/schemas/types.yaml#/definitions/uint32' + description: | + Required for systems that have an "enable-method" property value of + "brcm,bcm11351-cpu-method", "brcm,bcm23550" or "brcm,bcm-nsp-smp". + + This includes the following SoCs: | + BCM11130, BCM11140, BCM11351, BCM28145, BCM28155, BCM21664, BCM23550 + BCM58522, BCM58525, BCM58535, BCM58622, BCM58623, BCM58625, BCM88312 + + The secondary-boot-reg property is a u32 value that specifies the + physical address of the register used to request the ROM holding pen + code release a secondary CPU. The value written to the register is + formed by encoding the target CPU id into the low bits of the + physical start address it should jump to. +Documentation/devicetree/bindings/arm/cpus.yaml properties: · line 300
Quoted 10 lines
Documentation/devicetree/bindings/arm/cpus.yaml +10
-0+if: + # If the enable-method property contains one of those values + properties: + enable-method: + contains: + enum: + - brcm,bcm11351-cpu-method + - brcm,bcm23550 + - brcm,bcm-nsp-smp + # and if enable-method is presentThose comments were purely for the explanation, but you can keep them I guess :)
Quoted 2 lines
Regardless on whether or not you keep them, for the whole series
Acked-by Maxime Ripard <[email protected]>
You could almost have Signed-off-by on this one, thanks a lot for walking me through examples.
Signature · 1 line
Florian
PATCH v2 12/12 dt-bindings: arm: bcm: Convert BCM2835 firmware binding to YAML
In reply to Florian FainelliConvert the Raspberry Pi BCM2835 firmware binding document to YAML. Verified with dt_binding_check and dtbs_check.
--- .../arm/bcm/raspberrypi,bcm2835-firmware.txt | 14 -------- .../arm/bcm/raspberrypi,bcm2835-firmware.yaml | 33 +++++++++++++++++++ 2 files changed, 33 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt deleted +0 -14
@@ -1,14 +0,0 @@ -Raspberry Pi VideoCore firmware driver - -Required properties: - -- compatible: Should be "raspberrypi,bcm2835-firmware" -- mboxes: Phandle to the firmware device's Mailbox. - (See: ../mailbox/mailbox.txt for more information) - -Example: - -firmware { - compatible = "raspberrypi,bcm2835-firmware"; - mboxes = <&mailbox>; -};
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml new file +33 -0
@@ -0,0 +1,33 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Raspberry Pi VideoCore firmware driver + +maintainers: + - Eric Anholt <[email protected]> + - Stefan Wahren <[email protected]> + +properties: + compatible: + const: raspberrypi,bcm2835-firmware simple-bus + + mboxes: + $ref: '/schemas/types.yaml#/definitions/phandle' + description: | + Phandle to the firmware device's Mailbox. + (See: ../mailbox/mailbox.txt for more information) + +required: + - compatible + - mboxes + +examples: + - | + firmware { + compatible = "raspberrypi,bcm2835-firmware"; + mboxes = <&mailbox>; + }; +...
Signature · 1 line
2.19.1
Rob Herring
maintainerRe: [PATCH v2 12/12] dt-bindings: arm: bcm: Convert BCM2835 firmware binding to YAML
Quoted 42 lines · Florian Fainelli
Convert the Raspberry Pi BCM2835 firmware binding document to YAML. Verified with
dt_binding_checkanddtbs_check.Signed-off-by Florian Fainelli <[email protected]>--- .../arm/bcm/raspberrypi,bcm2835-firmware.txt | 14 -------- .../arm/bcm/raspberrypi,bcm2835-firmware.yaml | 33 +++++++++++++++++++ 2 files changed, 33 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yamlDocumentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt deleted +0
-14@@ -1,14 +0,0 @@ -Raspberry Pi VideoCore firmware driver - -Required properties: - -- compatible: Should be "raspberrypi,bcm2835-firmware" -- mboxes: Phandle to the firmware device's Mailbox. - (See: ../mailbox/mailbox.txt for more information) - -Example: - -firmware { - compatible = "raspberrypi,bcm2835-firmware"; - mboxes = <&mailbox>; -};Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml new file +5
-0@@ -0,0 +1,33 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml#
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml line 15
Quoted 10 lines
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml new file +10
-0+ +title: Raspberry Pi VideoCore firmware driver + +maintainers: + - Eric Anholt <[email protected]> + - Stefan Wahren <[email protected]> + +properties: + compatible: + const: raspberrypi,bcm2835-firmware simple-bus
^
I need to check for spaces with the meta-schema...
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml line 18
Quoted 3 lines
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml new file +3
-0+ + mboxes: + $ref: '/schemas/types.yaml#/definitions/phandle'
Already has a type, just need to define how many items and what they are if more than one.
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml line 21
Quoted 3 lines
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml new file +3
-0+ description: | + Phandle to the firmware device's Mailbox. + (See: ../mailbox/mailbox.txt for more information)
Drop this. That's every 'mboxes'.
Quoted 15 lines
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml new file +12
-0+ +required: + - compatible + - mboxes + +examples: + - | + firmware { + compatible = "raspberrypi,bcm2835-firmware"; + mboxes = <&mailbox>; + }; +...Signature · 1 line
2.19.1
Re: [PATCH v2 12/12] dt-bindings: arm: bcm: Convert BCM2835 firmware binding to YAML
Quoted 55 lines · Rob Herring
Quoted 42 lines · Florian Fainelli
Convert the Raspberry Pi BCM2835 firmware binding document to YAML. Verified with
dt_binding_checkanddtbs_check.Signed-off-by Florian Fainelli <[email protected]>--- .../arm/bcm/raspberrypi,bcm2835-firmware.txt | 14 -------- .../arm/bcm/raspberrypi,bcm2835-firmware.yaml | 33 +++++++++++++++++++ 2 files changed, 33 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yamlDocumentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt deleted +0
-14@@ -1,14 +0,0 @@ -Raspberry Pi VideoCore firmware driver - -Required properties: - -- compatible: Should be "raspberrypi,bcm2835-firmware" -- mboxes: Phandle to the firmware device's Mailbox. - (See: ../mailbox/mailbox.txt for more information) - -Example: - -firmware { - compatible = "raspberrypi,bcm2835-firmware"; - mboxes = <&mailbox>; -};Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml new file +5
-0@@ -0,0 +1,33 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml#Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml line 15
Quoted 10 lines
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml new file +10
-0+ +title: Raspberry Pi VideoCore firmware driver + +maintainers: + - Eric Anholt <[email protected]> + - Stefan Wahren <[email protected]> + +properties: + compatible: + const: raspberrypi,bcm2835-firmware simple-bus^
Quoted 1 line
I need to check for spaces with the meta-schema...
I believe I had tried to use:
const: raspberrypi,bcm2835-firmware
const: simple-bus
but this did not work, and I had to resort to doing this.
Quoted 7 lines
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml line 18
Quoted 4 lines
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml new file +3
-0+ + mboxes: + $ref: '/schemas/types.yaml#/definitions/phandle'Already has a type, just need to define how many items and what they are if more than one.
OK, thanks!
Signature · 1 line
Florian
Re: [PATCH v2 12/12] dt-bindings: arm: bcm: Convert BCM2835 firmware binding to YAML
Hi Florian,
Quoted 58 lines · Florian Fainelli
Quoted 55 lines · Rob Herring
Quoted 42 lines · Florian Fainelli
Convert the Raspberry Pi BCM2835 firmware binding document to YAML. Verified with
dt_binding_checkanddtbs_check.Signed-off-by Florian Fainelli <[email protected]>--- .../arm/bcm/raspberrypi,bcm2835-firmware.txt | 14 -------- .../arm/bcm/raspberrypi,bcm2835-firmware.yaml | 33 +++++++++++++++++++ 2 files changed, 33 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yamlDocumentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt deleted +0
-14@@ -1,14 +0,0 @@ -Raspberry Pi VideoCore firmware driver - -Required properties: - -- compatible: Should be "raspberrypi,bcm2835-firmware" -- mboxes: Phandle to the firmware device's Mailbox. - (See: ../mailbox/mailbox.txt for more information) - -Example: - -firmware { - compatible = "raspberrypi,bcm2835-firmware"; - mboxes = <&mailbox>; -};Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml new file +5
-0@@ -0,0 +1,33 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml#Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml line 15
Quoted 10 lines
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml new file +10
-0+ +title: Raspberry Pi VideoCore firmware driver + +maintainers: + - Eric Anholt <[email protected]> + - Stefan Wahren <[email protected]> + +properties: + compatible: + const: raspberrypi,bcm2835-firmware simple-bus^
Quoted 8 lines
Quoted 1 line
I need to check for spaces with the meta-schema...
I believe I had tried to use:
const: raspberrypi,bcm2835-firmware
const: simple-busbut this did not work, and I had to resort to doing this.
That would be:
compatible:
items:
- const: raspberrypi,bcm2835-firmware
- const: simple-bus
It changes slightly from what the initial binding was saying though, since it wasn't mentionning simple-bus at all? Is that on purpose?
Maxime
Re: [PATCH v2 12/12] dt-bindings: arm: bcm: Convert BCM2835 firmware binding to YAML
Quoted 87 lines · Maxime Ripard
Hi Florian,
Quoted 73 lines · Florian Fainelli
Quoted 71 lines · Rob Herring
Quoted 58 lines · Florian Fainelli
Convert the Raspberry Pi BCM2835 firmware binding document to YAML. Verified with
dt_binding_checkanddtbs_check.Signed-off-by Florian Fainelli <[email protected]>--- .../arm/bcm/raspberrypi,bcm2835-firmware.txt | 14 -------- .../arm/bcm/raspberrypi,bcm2835-firmware.yaml | 33 +++++++++++++++++++ 2 files changed, 33 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835- firmware.txt create mode 100644
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yamldiff --git a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835- firmware.txt b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835- firmware.txt
deleted file mode 100644
index 6824b3180ffb..000000000000
--- a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835- firmware.txt
+++/dev/nullDocumentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt deleted +0
-7@@ -1,14 +0,0 @@ -Raspberry Pi VideoCore firmware driver - -Required properties: - -- compatible: Should be "raspberrypi,bcm2835-firmware" -- mboxes: Phandle to the firmware device's Mailbox. - (See: ../mailbox/mailbox.txt for moreinformation)
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt deleted +0
-7- -Example: - -firmware { - compatible = "raspberrypi,bcm2835-firmware"; - mboxes = <&mailbox>; -};diff --git a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-
firmware.yamlb/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
new file mode 100644
index 000000000000..db355d970f2bDocumentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835- new file +0
-0
firmware.yamlDocumentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835- new file +4
-0@@ -0,0 +1,33 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id:http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-
Quoted 10 lines
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835- new file +10
-0+ +title: Raspberry Pi VideoCore firmware driver + +maintainers: + - Eric Anholt <[email protected]> + - Stefan Wahren <[email protected]> + +properties: + compatible: + const: raspberrypi,bcm2835-firmware simple-bus^Quoted 8 lines
Quoted 1 line
I need to check for spaces with the meta-schema...
I believe I had tried to use:
const: raspberrypi,bcm2835-firmware
const: simple-busbut this did not work, and I had to resort to doing this.
That would be:
Quoted 7 lines
compatible:
items:
- const: raspberrypi,bcm2835-firmware
- const: simple-busIt changes slightly from what the initial binding was saying though, since it wasn't mentionning simple-bus at all? Is that on purpose?
I guess we failed to update the binding after starting to use the firmware device as a bus.
Thanks Florian,
Patch series:
Quoted 81 lines · Florian Fainelli
Hi Rob, Maxime,
This patch series converts most files under D/dt-bindings/arm/bcm/ with the exception of bcm63138 and brcmstb to the YAML format. Those two may be split accordingly later on since document not just the root node.
Changes in v2:
- fixed typo in Vulcan binding
- simplified how SoC compatible strings are specified
- fixed filename in bcm2835 firmware binding
- added 'secondary-boot-reg' constraintFlorian Fainelli (12):
dt-bindings: arm: bcm: Convert Cygnus to YAML
dt-bindings: arm: bcm: Convert Hurricane 2 to YAML
dt-bindings: arm: bcm: Convert Northstar Plus to YAML
dt-bindings: arm: bcm: Convert Northstar 2 to YAML
dt-bindings: arm: bcm: Convert Stingray to YAML
dt-bindings: arm: bcm: Convert BCM21664 to YAML
dt-bindings: arm: bcm: Convert BCM23550 to YAML
dt-bindings: arm: bcm: Convert BCM4708 to YAML
dt-bindings: arm: bcm: Convert BCM11351 to YAML
dt-bindings: arm: bcm: Convert Vulcan to YAML
dt-bindings: arm: Document Broadcom SoCs 'secondary-boot-reg'
dt-bindings: arm: bcm: Convert BCM2835 firmware binding to YAML.../arm/bcm/brcm,bcm11351-cpu-method.txt | 36 -------- .../bindings/arm/bcm/brcm,bcm11351.txt | 10 --- .../bindings/arm/bcm/brcm,bcm11351.yaml | 21 +++++ .../bindings/arm/bcm/brcm,bcm21664.txt | 15 ---- .../bindings/arm/bcm/brcm,bcm21664.yaml | 21 +++++ .../arm/bcm/brcm,bcm23550-cpu-method.txt | 36 -------- .../bindings/arm/bcm/brcm,bcm23550.txt | 15 ---- .../bindings/arm/bcm/brcm,bcm23550.yaml | 21 +++++ .../bindings/arm/bcm/brcm,bcm4708.txt | 15 ---- .../bindings/arm/bcm/brcm,bcm4708.yaml | 88 +++++++++++++++++++ .../bindings/arm/bcm/brcm,cygnus.txt | 31 ------- .../bindings/arm/bcm/brcm,cygnus.yaml | 29 ++++++ .../devicetree/bindings/arm/bcm/brcm,hr2.txt | 14 --- .../devicetree/bindings/arm/bcm/brcm,hr2.yaml | 28 ++++++ .../devicetree/bindings/arm/bcm/brcm,ns2.txt | 9 -- .../devicetree/bindings/arm/bcm/brcm,ns2.yaml | 23 +++++ .../bindings/arm/bcm/brcm,nsp-cpu-method.txt | 39 -------- .../devicetree/bindings/arm/bcm/brcm,nsp.txt | 34 ------- .../devicetree/bindings/arm/bcm/brcm,nsp.yaml | 36 ++++++++ .../bindings/arm/bcm/brcm,stingray.txt | 12 --- .../bindings/arm/bcm/brcm,stingray.yaml | 24 +++++ .../bindings/arm/bcm/brcm,vulcan-soc.txt | 10 --- .../bindings/arm/bcm/brcm,vulcan-soc.yaml | 22 +++++ .../arm/bcm/raspberrypi,bcm2835-firmware.txt | 14 --- .../arm/bcm/raspberrypi,bcm2835-firmware.yaml | 33 +++++++ .../devicetree/bindings/arm/cpus.yaml | 33 +++++++ 26 files changed, 379 insertions(+), 290 deletions(-)delete mode 100644
Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method.txtdelete mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.txtcreate mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.yamldelete mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.txtcreate mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.yamldelete mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550-cpu-method.txtdelete mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.txtcreate mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.yamldelete mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txtcreate mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yamldelete mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.txtcreate mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.yamldelete mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,hr2.txtcreate mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,hr2.yamldelete mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,ns2.txtcreate mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,ns2.yamldelete mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,nsp-cpu-method.txtdelete mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,nsp.txtcreate mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,nsp.yamldelete mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,stingray.txtcreate mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,stingray.yamldelete mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.txtcreate mode 100644Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.yamldelete mode 100644Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txtcreate mode 100644Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
Quoted 14 lines · Florian Fainelli
Hi Rob, Maxime,
This patch series converts most files under D/dt-bindings/arm/bcm/ with the exception of bcm63138 and brcmstb to the YAML format. Those two may be split accordingly later on since document not just the root node.
Changes in v2:
- fixed typo in Vulcan binding
- simplified how SoC compatible strings are specified
- fixed filename in bcm2835 firmware binding
- added 'secondary-boot-reg' constraint
Quoted 12 lines
Florian Fainelli (12):
dt-bindings: arm: bcm: Convert Cygnus to YAML
dt-bindings: arm: bcm: Convert Hurricane 2 to YAML
dt-bindings: arm: bcm: Convert Northstar Plus to YAML
dt-bindings: arm: bcm: Convert Northstar 2 to YAML
dt-bindings: arm: bcm: Convert Stingray to YAML
dt-bindings: arm: bcm: Convert BCM21664 to YAML
dt-bindings: arm: bcm: Convert BCM23550 to YAML
dt-bindings: arm: bcm: Convert BCM4708 to YAML
dt-bindings: arm: bcm: Convert BCM11351 to YAML
dt-bindings: arm: bcm: Convert Vulcan to YAML
dt-bindings: arm: Document Broadcom SoCs 'secondary-boot-reg'
For all the above,
Quoted 2 lines
dt-bindings: arm: bcm: Convert BCM2835 firmware binding to YAML
Quoted 28 lines · Rob Herring
Quoted 14 lines · Florian Fainelli
Hi Rob, Maxime,
This patch series converts most files under D/dt-bindings/arm/bcm/ with the exception of bcm63138 and brcmstb to the YAML format. Those two may be split accordingly later on since document not just the root node.
Changes in v2:
- fixed typo in Vulcan binding
- simplified how SoC compatible strings are specified
- fixed filename in bcm2835 firmware binding
- added 'secondary-boot-reg' constraintQuoted 12 lines
Florian Fainelli (12):
dt-bindings: arm: bcm: Convert Cygnus to YAML
dt-bindings: arm: bcm: Convert Hurricane 2 to YAML
dt-bindings: arm: bcm: Convert Northstar Plus to YAML
dt-bindings: arm: bcm: Convert Northstar 2 to YAML
dt-bindings: arm: bcm: Convert Stingray to YAML
dt-bindings: arm: bcm: Convert BCM21664 to YAML
dt-bindings: arm: bcm: Convert BCM23550 to YAML
dt-bindings: arm: bcm: Convert BCM4708 to YAML
dt-bindings: arm: bcm: Convert BCM11351 to YAML
dt-bindings: arm: bcm: Convert Vulcan to YAML
dt-bindings: arm: Document Broadcom SoCs 'secondary-boot-reg'
Quoted 3 lines
For all the above,
Reviewed-by Rob Herring <[email protected]>
Applied 1-11 to devicetree/next, I will resubmit the last one later this week.
Signature · 1 line
Florian