From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 16 May 2016 19:45:09 +0200 Subject: [U-Boot] [PATCH v2 05/13] usb: dwc3: change DWC3 core support code into a driver In-Reply-To: <1463403086-25362-6-git-send-email-yamada.masahiro@socionext.com> References: <1463403086-25362-1-git-send-email-yamada.masahiro@socionext.com> <1463403086-25362-6-git-send-email-yamada.masahiro@socionext.com> Message-ID: <573A0725.1070109@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/16/2016 02:51 PM, Masahiro Yamada wrote: > Synopsys DWC3 IP generally works with an SoC-specific glue layer. > DT binding for that is like this: > > usb3_glue { > compatible = "foo,dwc3"; > ... > > usb3 { > compatible = "snps,dwc3"; > ... > }; > }; > > The glue layer initializes some SoC-specific parts, then populates > the child DWC3 core. To see how it works, refer to > > drivers/usb/dwc3/dwc3-exynos.c > drivers/usb/dwc3/dwc3-keystone.c > drivers/usb/dwc3/dwc3-omap.c > drivers/usb/dwc3/dwc3-st.c > > of Linux Kernel. > > This commit implements a driver compatible with "snps,dwc3", allowing > to use the same binding in U-Boot. The glue layer can be simply > implemented based on Simple Bus Uclass. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Marek Vasut > --- Applied, thanks! -- Best regards, Marek Vasut