diff options
author | Rob Herring <robh@kernel.org> | 2022-07-02 01:22:40 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-06 01:07:56 +0300 |
commit | 3359619a6ea5bb53c5b259c83791a1e14c5aa125 (patch) | |
tree | 2b3a4d17eea8365b6ba51f66d2a98002ba4493df | |
parent | ec53d77ae3d5405aa252a99cd2914c87296d9fb8 (diff) | |
download | linux-3359619a6ea5bb53c5b259c83791a1e14c5aa125.tar.xz |
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")
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220701222240.1706272-1-robh@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml index a3bf432960d8..17ab6c69ecc7 100644 --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml @@ -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. |