Re: [PATCH] dt-bindings: phy: uniphier: Fix incorrect clocks and clock-names for PXs3 usb3-hsphy

2020-07-12 Thread Vinod Koul
On 08-07-20, 17:57, Kunihiko Hayashi wrote:
> The usb3-hsphy for PXs3 SoC needs to accept 3 clocks like usb3-ssphy.

Applied, thanks

> 
> Fixes: 134ab2845acb ("dt-bindings: phy: Convert UniPhier USB3-PHY conroller 
> to json-schema")
> Signed-off-by: Kunihiko Hayashi 
> ---
>  .../devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml| 8 
> ++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git 
> a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml 
> b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml
> index f88d362..c871d46 100644
> --- a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml
> @@ -31,12 +31,16 @@ properties:
>  
>clocks:
>  minItems: 1
> -maxItems: 2
> +maxItems: 3
>  
>clock-names:
>  oneOf:
>- const: link  # for PXs2
> -  - items:   # for PXs3
> +  - items:   # for PXs3 with phy-ext
> +- const: link
> +- const: phy
> +- const: phy-ext
> +  - items:   # for others
>  - const: link
>  - const: phy
>  
> -- 
> 2.7.4

-- 
~Vinod


[PATCH] dt-bindings: phy: uniphier: Fix incorrect clocks and clock-names for PXs3 usb3-hsphy

2020-07-08 Thread Kunihiko Hayashi
The usb3-hsphy for PXs3 SoC needs to accept 3 clocks like usb3-ssphy.

Fixes: 134ab2845acb ("dt-bindings: phy: Convert UniPhier USB3-PHY conroller to 
json-schema")
Signed-off-by: Kunihiko Hayashi 
---
 .../devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml| 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git 
a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml 
b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml
index f88d362..c871d46 100644
--- a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml
@@ -31,12 +31,16 @@ properties:
 
   clocks:
 minItems: 1
-maxItems: 2
+maxItems: 3
 
   clock-names:
 oneOf:
   - const: link  # for PXs2
-  - items:   # for PXs3
+  - items:   # for PXs3 with phy-ext
+- const: link
+- const: phy
+- const: phy-ext
+  - items:   # for others
 - const: link
 - const: phy
 
-- 
2.7.4