Skip to content

Commit

Permalink
dt-bindings: phy: uniphier-usb3hs: Fix incorrect clock-names and rese…
Browse files Browse the repository at this point in the history
…t-names

There is no clock-names and reset-names for Pro5 SoC, that should have two
properties, "gio" and "link" like usb3-ssphy.

And according to the existing PXs2 devicetree, the clock-names for PXs2 SoC
should have "link" and "phy", and minItems of clocks should be 2.

Fixes: 134ab28 ("dt-bindings: phy: Convert UniPhier USB3-PHY conroller to json-schema")
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/1648637715-19262-5-git-send-email-hayashi.kunihiko@socionext.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
  • Loading branch information
Kunihiko Hayashi authored and Vinod Koul committed Apr 13, 2022
1 parent fccd2f3 commit 45d1f84
Showing 1 changed file with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ properties:
const: 0

clocks:
minItems: 1
minItems: 2
maxItems: 3

clock-names:
oneOf:
- const: link # for PXs2
- items: # for Pro5
- const: gio
- const: link
- items: # for PXs3 with phy-ext
- const: link
- const: phy
Expand All @@ -49,9 +51,13 @@ properties:
maxItems: 2

reset-names:
items:
- const: link
- const: phy
oneOf:
- items: # for Pro5
- const: gio
- const: link
- items: # for others
- const: link
- const: phy

vbus-supply:
description: A phandle to the regulator for USB VBUS
Expand Down

0 comments on commit 45d1f84

Please sign in to comment.