diff options
author | Li Jun <B47624@freescale.com> | 2015-01-14 15:48:35 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-04-14 14:02:37 -0500 |
commit | 27a09d5d6f6e5470a9d67d3d0a6c8167b4042b91 (patch) | |
tree | 2ab8ad6b5451b53fa0bd0a17124763bb138dcb77 /Documentation | |
parent | bc02493f2590587386fdfdc492082d00982fb6eb (diff) |
MLK-10015-2 Documentation: usb: chipidea: update for hnp_enable usage
Add documentation for how to use hnp_enable input file to enable or disable
full OTG HNP function in runtime.
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Li Jun <jun.li@freescale.com>
(cherry picked from commit cd7a4868a63297e11a699b5f96f118df2bc9f437)
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/usb/chipidea.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/usb/chipidea.txt b/Documentation/usb/chipidea.txt index 43cc0c82d393..678ebb986f55 100644 --- a/Documentation/usb/chipidea.txt +++ b/Documentation/usb/chipidea.txt @@ -77,6 +77,17 @@ compliant(with otg descriptor comply with USB OTG and EH 2.0 as a peripheral): - ether - serial +1.5 Runtime enable and disable full HNP +--------------------------------------- +One more input file is created: +/sys/bus/platform/devices/ci_hdrc.0/inputs/hnp_enable + +Defaultly USB OTG full HNP(do role switch by SW protocol, no need exchange OTG +plug) is not enabled, user can enable or disable it after disconnect from other +end device by: + echo 1 or 0 > /sys/bus/platform/devices/ci_hdrc.0/inputs/hnp_enable +If this input is 0, only OTG role switch by ID pin detection can be supported. + 2. How to enable USB as system wakeup source ----------------------------------- Below is the example for how to enable USB as system wakeup source |