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

dt-bindings: phy: Add missing (unevaluated|additional)Properties on child nodes

In order to ensure only documented properties are present, node schemas
must have unevaluatedProperties or additionalProperties set to false
(typically).

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220823145649.3118479-14-robh@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Rob Herring and committed by
Vinod Koul
c77c1853 04aebe18

+8
+1
Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.yaml
··· 32 32 patternProperties: 33 33 "^pcie-phy@[0-9]+$": 34 34 type: object 35 + additionalProperties: false 35 36 description: > 36 37 PCIe PHY child nodes 37 38
+2
Documentation/devicetree/bindings/phy/phy-stm32-usbphyc.yaml
··· 77 77 connector: 78 78 type: object 79 79 $ref: /schemas/connector/usb-connector.yaml 80 + unevaluatedProperties: false 81 + 80 82 properties: 81 83 vbus-supply: true 82 84
+2
Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml
··· 81 81 patternProperties: 82 82 "^usb3-phy@[0-9a-f]+$": 83 83 type: object 84 + additionalProperties: false 84 85 description: 85 86 The USB3 PHY. 86 87 ··· 122 121 123 122 "^dp-phy@[0-9a-f]+$": 124 123 type: object 124 + additionalProperties: false 125 125 description: 126 126 The DP PHY. 127 127
+3
Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml
··· 83 83 84 84 refclk-dig: 85 85 type: object 86 + additionalProperties: false 86 87 description: | 87 88 WIZ node should have subnode for refclk_dig to select the reference 88 89 clock source for the reference clock used in the PHY and PMA digital ··· 119 118 patternProperties: 120 119 "^pll[0|1]-refclk$": 121 120 type: object 121 + additionalProperties: false 122 122 description: | 123 123 WIZ node should have subnodes for each of the PLLs present in 124 124 the SERDES. ··· 146 144 147 145 "^cmn-refclk1?-dig-div$": 148 146 type: object 147 + additionalProperties: false 149 148 description: 150 149 WIZ node should have subnodes for each of the PMA common refclock 151 150 provided by the SERDES.