[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47202648-bd65-cbba-8674-aed7eb0c46d2@linaro.org>
Date: Fri, 29 Apr 2022 23:00:00 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Vincent Shih <vincent.sunplus@...il.com>, kishon@...com,
vkoul@...nel.org, p.zabel@...gutronix.de,
linux-kernel@...r.kernel.org, linux-phy@...ts.infradead.org,
linux-usb@...r.kernel.org, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, devicetree@...r.kernel.org,
wells.lu@...plus.com
Subject: Re: [PATCH v2 2/2] dt-bindings: phy: Add bindings doc for Sunplus
USB2 PHY driver
On 29/04/2022 09:00, Vincent Shih wrote:
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/phy/sunplus,sp7021-usb2-phy.yaml
> @@ -0,0 +1,73 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +# Copyright (C) Sunplus Co., Ltd. 2021
> +%YAML 1.2
> +---
> +$id: "http://devicetree.org/schemas/phy/sunplus,sp7021-usb2-phy.yaml#"
> +$schema: "http://devicetree.org/meta-schemas/core.yaml#"
> +
> +title: Sunplus SP7021 USB 2.0 PHY Controller Device Tree bindings
Drop Device Tree bindings
> +
> +maintainers:
> + - Vincent Shih <vincent.sunplus@...il.com>
> +
> +properties:
> + compatible:
> + const: sunplus,sp7021-usb2-phy
> +
> + reg:
> + items:
> + - description: UPHY register region
> + - description: MOON4 register region
> +
> + reg-names:
> + items:
> + - const: phy
> + - const: moon4
> +
> + clocks:
> + maxItems: 1
> +
> + resets:
> + maxItems: 1
> +
> + "#phy-cells":
> + const: 0
> +
> + nvmem-cell-names:
> + description: names corresponding to the nvmem cells of disconnect voltage
> + const: disc_vol
> +
> + nvmem-cells:
> + description: nvmem cell address of disconnect voltage
> + maxItems: 1
> +
> + sunplus,disc-vol-addr-off:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description: the otp address offset of disconnect voltage
> +
> +required:
> + - compatible
> + - reg
> + - reg-names
> + - clocks
> + - resets
> + - "#phy-cells"
> + - nvmem-cell-names
> + - nvmem-cells
> + - sunplus,disc-vol-addr-off
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + sp_uphy0: uphy@...04a80 {
Generic node name, so either phy or usb-phy.
Best regards,
Krzysztof
Powered by blists - more mailing lists