9
0
Fork 0

Documentation: usb: fix otg mode parameter description

Replace ``device`` otg.mode option with the correct ``peripheral``.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Philipp Zabel 2016-02-16 23:00:02 +01:00 committed by Sascha Hauer
parent 233a2fbd9f
commit 2629cc9d46
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ barebox does not have USB OTG support. However, barebox supports some USB cores
both host and device mode. If these are specified for otg in the device tree
(dr_mode = "otg";) barebox registers a OTG device which can be used to decide which
mode shall be used. The device has a ``mode`` parameter which by default has the
value ``otg``. setting this to ``host`` or ``device`` puts the device in the corresponding
value ``otg``. setting this to ``host`` or ``peripheral`` puts the device in the corresponding
mode. Once a specific mode has been selected it can't be changed later anymore.
.. code-block:: sh