lkml.org 
[lkml]   [2022]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 19/30] dt-bindings: phy: add QMP USB PHY schema
From
On 07/07/2022 15:47, Johan Hovold wrote:
> The QMP PHY DT schema is getting unwieldy. Break out the USB PHY
> binding in a separate file.
>
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
> ---
> ...com,qmp-phy.yaml => qcom,qmp-usb-phy.yaml} | 69 +++++--------------
> 1 file changed, 18 insertions(+), 51 deletions(-)
> rename Documentation/devicetree/bindings/phy/{qcom,qmp-phy.yaml => qcom,qmp-usb-phy.yaml} (82%)
>
> diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml
> similarity index 82%
> rename from Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
> rename to Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml
> index 21d6ec875529..66cabf4d5722 100644
> --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml
> @@ -1,11 +1,10 @@
> # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> -
> %YAML 1.2
> ---
> -$id: "http://devicetree.org/schemas/phy/qcom,qmp-phy.yaml#"
> -$schema: "http://devicetree.org/meta-schemas/core.yaml#"
> +$id: http://devicetree.org/schemas/phy/qcom,qmp-usb-phy.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>
> -title: Qualcomm QMP PHY controller
> +title: Qualcomm QMP PHY controller (USB)
>
> maintainers:
> - Vinod Koul <vkoul@kernel.org>
> @@ -51,20 +50,20 @@ properties:
> ranges: true
>
> clocks:
> - minItems: 1
> + minItems: 3
> maxItems: 4
>
> clock-names:
> - minItems: 1
> + minItems: 3
> maxItems: 4
>
> resets:
> - minItems: 1
> - maxItems: 3
> + minItems: 2

Skip minItems (equal to max)

> + maxItems: 2
>
> reset-names:
> - minItems: 1
> - maxItems: 3
> + minItems: 2

The same.



Best regards,
Krzysztof

\
 
 \ /
  Last update: 2022-07-14 11:26    [W:0.248 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site