Patchwork [3/4] Documentation: devicetree: phy-tegra-usb: Add vbus-supply property for host mode PHYs

login
register
mail settings
Submitter Mikko Perttunen
Date June 26, 2013, 9:59 a.m.
Message ID <1372240781-1017-4-git-send-email-mperttunen@nvidia.com>
Download mbox | patch
Permalink /patch/254683/
State Superseded, archived
Headers show

Comments

Mikko Perttunen - June 26, 2013, 9:59 a.m.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
---
 Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt | 3 +++
 1 file changed, 3 insertions(+)
Stephen Warren - June 26, 2013, 5:17 p.m.
On 06/26/2013 03:59 AM, Mikko Perttunen wrote:

Patch description?

> diff --git a/Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt b/Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt

> +Optional properties for dr_mode == host:
> +  - vbus-supply: regulator for VBUS
> +
>  Required properties for dr_mode == otg:
>    - vbus-supply: regulator for VBUS

I would define the property only once. Perhaps:

VBUS control (required dr_mode==otg, optional for dr_mode==host):
    - vbus-supply: regulator for VBUS

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" 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/nvidia,tegra20-usb-phy.txt b/Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt
index c4c9e9e..92348c9 100644
--- a/Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt
+++ b/Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt
@@ -48,5 +48,8 @@  Optional properties:
       peripheral means it is device controller
       otg means it can operate as either ("on the go")
 
+Optional properties for dr_mode == host:
+  - vbus-supply: regulator for VBUS
+
 Required properties for dr_mode == otg:
   - vbus-supply: regulator for VBUS