From: Alexey Charkov [alch...@gmail.com] Sent: 20 July 2012 02:45 To: vt8500-wm8505-linux-ker...@googlegroups.com Cc: Arnd Bergmann; linux-arm-ker...@lists.infradead.org; devicetree-discuss@lists.ozlabs.org; Tony Prisk Subject: Re: [PATCH 1/2] ARM: vt8500: Update vt8500-ehci driver to support device tree.
2012/7/19 Tony Prisk <li...@prisktech.co.nz>: > Signed-off-by: Tony Prisk <li...@prisktech.co.nz> > --- > 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 ----- The ehci-platform device requires platform_data be passed at probe. While its generic enought , it puts requirements on the device-tree to setup the private data, which would be messy to get approved I suspect. Regards Tony P _______________________________________________ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss