[PATCH 1/6] dt-bindings: phy: renesas: Document RZ/G2L USB PHY Control bindings
Vinod Koul
vkoul at kernel.org
Sun Jun 20 21:01:41 PDT 2021
On 11-06-21, 14:46, Biju Das wrote:
> Add device tree binding document for RZ/G2L USB PHY control driver.
Rob ?
>
> Signed-off-by: Biju Das <biju.das.jz at bp.renesas.com>
> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>
> ---
> .../phy/renesas,rzg2l-usbphyctrl.yaml | 50 +++++++++++++++++++
> 1 file changed, 50 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/phy/renesas,rzg2l-usbphyctrl.yaml
>
> diff --git a/Documentation/devicetree/bindings/phy/renesas,rzg2l-usbphyctrl.yaml b/Documentation/devicetree/bindings/phy/renesas,rzg2l-usbphyctrl.yaml
> new file mode 100644
> index 000000000000..5fd316a2e79e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/phy/renesas,rzg2l-usbphyctrl.yaml
> @@ -0,0 +1,50 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/phy/renesas,rzg2l-usbphyctrl.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Renesas RZ/G2L USB2.0 PHY Control
> +
> +maintainers:
> + - Biju Das <biju.das.jz at bp.renesas.com>
> +
> +description:
> + The RZ/G2L USB2.0 PHY Control mainly controls reset and power down of the
> + USB/PHY.
> +
> +properties:
> + compatible:
> + items:
> + - enum:
> + - renesas,r9a07g044-usbphyctrl # RZ/G2{L,LC}
> + - const: renesas,rzg2l-usbphyctrl
> +
> + reg:
> + maxItems: 1
> +
> + '#phy-cells':
> + # see phy-bindings.txt in the same directory
> + const: 1
> + description: |
> + The phandle's argument in the PHY specifier is the phy reset control bit
> + of usb phy control.
> + 0 = Port 1 Phy reset
> + 1 = Port 2 Phy reset
> + enum: [ 0, 1 ]
> +
> +required:
> + - compatible
> + - reg
> + - '#phy-cells'
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + usbphyctrl at 11c40000 {
> + compatible = "renesas,r9a07g044-usbphyctrl",
> + "renesas,rzg2l-usbphyctrl";
> + reg = <0x11c40000 0x10000>;
> + #phy-cells = <1>;
> + };
> --
> 2.17.1
--
~Vinod
More information about the linux-phy
mailing list