From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH V2 RFC 2/6] usb: dwc2: Add DT properties to specify fifo size in host/otg mode Date: Fri, 29 Jul 2016 16:12:29 -0500 Message-ID: <20160729211229.GA3575@rob-hp-laptop> References: <1469559213-16160-1-git-send-email-stefan.wahren@i2se.com> <1469559213-16160-3-git-send-email-stefan.wahren@i2se.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1469559213-16160-3-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stefan Wahren Cc: Mark Rutland , Eric Anholt , John Youn , Stephen Warren , Felipe Balbi , Greg Kroah-Hartman , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org 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 > --- > Documentation/devicetree/bindings/usb/dwc2.txt | 3 +++ Acked-by: Rob Herring > drivers/usb/dwc2/core.c | 25 ++++++++++++++++++------ > 2 files changed, 22 insertions(+), 6 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html