Skip to contentSkip to conversation

dt-bindings: net: dsa: mediatek,mt7530: Add missing 'reg' property

PATCH Applied Rob Herring 3 participants 3 messages Jul 1, 2022 – Jul 5, 2022

Subsystems (5)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: net: dsa: mediatek,mt7530: Add missing 'reg' property

The 'reg' property is missing from the mediatek,mt7530 schema which results in the following warning once 'unevaluatedProperties' is fixed:

Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.example.dtb: switch@0: Unevaluated properties are not allowed ('reg' was unexpected)

Fixes e0dda3119741 ("dt-bindings: net: dsa: convert binding for mediatek switches")
---
 Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +3 -0
index a3bf432960d8..17ab6c69ecc7 100644
@@ -66,6 +66,9 @@ properties:
       - mediatek,mt7531
       - mediatek,mt7621
 
+  reg:
+    maxItems: 1
+
   core-supply:
     description:
       Phandle to the regulator node necessary for the core power.
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Rob Herring

The 'reg' property is missing from the mediatek,mt7530 schema which results in the following warning once 'unevaluatedProperties' is fixed:

Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.example.dtb: switch@0: Unevaluated properties are not allowed ('reg' was unexpected)

Fixes e0dda3119741 ("dt-bindings: net: dsa: convert binding for mediatek switches")
Signature · 1 line
Florian
#2 lore raw
In reply to Rob Herring
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Fri, 1 Jul 2022 16:22:40 -0600 you wrote:

The 'reg' property is missing from the mediatek,mt7530 schema which results in the following warning once 'unevaluatedProperties' is fixed:

Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.example.dtb: switch@0: Unevaluated properties are not allowed ('reg' was unexpected)

Fixes e0dda3119741 ("dt-bindings: net: dsa: convert binding for mediatek switches")

[...]

Here is the summary with links:
- dt-bindings: net: dsa: mediatek,mt7530: Add missing 'reg' property

    https://git.kernel.org/netdev/net-next/c/3359619a6ea5

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html