[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0615877e-247a-419b-b4d6-de377cb40914@kernel.org>
Date: Tue, 20 May 2025 09:45:12 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Pritam Manohar Sutar <pritam.sutar@...sung.com>, vkoul@...nel.org,
kishon@...nel.org, robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
alim.akhtar@...sung.com, andre.draszik@...aro.org, peter.griffin@...aro.org,
kauschluss@...root.org, m.szyprowski@...sung.com, s.nawrocki@...sung.com
Cc: linux-phy@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, rosa.pila@...sung.com,
dev.tailor@...sung.com, faraz.ata@...sung.com, muhammed.ali@...sung.com,
selvarasu.g@...sung.com
Subject: Re: [PATCH v2 1/2] dt-bindings: phy: samsung,usb3-drd-phy: add
dt-schema for ExynosAutov920
On 16/05/2025 12:26, Pritam Manohar Sutar wrote:
> Add a dedicated compatible for USB phy found in this SoC
>
> Signed-off-by: Pritam Manohar Sutar <pritam.sutar@...sung.com>
> ---
> .../bindings/phy/samsung,usb3-drd-phy.yaml | 27 +++++++++++++++++++
> 1 file changed, 27 insertions(+)
A nit, subject: drop second/last, redundant "dt-schema for". The
"dt-bindings" prefix is already stating that these are bindings in
dtschema format.
See also:
https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18
>
> diff --git a/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml b/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml
> index fdddddc7d611..c50f4218ded9 100644
> --- a/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml
> @@ -32,6 +32,7 @@ properties:
> - samsung,exynos7-usbdrd-phy
> - samsung,exynos7870-usbdrd-phy
> - samsung,exynos850-usbdrd-phy
> + - samsung,exynosautov920-usb31drd-phy
>
> clocks:
> minItems: 2
> @@ -204,6 +205,32 @@ allOf:
> reg-names:
> maxItems: 1
>
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: samsung,exynosautov920-usb31drd-phy
> + then:
> + $ref: /schemas/usb/usb-switch.yaml#
> +
> + properties:
> + clocks:
> + items:
Why there is no main PHY clock?
> + - description: ext_xtal clock
> + - description: reference clock
Both external oscillator and reference clocks? What are these clocks?
> +
> + clock-names:
> + items:
> + - const: ext_xtal
> + - const: ref
> +
> + reg:
> + minItems: 1
No, there is no such syntax. Drop.
> + maxItems: 1
> +
> + reg-names:
> + minItems: 1
No, look at existing code and do the same.
> +
> unevaluatedProperties: false
>
> examples:
Best regards,
Krzysztof
Powered by blists - more mailing lists