Re: [PATCH V5 09/12] usb: xhci: Add NVIDIA Tegra xHCI host-controller driver

2014-11-18 Thread Andrew Bresticker
On Mon, Nov 17, 2014 at 4:33 PM, Felipe Balbi wrote: >> >> +static int tegra_xhci_load_firmware(struct tegra_xhci_hcd *tegra) >> >> +{ >> >> + struct device *dev = tegra->dev; >> >> + struct tegra_xhci_fw_cfgtbl *cfg_tbl; >> >> + struct tm fw_tm; >> >> + u32 val, code_tag_blocks, c

Re: [PATCH V5 09/12] usb: xhci: Add NVIDIA Tegra xHCI host-controller driver

2014-11-17 Thread Felipe Balbi
Hi, On Mon, Nov 17, 2014 at 03:51:29PM -0800, Andrew Bresticker wrote: > >> +static const struct { > >> + const char *name; > >> + unsigned int num; > >> +} tegra_xhci_phy_types[] = { > >> + { > >> + .name = "usb3", > >> + .num = TEGRA_XUSB_USB3_PHYS, > >> +

Re: [PATCH V5 09/12] usb: xhci: Add NVIDIA Tegra xHCI host-controller driver

2014-11-17 Thread Andrew Bresticker
Hi Felipe, On Mon, Nov 17, 2014 at 3:12 PM, Felipe Balbi wrote: > Hi, > > On Mon, Nov 17, 2014 at 02:41:39PM -0800, Andrew Bresticker wrote: >> diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig >> index a3ca137..e2415d3 100644 >> --- a/drivers/usb/host/Kconfig >> +++ b/drivers/usb/

Re: [PATCH V5 09/12] usb: xhci: Add NVIDIA Tegra xHCI host-controller driver

2014-11-17 Thread Felipe Balbi
Hi, On Mon, Nov 17, 2014 at 02:41:39PM -0800, Andrew Bresticker wrote: > diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig > index a3ca137..e2415d3 100644 > --- a/drivers/usb/host/Kconfig > +++ b/drivers/usb/host/Kconfig > @@ -50,6 +50,15 @@ config USB_XHCI_RCAR > Say 'Y' to

[PATCH V5 09/12] usb: xhci: Add NVIDIA Tegra xHCI host-controller driver

2014-11-17 Thread Andrew Bresticker
Add support for the on-chip xHCI host controller present on Tegra SoCs. The controller requires external firmware which must be loaded before using the controller. This driver loads the firmware, starts the controller, and is able to service host-specific messages sent by the controller's firmware