From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Venu Byravarasu <vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org,
balbi-l0cyMroinI0@public.gmane.org,
stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v2 1/7] ARM: tegra: finalize USB EHCI and PHY bindings
Date: Wed, 03 Apr 2013 13:07:51 -0600 [thread overview]
Message-ID: <515C7E07.4040505@wwwdotorg.org> (raw)
In-Reply-To: <1364978502-22887-2-git-send-email-vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
On 04/03/2013 02:41 AM, Venu Byravarasu wrote:
> The existing Tegra USB bindings have a few issues:
...
> This patch fixes the binding definition to resolve these issues.
> diff --git a/Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt b/Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt
> Required properties :
...
> + - vbus-supply: regulator for VBUS
Doesn't the driver only need to control VBUS if the port is in OTG mode?
If there is no VBUS control, and the HW provides VBUS, I think that the
port can only operate in host mode.
If there is no VBUS control, and the HW does not provide VBUS, I think
that the port can only operate in peripheral mode.
If there is VBUS control, then shouldn't the port always operate in OTG
mode, or are there other reasons to control VBUS even in host-only mode?
If VBUS control is only useful for OTG mode, then I think the
vbus-supply property should be documented in a "Required properties for
dr_mode == otg" section.
I assume that VBUS control makes no sense for a peripheral-mode-only
port, so if VBUS control is useful for host-only mode as well as OTG
mode, then I think the vbus-supply property should be documented in a
"Required properties for dr_mode != peripheral" section.
Is the following table correct?
Port operating mode: host peripheral otg
-------------------- ---- ---------- ---
VBUS control required: no no yes
VBUS control useful: yes[1]? no yes
[1] perhaps for power-saving/suspend???
next prev parent reply other threads:[~2013-04-03 19:07 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-03 8:41 [PATCH v2 0/7] Tegra USB PHY driver series Venu Byravarasu
2013-04-03 8:41 ` [PATCH v2 1/7] ARM: tegra: finalize USB EHCI and PHY bindings Venu Byravarasu
[not found] ` <1364978502-22887-2-git-send-email-vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-04-03 19:07 ` Stephen Warren [this message]
2013-04-04 12:21 ` Venu Byravarasu
2013-04-03 8:41 ` [PATCH v2 3/7] usb: phy: tegra: Get PHY mode using DT Venu Byravarasu
[not found] ` <1364978502-22887-1-git-send-email-vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-04-03 8:41 ` [PATCH v2 2/7] ARM: tegra: update device trees for USB binding rework Venu Byravarasu
2013-04-03 19:16 ` Stephen Warren
[not found] ` <515C8024.30204-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-04-04 13:01 ` Venu Byravarasu
[not found] ` <D958900912E20642BCBC71664EFECE3E6E50BE48AE-QZ+emBqkIFBDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2013-04-04 18:01 ` Stephen Warren
[not found] ` <1364978502-22887-3-git-send-email-vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-04-03 19:33 ` Stephen Warren
2013-04-03 8:41 ` [PATCH v2 4/7] usb: phy: tegra: Return correct error value provided by clk_get_sys Venu Byravarasu
2013-04-03 8:41 ` [PATCH v2 5/7] usb: phy: tegra: get ULPI reset GPIO info using DT Venu Byravarasu
2013-04-03 8:41 ` [PATCH v2 6/7] usb: phy: tegra: Add error handling & clean up Venu Byravarasu
2013-04-03 19:35 ` Stephen Warren
[not found] ` <515C8484.507-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-04-04 12:29 ` Venu Byravarasu
2013-04-03 8:41 ` [PATCH v2 7/7] usb: phy: registering Tegra USB PHY as platform driver Venu Byravarasu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=515C7E07.4040505@wwwdotorg.org \
--to=swarren-3lzwwm7+weoh9zmkesr00q@public.gmane.org \
--cc=balbi-l0cyMroinI0@public.gmane.org \
--cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org \
--cc=vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).