diff options
author | Peter Chen <peter.chen@nxp.com> | 2016-04-13 03:16:52 -0400 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2016-05-04 01:40:31 -0400 |
commit | 764763f0a0c81cbed4d2c7dc2b05e7173ff85b5b (patch) | |
tree | 52c9ee5e3ff3996a24562b4f2b3d0d4025b0a5a9 /Documentation/usb | |
parent | 4e332df63487418ec512c3c376c07df9ab3ae035 (diff) |
doc: usb: chipidea: update the doc for OTG FSM
Since we have added otg version and HNP polling support, update
related documentation.
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'Documentation/usb')
-rw-r--r-- | Documentation/usb/chipidea.txt | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Documentation/usb/chipidea.txt b/Documentation/usb/chipidea.txt index 678741b0f213..edf7cdfddc88 100644 --- a/Documentation/usb/chipidea.txt +++ b/Documentation/usb/chipidea.txt | |||
@@ -3,14 +3,17 @@ | |||
3 | To show how to demo OTG HNP and SRP functions via sys input files | 3 | To show how to demo OTG HNP and SRP functions via sys input files |
4 | with 2 Freescale i.MX6Q sabre SD boards. | 4 | with 2 Freescale i.MX6Q sabre SD boards. |
5 | 5 | ||
6 | 1.1 How to enable OTG FSM in menuconfig | 6 | 1.1 How to enable OTG FSM |
7 | --------------------------------------- | 7 | --------------------------------------- |
8 | Select CONFIG_USB_OTG_FSM, rebuild kernel Image and modules. | 8 | 1.1.1 Select CONFIG_USB_OTG_FSM in menuconfig, rebuild kernel |
9 | If you want to check some internal variables for otg fsm, | 9 | Image and modules. If you want to check some internal |
10 | mount debugfs, there are 2 files which can show otg fsm | 10 | variables for otg fsm, mount debugfs, there are 2 files |
11 | variables and some controller registers value: | 11 | which can show otg fsm variables and some controller registers value: |
12 | cat /sys/kernel/debug/ci_hdrc.0/otg | 12 | cat /sys/kernel/debug/ci_hdrc.0/otg |
13 | cat /sys/kernel/debug/ci_hdrc.0/registers | 13 | cat /sys/kernel/debug/ci_hdrc.0/registers |
14 | 1.1.2 Add below entries in your dts file for your controller node | ||
15 | otg-rev = <0x0200>; | ||
16 | adp-disable; | ||
14 | 17 | ||
15 | 1.2 Test operations | 18 | 1.2 Test operations |
16 | ------------------- | 19 | ------------------- |