Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: net: pse-pd: microchip,pd692x0: Fix missing "additionalProperties" constraints

The child nodes are missing "additionalProperties" constraints which
means any undocumented properties or child nodes are allowed. Add the
constraints, and fix the fallout of wrong manager node regex and
missing properties.

Fixes: 9c1de033afad ("dt-bindings: net: pse-pd: Add bindings for PD692x0 PSE controller")
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Kory Maincent <kory.maincent@bootlin.com>
Link: https://lore.kernel.org/r/20240523171732.2836880-1-robh@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Rob Herring (Arm) and committed by
Jakub Kicinski
0fe53c0a f4dca95f

+9 -2
+9 -2
Documentation/devicetree/bindings/net/pse-pd/microchip,pd692x0.yaml
··· 24 24 25 25 managers: 26 26 type: object 27 + additionalProperties: false 27 28 description: 28 29 List of the PD69208T4/PD69204T4/PD69208M PSE managers. Each manager 29 30 have 4 or 8 physical ports according to the chip version. No need to ··· 48 47 - "#size-cells" 49 48 50 49 patternProperties: 51 - "^manager@0[0-9a-b]$": 50 + "^manager@[0-9a-b]$": 52 51 type: object 52 + additionalProperties: false 53 53 description: 54 54 PD69208T4/PD69204T4/PD69208M PSE manager exposing 4 or 8 physical 55 55 ports. ··· 71 69 patternProperties: 72 70 '^port@[0-7]$': 73 71 type: object 72 + additionalProperties: false 73 + 74 + properties: 75 + reg: 76 + maxItems: 1 77 + 74 78 required: 75 79 - reg 76 - additionalProperties: false 77 80 78 81 required: 79 82 - reg