dt: bindings: dwc2: fix required value for the phy-names property

Message ID 1398359576-14668-1-git-send-email-mporter@linaro.org
State New
Headers show

Commit Message

Matt Porter April 24, 2014, 5:12 p.m.
"7408484 usb: gadget: s3c-hsotg: enable generic phy support" introduces
generic phy support to the dwc2.txt binding and the s3c-hsotg driver
which implements support for the binding. The binding documentation
incorrectly states that the phy-names property will be "device". The
binding example, driver, and one dts user all implement the phy-names
property as requiring "usb2-phy".

Fix the dwc2.txt binding documentation to correctly specify "usb2-phy"
as the appropriate value for phy-names.

Reported-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Matt Porter <mporter@linaro.org>
---
 Documentation/devicetree/bindings/usb/dwc2.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rob Herring May 28, 2014, 4:17 p.m. | #1
On Thu, Apr 24, 2014 at 12:12 PM, Matt Porter <mporter@linaro.org> wrote:
> "7408484 usb: gadget: s3c-hsotg: enable generic phy support" introduces
> generic phy support to the dwc2.txt binding and the s3c-hsotg driver
> which implements support for the binding. The binding documentation
> incorrectly states that the phy-names property will be "device". The
> binding example, driver, and one dts user all implement the phy-names
> property as requiring "usb2-phy".
>
> Fix the dwc2.txt binding documentation to correctly specify "usb2-phy"
> as the appropriate value for phy-names.
>
> Reported-by: Tomasz Figa <t.figa@samsung.com>
> Signed-off-by: Matt Porter <mporter@linaro.org>

Applied for 3.16.

Rob

> ---
>  Documentation/devicetree/bindings/usb/dwc2.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree/bindings/usb/dwc2.txt
> index b8b6871..467ddd1 100644
> --- a/Documentation/devicetree/bindings/usb/dwc2.txt
> +++ b/Documentation/devicetree/bindings/usb/dwc2.txt
> @@ -13,7 +13,7 @@ Refer to clk/clock-bindings.txt for generic clock consumer properties
>
>  Optional properties:
>  - phys: phy provider specifier
> -- phy-names: shall be "device"
> +- phy-names: shall be "usb2-phy"
>  Refer to phy/phy-bindings.txt for generic phy consumer properties
>
>  Example:
> --
> 1.8.4
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree/bindings/usb/dwc2.txt
index b8b6871..467ddd1 100644
--- a/Documentation/devicetree/bindings/usb/dwc2.txt
+++ b/Documentation/devicetree/bindings/usb/dwc2.txt
@@ -13,7 +13,7 @@  Refer to clk/clock-bindings.txt for generic clock consumer properties
 
 Optional properties:
 - phys: phy provider specifier
-- phy-names: shall be "device"
+- phy-names: shall be "usb2-phy"
 Refer to phy/phy-bindings.txt for generic phy consumer properties
 
 Example: