dt-bindings: arm: Add missing root node constraint for board/SoC bindings
Subsystems (11)
Rob Herring
maintainerPATCH 1/1 dt-bindings: arm: Add missing root node constraint for board/SoC bindings
Board/SoC top-level compatible bindings should be constrained to the root node. Add the missing constraints that the node name must be "/".
--- Documentation/devicetree/bindings/arm/actions.yaml | 2 ++ Documentation/devicetree/bindings/arm/altera.yaml | 2 ++ Documentation/devicetree/bindings/arm/axxia.yaml | 2 ++ Documentation/devicetree/bindings/arm/bitmain.yaml | 2 ++ Documentation/devicetree/bindings/arm/digicolor.yaml | 2 ++ Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml | 2 ++ Documentation/devicetree/bindings/arm/qcom.yaml | 2 ++ Documentation/devicetree/bindings/arm/rda.yaml | 2 ++ Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 2 ++ Documentation/devicetree/bindings/arm/tegra.yaml | 2 ++ 10 files changed, 20 insertions(+)
Documentation/devicetree/bindings/arm/actions.yaml +2 -0
@@ -11,6 +11,8 @@ maintainers: - Manivannan Sadhasivam <[email protected]> properties: + $nodename: + const: "/" compatible: oneOf: # The Actions Semi S500 is a quad-core ARM Cortex-A9 SoC.
Documentation/devicetree/bindings/arm/altera.yaml +2 -0
@@ -10,6 +10,8 @@ maintainers: - Dinh Nguyen <[email protected]> properties: + $nodename: + const: "/" compatible: items: - enum:
Documentation/devicetree/bindings/arm/axxia.yaml +2 -0
@@ -10,6 +10,8 @@ maintainers: - Anders Berg <[email protected]> properties: + $nodename: + const: "/" compatible: description: LSI AXM5516 Validation board (Amarillo) items:
Documentation/devicetree/bindings/arm/bitmain.yaml +2 -0
@@ -10,6 +10,8 @@ maintainers: - Manivannan Sadhasivam <[email protected]> properties: + $nodename: + const: "/" compatible: items: - enum:
Documentation/devicetree/bindings/arm/digicolor.yaml +2 -0
@@ -10,6 +10,8 @@ maintainers: - Baruch Siach <[email protected]> properties: + $nodename: + const: "/" compatible: const: cnxt,cx92755
Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml +2 -0
@@ -10,6 +10,8 @@ maintainers: - Linus Walleij <[email protected]> properties: + $nodename: + const: "/" compatible: oneOf: - items:
Documentation/devicetree/bindings/arm/qcom.yaml +2 -0
@@ -73,6 +73,8 @@ description: | foundry 2. properties: + $nodename: + const: "/" compatible: oneOf: - items:
Documentation/devicetree/bindings/arm/rda.yaml +2 -0
@@ -10,6 +10,8 @@ maintainers: - Manivannan Sadhasivam <[email protected]> properties: + $nodename: + const: "/" compatible: items: - enum:
Documentation/devicetree/bindings/arm/stm32/stm32.yaml +2 -0
@@ -10,6 +10,8 @@ maintainers: - Alexandre Torgue <[email protected]> properties: + $nodename: + const: "/" compatible: oneOf: - items:
Documentation/devicetree/bindings/arm/tegra.yaml +2 -0
@@ -11,6 +11,8 @@ maintainers: - Jonathan Hunter <[email protected]> properties: + $nodename: + const: "/" compatible: oneOf: - items:
Signature · 1 line
2.25.1
Quoted 19 lines · Rob Herring
Board/SoC top-level compatible bindings should be constrained to the root node. Add the missing constraints that the node name must be "/".
Cc "Andreas Färber" <[email protected]>Cc Manivannan Sadhasivam <[email protected]>Cc Baruch Siach <[email protected]>Cc Linus Walleij <[email protected]>Cc Imre Kaloz <[email protected]>Cc Krzysztof Halasa <[email protected]>Cc Andy Gross <[email protected]>Cc Bjorn Andersson <[email protected]>Cc Maxime Coquelin <[email protected]>Cc Alexandre Torgue <[email protected]>Cc Thierry Reding <[email protected]>Cc Jonathan Hunter <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Anders Berg <[email protected]>Signed-off-by Rob Herring <[email protected]>
Makes sense.
Yours,
Linus Walleij
Am 01.10.20 um 22:09 schrieb Rob Herring:
Quoted 19 lines
Board/SoC top-level compatible bindings should be constrained to the root node. Add the missing constraints that the node name must be "/".
Cc "Andreas Färber" <[email protected]>Cc Manivannan Sadhasivam <[email protected]>Cc Baruch Siach <[email protected]>Cc Linus Walleij <[email protected]>Cc Imre Kaloz <[email protected]>Cc Krzysztof Halasa <[email protected]>Cc Andy Gross <[email protected]>Cc Bjorn Andersson <[email protected]>Cc Maxime Coquelin <[email protected]>Cc Alexandre Torgue <[email protected]>Cc Thierry Reding <[email protected]>Cc Jonathan Hunter <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Anders Berg <[email protected]>Signed-off-by Rob Herring <[email protected]>
Quoted 12 lines
--- Documentation/devicetree/bindings/arm/actions.yaml | 2 ++ Documentation/devicetree/bindings/arm/altera.yaml | 2 ++ Documentation/devicetree/bindings/arm/axxia.yaml | 2 ++ Documentation/devicetree/bindings/arm/bitmain.yaml | 2 ++ Documentation/devicetree/bindings/arm/digicolor.yaml | 2 ++ Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml | 2 ++ Documentation/devicetree/bindings/arm/qcom.yaml | 2 ++ Documentation/devicetree/bindings/arm/rda.yaml | 2 ++ Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 2 ++ Documentation/devicetree/bindings/arm/tegra.yaml | 2 ++ 10 files changed, 20 insertions(+)
Looks like for realtek.yaml we already have it, although in single quotes, but I assume that's equivalent.
Regards,
Andreas
Signature · 4 lines
SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer HRB 36809 (AG Nürnberg)
Quoted 19 lines · Rob Herring
Board/SoC top-level compatible bindings should be constrained to the root node. Add the missing constraints that the node name must be "/".
Cc "Andreas Färber" <[email protected]>Cc Manivannan Sadhasivam <[email protected]>Cc Baruch Siach <[email protected]>Cc Linus Walleij <[email protected]>Cc Imre Kaloz <[email protected]>Cc Krzysztof Halasa <[email protected]>Cc Andy Gross <[email protected]>Cc Bjorn Andersson <[email protected]>Cc Maxime Coquelin <[email protected]>Cc Alexandre Torgue <[email protected]>Cc Thierry Reding <[email protected]>Cc Jonathan Hunter <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Anders Berg <[email protected]>Signed-off-by Rob Herring <[email protected]>
Quoted 2 lines
--- Documentation/devicetree/bindings/arm/actions.yaml | 2 ++
For actions,
Thanks,
Mani
Quoted 144 lines
Documentation/devicetree/bindings/arm/altera.yaml | 2 ++ Documentation/devicetree/bindings/arm/axxia.yaml | 2 ++ Documentation/devicetree/bindings/arm/bitmain.yaml | 2 ++ Documentation/devicetree/bindings/arm/digicolor.yaml | 2 ++ Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml | 2 ++ Documentation/devicetree/bindings/arm/qcom.yaml | 2 ++ Documentation/devicetree/bindings/arm/rda.yaml | 2 ++ Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 2 ++ Documentation/devicetree/bindings/arm/tegra.yaml | 2 ++ 10 files changed, 20 insertions(+)Documentation/devicetree/bindings/arm/actions.yaml +2
-0@@ -11,6 +11,8 @@ maintainers: - Manivannan Sadhasivam <[email protected]> properties: + $nodename: + const: "/" compatible: oneOf: # The Actions Semi S500 is a quad-core ARM Cortex-A9 SoC.Documentation/devicetree/bindings/arm/altera.yaml +2
-0@@ -10,6 +10,8 @@ maintainers: - Dinh Nguyen <[email protected]> properties: + $nodename: + const: "/" compatible: items: - enum:Documentation/devicetree/bindings/arm/axxia.yaml +2
-0@@ -10,6 +10,8 @@ maintainers: - Anders Berg <[email protected]> properties: + $nodename: + const: "/" compatible: description: LSI AXM5516 Validation board (Amarillo) items:Documentation/devicetree/bindings/arm/bitmain.yaml +2
-0@@ -10,6 +10,8 @@ maintainers: - Manivannan Sadhasivam <[email protected]> properties: + $nodename: + const: "/" compatible: items: - enum:Documentation/devicetree/bindings/arm/digicolor.yaml +2
-0@@ -10,6 +10,8 @@ maintainers: - Baruch Siach <[email protected]> properties: + $nodename: + const: "/" compatible: const: cnxt,cx92755Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml +2
-0@@ -10,6 +10,8 @@ maintainers: - Linus Walleij <[email protected]> properties: + $nodename: + const: "/" compatible: oneOf: - items:Documentation/devicetree/bindings/arm/qcom.yaml +2
-0@@ -73,6 +73,8 @@ description: | foundry 2. properties: + $nodename: + const: "/" compatible: oneOf: - items:Documentation/devicetree/bindings/arm/rda.yaml +2
-0@@ -10,6 +10,8 @@ maintainers: - Manivannan Sadhasivam <[email protected]> properties: + $nodename: + const: "/" compatible: items: - enum:Documentation/devicetree/bindings/arm/stm32/stm32.yaml +2
-0@@ -10,6 +10,8 @@ maintainers: - Alexandre Torgue <[email protected]> properties: + $nodename: + const: "/" compatible: oneOf: - items:Documentation/devicetree/bindings/arm/tegra.yaml +2
-0@@ -11,6 +11,8 @@ maintainers: - Jonathan Hunter <[email protected]> properties: + $nodename: + const: "/" compatible: oneOf: - items:Signature · 1 line
2.25.1
On Thu, Oct 01, 2020 at 03:09:43PM -0500, Rob Herring wrote:
[...]
Documentation/devicetree/bindings/arm/tegra.yaml maintainers: · line 18
Quoted 13 lines
Documentation/devicetree/bindings/arm/tegra.yaml +2
-0@@ -11,6 +11,8 @@ maintainers: - Jonathan Hunter <[email protected]> properties: + $nodename: + const: "/" compatible: oneOf: - items:
Hi Rob,
Quoted 3 lines · Rob Herring
Board/SoC top-level compatible bindings should be constrained to the root node. Add the missing constraints that the node name must be "/".
...
Documentation/devicetree/bindings/arm/stm32/stm32.yaml maintainers: · line 17
Quoted 13 lines
Documentation/devicetree/bindings/arm/stm32/stm32.yaml +2
-0@@ -10,6 +10,8 @@ maintainers: - Alexandre Torgue <[email protected]> properties: + $nodename: + const: "/" compatible: oneOf: - items:
thanks
Alex