diff options
author | Li Jun <B47624@freescale.com> | 2015-01-14 15:48:35 +0800 |
---|---|---|
committer | guoyin.chen <guoyin.chen@freescale.com> | 2015-05-08 17:18:59 +0800 |
commit | a91e295f39fd327dae073ac189f05b8701925f12 (patch) | |
tree | 655ba6aef4394775cea598264d9eba5e0c9a7db7 /Documentation | |
parent | 263161a155f99a1a79dae5251f6368edfcc33183 (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 |