[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200713150818.GB184301@bogus>
Date: Mon, 13 Jul 2020 09:08:18 -0600
From: Rob Herring <robh@...nel.org>
To: "Ramuthevar,Vadivel MuruganX"
<vadivel.muruganx.ramuthevar@...ux.intel.com>
Cc: kishon@...com, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, p.zabel@...gutronix.de,
gregkh@...uxfoundation.org, andriy.shevchenko@...el.com,
balbi@...nel.org, cheol.yong.kim@...el.com, qi-ming.wu@...el.com,
yin1.li@...el.com
Subject: Re: [PATCH v5 1/2] dt-bindings: phy: Add USB PHY support for Intel
LGM SoC
On Mon, Jul 13, 2020 at 04:54:52PM +0800, Ramuthevar,Vadivel MuruganX wrote:
> From: Ramuthevar Vadivel Murugan <vadivel.muruganx.ramuthevar@...ux.intel.com>
>
> Add the dt-schema to support USB PHY on Intel LGM SoC
>
> Signed-off-by: Ramuthevar Vadivel Murugan <vadivel.muruganx.ramuthevar@...ux.intel.com>
> Reviewed-by: Rob Herring <robh@...nel.org>
> ---
> .../devicetree/bindings/phy/intel,lgm-usb-phy.yaml | 53 ++++++++++++++++++++++
> 1 file changed, 53 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/phy/intel,lgm-usb-phy.yaml
>
> diff --git a/Documentation/devicetree/bindings/phy/intel,lgm-usb-phy.yaml b/Documentation/devicetree/bindings/phy/intel,lgm-usb-phy.yaml
> new file mode 100644
> index 000000000000..0fc76cd23774
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/phy/intel,lgm-usb-phy.yaml
> @@ -0,0 +1,53 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/usb/intel,lgm-usb-phy.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Intel LGM USB PHY Device Tree Bindings
> +
> +maintainers:
> + - Vadivel Murugan Ramuthevar <vadivel.muruganx.ramuthevar@...ux.intel.com>
> +
> +properties:
> + compatible:
> + const: intel,lgm-usb-phy
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + maxItems: 1
> +
> + resets:
> + items:
> + - description: USB PHY and Host controller reset
> + - description: APB BUS reset
> + - description: General Hardware reset
> +
> + reset-names:
> + items:
> + - const: phy
> + - const: apb
> + - const: phy31
> +
> +required:
> + - compatible
> + - clocks
> + - reg
> + - resets
> + - reset-names
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + usb_phy: usb_phy@...00000 {
usb-phy@...
> + compatible = "intel,lgm-usb-phy";
> + reg = <0xe7e00000 0x10000>;
> + clocks = <&cgu0 153>;
> + resets = <&rcu 0x70 0x24>,
> + <&rcu 0x70 0x26>,
> + <&rcu 0x70 0x28>;
> + reset-names = "phy", "apb", "phy31";
> + };
> --
> 2.11.0
>
Powered by blists - more mailing lists