Documentation: usb: fix otg mode parameter description
PATCH 1/1 Documentation: usb: fix otg mode parameter description
Replace ``device`` otg.mode option with the correct ``peripheral``.
Signed-off-by Philipp Zabel <[email protected]>
--- Documentation/user/usb.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/user/usb.rst +1 -1
@@ -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
Signature · 7 lines
2.7.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 6 lines · Philipp Zabel
Replace ``device`` otg.mode option with the correct ``peripheral``.
Signed-off-by Philipp Zabel <[email protected]>--- Documentation/user/usb.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks
Sascha
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox