[PATCH] Documentation: usb: fix otg mode parameter description
Philipp Zabel
philipp.zabel at gmail.com
Tue Feb 16 14:00:02 PST 2016
Replace ``device`` otg.mode option with the correct ``peripheral``.
Signed-off-by: Philipp Zabel <philipp.zabel at gmail.com>
---
Documentation/user/usb.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/user/usb.rst b/Documentation/user/usb.rst
index 9eb1437..99158a2 100644
--- a/Documentation/user/usb.rst
+++ b/Documentation/user/usb.rst
@@ -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
--
2.7.0
More information about the barebox
mailing list