[PATCH V2 RFC 2/6] usb: dwc2: Add DT properties to specify fifo size in host/otg mode
Rob Herring
robh at kernel.org
Fri Jul 29 14:12:29 PDT 2016
On Tue, Jul 26, 2016 at 06:53:29PM +0000, Stefan Wahren wrote:
> Currently the fifo sizes for host/otg mode are defined per platform
> and doesn't take the mode into account. So we will get errors
> like this:
>
> dwc2 20980000.usb: 256 invalid for host_nperio_tx_fifo_size.
> dwc2 20980000.usb: Setting host_nperio_tx_fifo_size to 32
>
> So add DT properties for these mode specific fifo sizes in order
> to define them in the devicetree and avoid these errors.
>
> Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
> ---
> Documentation/devicetree/bindings/usb/dwc2.txt | 3 +++
Acked-by: Rob Herring <robh at kernel.org>
> drivers/usb/dwc2/core.c | 25 ++++++++++++++++++------
> 2 files changed, 22 insertions(+), 6 deletions(-)
More information about the linux-arm-kernel
mailing list