Re: [PATCH v2 6/6] usb: host: tegra: Tegra30 support

2013-08-09 Thread Felipe Balbi
On Tue, Aug 06, 2013 at 11:27:11PM +0400, Sergei Shtylyov wrote: > Hello. > > On 08/06/2013 11:16 PM, Tuomas Tynkkynen wrote: > > >[...] > > >>>+ match = of_match_device(tegra_ehci_of_match, &pdev->dev); > >>>+ if (!match) { > >>>+ dev_err(&pdev->dev, "Error: No device match found\n")

Re: [PATCH v2 6/6] usb: host: tegra: Tegra30 support

2013-08-06 Thread Sergei Shtylyov
Hello. On 08/06/2013 11:16 PM, Tuomas Tynkkynen wrote: [...] + match = of_match_device(tegra_ehci_of_match, &pdev->dev); + if (!match) { + dev_err(&pdev->dev, "Error: No device match found\n"); + return -ENODEV; + } + soc_config = (struct t

Re: [PATCH v2 6/6] usb: host: tegra: Tegra30 support

2013-08-06 Thread Tuomas Tynkkynen
On 08/06/2013 09:35 PM, Sergei Shtylyov wrote: > Hello. > [...] >> >> +match = of_match_device(tegra_ehci_of_match, &pdev->dev); >> +if (!match) { >> +dev_err(&pdev->dev, "Error: No device match found\n"); >> +return -ENODEV; >> +} >> +soc_config = (struct t

Re: [PATCH v2 6/6] usb: host: tegra: Tegra30 support

2013-08-06 Thread Sergei Shtylyov
Hello. On 08/06/2013 10:08 PM, Tuomas Tynkkynen wrote: The Tegra30 EHCI controller is mostly compatible with the Tegra20 controller, except Tegra30 includes the HOSTPC register extension. The has_hostpc capability bit must be set in the ehci_hcd structure if the controller has such extensions.