diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-05-04 19:25:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-05-04 19:25:58 +0200 |
commit | 792f7525ac8b9f13df8a4849b25fa4d4a2ac3400 (patch) | |
tree | 7ea7f50a47dbffad0f6ee33ceb586c10265008e2 /Documentation | |
parent | Merge tag 'phy-for-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/kish... (diff) | |
parent | doc: usb: chipidea: update the doc for OTG FSM (diff) | |
download | linux-792f7525ac8b9f13df8a4849b25fa4d4a2ac3400.tar.xz linux-792f7525ac8b9f13df8a4849b25fa4d4a2ac3400.zip |
Merge tag 'usb-ci-v4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb into usb-next
Hi Greg, below are changes for chipidea and OTG FSM, no major changes.
Some for documentation, some for tiny changes, thanks.
Diffstat (limited to 'Documentation')
-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 @@ To show how to demo OTG HNP and SRP functions via sys input files with 2 Freescale i.MX6Q sabre SD boards. -1.1 How to enable OTG FSM in menuconfig +1.1 How to enable OTG FSM --------------------------------------- -Select CONFIG_USB_OTG_FSM, rebuild kernel Image and modules. -If you want to check some internal variables for otg fsm, -mount debugfs, there are 2 files which can show otg fsm -variables and some controller registers value: +1.1.1 Select CONFIG_USB_OTG_FSM in menuconfig, rebuild kernel +Image and modules. If you want to check some internal +variables for otg fsm, mount debugfs, there are 2 files +which can show otg fsm variables and some controller registers value: cat /sys/kernel/debug/ci_hdrc.0/otg cat /sys/kernel/debug/ci_hdrc.0/registers +1.1.2 Add below entries in your dts file for your controller node + otg-rev = <0x0200>; + adp-disable; 1.2 Test operations ------------------- |