From: Wu Liang feng <wulf@rock-chips.com>
To: heiko@sntech.de
Cc: huangtao@rock-chips.com, kever.yang@rock-chips.com,
eddie.cai@rock-chips.com, roy.li@rock-chips.com,
zyw@rock-chips.com, jwerner@google.com, dianders@google.com,
posciak@google.com, tfiga@google.com,
linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
Wu Liang feng <wulf@rock-chips.com>
Subject: [PATCH 1/2] dt-bindings: usb-ehci: Add an optional property "needs-reset-on-resume"
Date: Wed, 24 Dec 2014 18:22:18 +0800 [thread overview]
Message-ID: <1419416539-3830-2-git-send-email-wulf@rock-chips.com> (raw)
In-Reply-To: <1419416539-3830-1-git-send-email-wulf@rock-chips.com>
Add device-tree bindings for EHCI so we can use "needs-reset-on-resume"
property to force EHCI reset after resume if necessary. This is necessary
on platforms like rk3288 that need a reset after resume to detect if a
device has been disconnected during suspend time.
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
Reviewed-by: Julius Werner <jwerner@google.com>
Reviewed-by: Doug Anderson <dianders@google.com>
Reviewed-by: Tomasz Figa <tfiga@google.com>
Reviewed-by: Pawel Osciak <posciak@google.com>
Reviewed-by: Sonny Rao <sonnyrao@google.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Doug Anderson <dianders@google.com>
---
Documentation/devicetree/bindings/usb/usb-ehci.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/usb/usb-ehci.txt b/Documentation/devicetree/bindings/usb/usb-ehci.txt
index 43c1a4e..0b04fdf 100644
--- a/Documentation/devicetree/bindings/usb/usb-ehci.txt
+++ b/Documentation/devicetree/bindings/usb/usb-ehci.txt
@@ -12,6 +12,7 @@ Optional properties:
- big-endian-regs : boolean, set this for hcds with big-endian registers
- big-endian-desc : boolean, set this for hcds with big-endian descriptors
- big-endian : boolean, for hcds with big-endian-regs + big-endian-desc
+ - needs-reset-on-resume : boolean, set this to force EHCI reset after resume
- clocks : a list of phandle + clock specifier pairs
- phys : phandle + phy specifier pair
- phy-names : "usb"
--
1.8.3.2
next prev parent reply other threads:[~2014-12-24 10:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-24 10:22 [PATCH v2 0/2] Support EHCI reset after resume quirk Wu Liang feng
2014-12-24 10:22 ` Wu Liang feng [this message]
2014-12-24 10:22 ` [PATCH 2/2] USB: ehci-platform: Support ehci " Wu Liang feng
-- strict thread matches above, loose matches on Subject: below --
2014-12-22 10:36 [PATCH 0/2] Support EHCI " Wu Liang feng
2014-12-22 10:36 ` [PATCH 1/2] dt-bindings: usb-ehci: Add an optional property "needs-reset-on-resume" Wu Liang feng
2014-12-22 17:06 ` Doug Anderson
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=1419416539-3830-2-git-send-email-wulf@rock-chips.com \
--to=wulf@rock-chips.com \
--cc=dianders@google.com \
--cc=eddie.cai@rock-chips.com \
--cc=heiko@sntech.de \
--cc=huangtao@rock-chips.com \
--cc=jwerner@google.com \
--cc=kever.yang@rock-chips.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=posciak@google.com \
--cc=roy.li@rock-chips.com \
--cc=tfiga@google.com \
--cc=zyw@rock-chips.com \
/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
all inboxes | Powered by JetHome®