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

dt-bindings: phy: socionext,uniphier: add top-level constraints

Properties with variable number of items per each device are expected to
have widest constraints in top-level "properties:" block and further
customized (narrowed) in "if:then:". Add missing top-level constraints
for clock-names and reset-names.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/20240818172835.121757-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Vinod Koul
45a4237b 9dab00ee

+22 -8
+6 -2
Documentation/devicetree/bindings/phy/socionext,uniphier-ahci-phy.yaml
··· 30 30 minItems: 1 31 31 maxItems: 2 32 32 33 - clock-names: true 33 + clock-names: 34 + minItems: 1 35 + maxItems: 6 34 36 35 37 resets: 36 38 minItems: 2 37 39 maxItems: 6 38 40 39 - reset-names: true 41 + reset-names: 42 + minItems: 2 43 + maxItems: 6 40 44 41 45 allOf: 42 46 - if:
+6 -2
Documentation/devicetree/bindings/phy/socionext,uniphier-pcie-phy.yaml
··· 31 31 minItems: 1 32 32 maxItems: 2 33 33 34 - clock-names: true 34 + clock-names: 35 + minItems: 1 36 + maxItems: 2 35 37 36 38 resets: 37 39 minItems: 1 38 40 maxItems: 2 39 41 40 - reset-names: true 42 + reset-names: 43 + minItems: 1 44 + maxItems: 2 41 45 42 46 socionext,syscon: 43 47 $ref: /schemas/types.yaml#/definitions/phandle
+5 -2
Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml
··· 34 34 minItems: 2 35 35 maxItems: 3 36 36 37 - clock-names: true 37 + clock-names: 38 + minItems: 2 39 + maxItems: 3 38 40 39 41 resets: 40 42 maxItems: 2 41 43 42 - reset-names: true 44 + reset-names: 45 + maxItems: 2 43 46 44 47 vbus-supply: 45 48 description: A phandle to the regulator for USB VBUS
+5 -2
Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml
··· 35 35 minItems: 2 36 36 maxItems: 3 37 37 38 - clock-names: true 38 + clock-names: 39 + minItems: 2 40 + maxItems: 3 39 41 40 42 resets: 41 43 maxItems: 2 42 44 43 - reset-names: true 45 + reset-names: 46 + maxItems: 2 44 47 45 48 vbus-supply: 46 49 description: A phandle to the regulator for USB VBUS, only for USB host