RE: [PATCH 1/2] ARM: vt8500: Update vt8500-ehci driver to support device tree.
From: Tony Prisk <hidden>
Date: 2012-07-19 14:51:12
Also in:
linux-arm-kernel
From: Alexey Charkov [alchark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org] Sent: 20 July 2012 02:45 To: vt8500-wm8505-linux-kernel-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Cc: Arnd Bergmann; linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org; devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org; Tony Prisk Subject: Re: [PATCH 1/2] ARM: vt8500: Update vt8500-ehci driver to support device tree. 2012/7/19 Tony Prisk [off-list ref]:
Signed-off-by: Tony Prisk <redacted> --- drivers/usb/host/ehci-vt8500.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)
Have you tried to use ehci-platform on VIA/WMT devices? If it works (which I would expect), I believe it's better to include OF support into ehci-platform and drop ehci-vt8500 completely after existing boards are converted to Device Tree. When writing ehci-vt8500, I mostly only copied stuff from the PCI version and made it initialize from the platform bus (nothing specific to vt8500). Thanks, Alexey ----- Alexey, The biggest problem I have at the moment is that its very hard to test anything as I only have a WM8650 which isn't supported in mainline. I think I have a local copy of 'our' repo on my laptop - If I do, I'll try changing the platform_device to use ehci_platform and see if it works. Arnd, There isn't any reason why it couldn't be uhci_of. I was simply trying to preserve our existing platform support without having to introduce more patches for the board files. The existing uhci-grlib is probably a better candidate though as I noticed its been updated to support OF since I wrote this driver, and this driver is based off that one. Regards Tony P