On Mon, Apr 5, 2021 at 2:27 PM Peter Robinson <[email protected]> wrote: > > On Mon, Mar 1, 2021 at 10:34 PM Tim Harvey <[email protected]> wrote: > > > > The fsl-usb dt bindings in Linux default dr_mode to 'host' for > > backward compatibility however U-Boot prints an error if > > this property does not exist. Declare it in the Gateworks > > Ventana device-trees to avoid the error. > > Is there any reason not to fix the driver not to error if this > property is missing rather than working around it like this? >
Peter, The usb_get_dr_mode function that produces the error is used by a number of drivers that are not all going to have the same default. I think it's best to augment the device-tree anyway (which I will likely do in Linux as well). Tim

