Re: [PATCH 08/10] USB: EHCI: make ehci-vt8500 a separate driver

2013-02-07 Thread Tony Prisk
...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Tony Prisk li...@prisktech.co.nz Cc: Alexey Charkov alch...@gmail.com Cc: linux-usb@vger.kernel.org Cc: linux-ker...@vger.kernel.org --- drivers/usb/host/Kconfig |8 + drivers/usb/host/Makefile |1 + drivers

Re: [PATCH 1/2] USB: EHCI: make ehci-vt8500 a separate driver

2013-02-15 Thread Tony Prisk
here for the vt8500 bus glue. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Tony Prisk li...@prisktech.co.nz Cc: Alexey Charkov alch...@gmail.com --- drivers/usb/host/Kconfig | 8 + drivers/usb/host/Makefile | 1

Re: [PATCH] USB: EHCI: DT support for generic bus glue

2013-03-25 Thread Tony Prisk
with multiplatform configurations. Cc: Tony Prisk li...@prisktech.co.nz Cc: Alexey Charkov alch...@gmail.com Acked-by: Alan Stern st...@rowland.harvard.edu Signed-off-by: Arnd Bergmann a...@arndb.de --- Tony, Alexey et al: could one of you test if this works for you? drivers/usb/host/ehci

Re: [PATCH] USB: EHCI: DT support for generic bus glue

2013-03-25 Thread Tony Prisk
On Mon, 2013-03-25 at 22:23 +, Arnd Bergmann wrote: On Monday 25 March 2013, Alan Stern wrote: + if (!dev-dev.platform_data) { + dev-dev.platform_data = ehci_platform_defaults; + dev-dev.dma_mask = dev-dev.coherent_dma_mask; +

Re: [PATCH] USB: EHCI: DT support for generic bus glue

2013-03-26 Thread Tony Prisk
On Mon, 2013-03-25 at 19:03 +, Arnd Bergmann wrote: On Monday 25 March 2013, Tony Prisk wrote: I'll take a look at this and get back to you before Easter. Great, thanks a lot! Arnd I couldn't get this patch to apply cleanly on 3.9-rc2, -rc3 or -rc4 for some reason. Applied

Re: [PATCH] USB: EHCI: DT support for generic bus glue

2013-03-26 Thread Tony Prisk
Hi Alan, I noticed when testing Arnd's patch that I get an unused function warning: drivers/usb/host/ehci-q.c:1320:13: warning: ‘unlink_empty_async_suspended’ defined but not used [-Wunused-function] It looks like this function is called from ehci-hub.c:ehci_bus_suspend() which is wrapped in a

[PATCH] usb: ehci: unlink_empty_async_suspended() only used with CONFIG_PM

2013-03-26 Thread Tony Prisk
Compiling with !CONFIG_PM generates an unused function warning on unlink_empty_async_suspended(). Enclose the function and its forward declaration in a #ifdef CONFIG_PM Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/usb/host/ehci-q.c |3 ++- 1 file changed, 2 insertions(+), 1

[PATCHv2] usb: ehci: unlink_empty_async_suspended() only used with CONFIG_PM

2013-03-26 Thread Tony Prisk
Compiling with !CONFIG_PM generates an unused function warning on unlink_empty_async_suspended(). Enclose the function in a #ifdef CONFIG_PM Signed-off-by: Tony Prisk li...@prisktech.co.nz --- Fixed up the commit message. drivers/usb/host/ehci-q.c |3 ++- 1 file changed, 2 insertions(+), 1

[PATCHv2] usb: ehci: unlink_empty_async_suspended() only used with CONFIG_PM

2013-03-26 Thread Tony Prisk
Compiling with !CONFIG_PM generates an unused function warning on unlink_empty_async_suspended(). Enclose the function in a #ifdef CONFIG_PM Signed-off-by: Tony Prisk li...@prisktech.co.nz Acked-by: Alan Stern st...@rowland.harvard.edu --- v2: Tidy up blank line as requested by Alan Stern

Re: [PATCH] usb: ehci: mark unlink_empty_async_suspended() as __maybe_unused

2013-03-28 Thread Tony Prisk
On 29/03/13 10:16, Arnd Bergmann wrote: On Thursday 28 March 2013, Arnd Bergmann wrote: Patch 4d053fdac3 usb: ehci: unlink_empty_async_suspended() only used with CONFIG_PM tried to hide the unlink_empty_async_suspended function inside of an #ifdef to work around an unused function warning. Hi

Re: [PATCH 4/7] ECHI Platform: Merge ppc-of EHCI driver into the ehci-platform driver

2014-02-21 Thread Tony Prisk
On 22/02/14 00:48, Mark Rutland wrote: [Adding Tony Prisk to Cc] On Fri, Feb 21, 2014 at 06:31:30AM +, Alistair Popple wrote: Currently the ppc-of driver uses the compatibility string usb-ehci. This means platforms that use device-tree and implement an EHCI compatible interface have

[PATCH 1/2] ARM: vt8500: Update vt8500-ehci driver to support device tree.

2012-07-20 Thread Tony Prisk
Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/usb/vt8500-ehci.txt| 10 ++ drivers/usb/host/ehci-vt8500.c |9 + 2 files changed, 19 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings

[PATCHv4 1/2] ARM: vt8500: Update vt8500-ehci driver to support device tree.

2012-07-21 Thread Tony Prisk
Signed-off-by: Tony Prisk li...@prisktech.co.nz --- v4: Minor changes to the documentation of required properties. .../devicetree/bindings/usb/vt8500-ehci.txt| 12 drivers/usb/host/ehci-vt8500.c |9 + 2 files changed, 21 insertions(+), 0

[PATCHv4 2/2] ARM: vt8500: Add support for UHCI companion controller

2012-07-21 Thread Tony Prisk
Add support for a generic non-pci UHCI companion controller. Existing board files for arch-vt8500 updated to include UHCI support. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- v4: Add the binding documentation. Changed the OF .compatibility to 'platform-uhci' .../devicetree/bindings/usb

Re: [PATCH] USB: set device dma_mask without reference to global data

2013-05-07 Thread Tony Prisk
.Because we have no NAND support yet, I have always booted myrootfs from USB so it's always been builtin and the problem wasnever a problem. The same problem would have existed on ehci-vt8500 but Arnd replaced it with ehci-platform due to the multiplatform issues. for uhci-platform.c Acked-by: Tony

[PATCH 3/8] serial: vt8500: Add devicetree support for vt8500-serial

2012-08-07 Thread Tony Prisk
Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/tty/serial/vt8500_serial.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index 2be006f..a7f58c9 100644 --- a/drivers/tty/serial/vt8500_serial.c

[PATCH 0/8] *** ARM: Update arch-vt8500 to Devicetree ***

2012-08-07 Thread Tony Prisk
. Could I get this reviewed, hopefully for inclusion into v3.7. Regards Tony Prisk Tony Prisk (8): arm: vt8500: Add device tree files for VIA/Wondermedia SoC's rtc: vt8500: Add devicetree support for vt8500-rtc serial: vt8500: Add devicetree support for vt8500-serial usb: vt8500: Add

[PATCH 4/8] usb: vt8500: Add devicetree support for vt8500-ehci and -uhci.

2012-08-07 Thread Tony Prisk
Add devicetree support for vt8500-ehci. Convert vt8500-uhci to a generic non-pci platform-uhci with device tree support. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/usb/host/Kconfig |4 +- drivers/usb/host/ehci-vt8500.c | 24 -- drivers/usb/host/uhci-hcd.c

[PATCH 8/8] ARM: vt8500: gpio: Devicetree support for arch-vt8500

2012-08-07 Thread Tony Prisk
Converted the existing arch-vt8500 gpio to a platform_device. Added support for WM8505 and WM8650 GPIO controllers. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/gpio/Kconfig |6 + drivers/gpio/Makefile |1 + drivers/gpio/gpio-vt8500.c | 318

[PATCH 7/8] arm: vt8500: doc: Add device tree bindings for arch-vt8500 devices

2012-08-07 Thread Tony Prisk
data. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- Documentation/devicetree/bindings/arm/vt8500.txt | 15 +++ .../bindings/arm/vt8500/via,vt8500-intc.txt| 16 +++ .../bindings/arm/vt8500/via,vt8500-pmc.txt | 13 ++ .../bindings/arm/vt8500/via,vt8500

[PATCH 5/8] video: vt8500: Add devicetree support for vt8500-fb and wm8505-fb

2012-08-07 Thread Tony Prisk
Update vt8500-fb, wm8505-fb and wmt-ge-rops to support device tree bindings. Small change in wm8505-fb.c to support WM8650 framebuffer color format. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/video/Kconfig |6 +-- drivers/video/vt8500lcdfb.c | 77

[PATCH 2/8] rtc: vt8500: Add devicetree support for vt8500-rtc

2012-08-07 Thread Tony Prisk
Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/rtc/rtc-vt8500.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/rtc/rtc-vt8500.c b/drivers/rtc/rtc-vt8500.c index 9e94fb1..7364564 100644 --- a/drivers/rtc/rtc-vt8500.c +++ b/drivers/rtc/rtc-vt8500.c @@ -23,6 +23,7

[PATCH 1/8] arm: vt8500: Add device tree files for VIA/Wondermedia SoC's

2012-08-07 Thread Tony Prisk
Add device tree files for VT8500, WM8505 and WM8650 SoC's and reference boards. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500.dtsi| 99 ++ arch/arm/boot/dts/vt8500_ref.dts | 31 ++ arch/arm/boot/dts/wm8505.dtsi| 125

[PATCHv2 7/8] arm: vt8500: doc: Add device tree bindings for arch-vt8500 devices

2012-08-08 Thread Tony Prisk
data. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- Documentation/devicetree/bindings/arm/vt8500.txt | 15 +++ .../bindings/arm/vt8500/via,vt8500-intc.txt| 16 +++ .../bindings/arm/vt8500/via,vt8500-pmc.txt | 13 ++ .../bindings/arm/vt8500/via,vt8500

[PATCHv2 8/8] arm: vt8500: gpio: Devicetree support for arch-vt8500

2012-08-08 Thread Tony Prisk
Converted the existing arch-vt8500 gpio to a platform_device. Added support for WM8505 and WM8650 GPIO controllers. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/gpio/Kconfig |6 + drivers/gpio/Makefile |1 + drivers/gpio/gpio-vt8500.c | 313

[PATCHv2 4/8] usb: vt8500: Add devicetree support for vt8500-ehci and -uhci.

2012-08-08 Thread Tony Prisk
Add devicetree support for vt8500-ehci. Convert vt8500-uhci to a generic non-pci platform-uhci with device tree support. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/usb/host/Kconfig |4 +- drivers/usb/host/ehci-vt8500.c | 25 -- drivers/usb/host/uhci-hcd.c

[PATCHv2 3/8] serial: vt8500: Add devicetree support for vt8500-serial

2012-08-08 Thread Tony Prisk
Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/tty/serial/vt8500_serial.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index 2be006f..dee6715 100644 --- a/drivers/tty/serial

[PATCHv2 5/8] video: vt8500: Add devicetree support for vt8500-fb and wm8505-fb

2012-08-08 Thread Tony Prisk
Update vt8500-fb, wm8505-fb and wmt-ge-rops to support device tree bindings. Small change in wm8505-fb.c to support WM8650 framebuffer color format. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/video/Kconfig |6 +-- drivers/video/vt8500lcdfb.c | 79

[PATCHv2 2/8] rtc: vt8500: Add devicetree support for vt8500-rtc

2012-08-08 Thread Tony Prisk
Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/rtc/rtc-vt8500.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-vt8500.c b/drivers/rtc/rtc-vt8500.c index 9e94fb1..07bf193 100644 --- a/drivers/rtc/rtc-vt8500.c +++ b/drivers/rtc/rtc-vt8500

[PATCHv2 1/8] arm: vt8500: Add device tree files for VIA/Wondermedia SoC's

2012-08-08 Thread Tony Prisk
Add device tree files for VT8500, WM8505 and WM8650 SoC's and reference boards. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500-bv07.dts | 31 + arch/arm/boot/dts/vt8500.dtsi | 99 + arch/arm/boot/dts/wm8505-ref.dts | 31

[PATCHv3 7/9] arm: vt8500: doc: Add device tree bindings for arch-vt8500 devices

2012-08-21 Thread Tony Prisk
data. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- Documentation/devicetree/bindings/arm/vt8500.txt | 15 .../bindings/arm/vt8500/via,vt8500-intc.txt| 16 + .../bindings/arm/vt8500/via,vt8500-pmc.txt | 13 .../bindings/arm/vt8500/via,vt8500-timer.txt

[PATCHv3 9/9] arm: vt8500: clk: Add Common Clock Framework support

2012-08-21 Thread Tony Prisk
This patch adds common clock framework support for arch-vt8500. Support for PLL and device clocks on VT8500, WM8505 and WM8650 are included. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/clk/Makefile |1 + drivers/clk/clk-vt8500.c | 496

[PATCHv3 2/9] rtc: vt8500: Add devicetree support for vt8500-rtc

2012-08-21 Thread Tony Prisk
Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/rtc/rtc-vt8500.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-vt8500.c b/drivers/rtc/rtc-vt8500.c index 9e94fb1..07bf193 100644 --- a/drivers/rtc/rtc-vt8500.c +++ b/drivers/rtc/rtc-vt8500

[PATCHv3 3/9] serial: vt8500: Add devicetree support for vt8500-serial

2012-08-21 Thread Tony Prisk
Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/tty/serial/vt8500_serial.c | 37 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index 2be006f..72e32db 100644

[PATCHv3 0/9] *** ARM: Update arch-vt8500 to Devicetree ***

2012-08-21 Thread Tony Prisk
. Could I get this reviewed, hopefully for inclusion into v3.7. Regards Tony Prisk Changes v2: Cleanup style/formatting errors Removed erroneous commit message about GPIO not being converted to devicetree Corrected arch-vt8500/irq.c header to correct filename Changed GPIO driver to use

[PATCHv3 1/9] arm: vt8500: Add device tree files for VIA/Wondermedia SoC's

2012-08-21 Thread Tony Prisk
Add device tree files for VT8500, WM8505 and WM8650 SoC's and reference boards. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500-bv07.dts | 31 + arch/arm/boot/dts/vt8500.dtsi | 100 +++ arch/arm/boot/dts/wm8505-ref.dts | 31

Re: [PATCHv3 3/9] serial: vt8500: Add devicetree support for

2012-08-22 Thread Tony Prisk
On Tue, 2012-08-21 at 23:12 +0100, Alan Cox wrote: On Wed, 22 Aug 2012 08:47:32 +1200 Tony Prisk li...@prisktech.co.nz wrote: Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/tty/serial/vt8500_serial.c | 37 1 file changed, 33

RE: [rtc-linux] [PATCHv3 8/9] arm: vt8500: gpio: Devicetree support for arch-vt8500

2012-08-22 Thread Tony Prisk
simply moved it across to drivers/gpio and made some changes/additions. Having looked, I don't see any reason why it can't use the _relaxed variants. Changes included in v4. I'll post up v4 for review when I get home in about 7 hours. Work always gets in the way of being productive :) Regards Tony

Re: [PATCHv3 7/9] arm: vt8500: doc: Add device tree bindings for arch-vt8500 devices

2012-08-22 Thread Tony Prisk
On Wed, 2012-08-22 at 15:07 -0600, Stephen Warren wrote: On 08/21/2012 02:47 PM, Tony Prisk wrote: Bindings for gpio, interrupt controller, power management controller, timer, realtime clock, serial uart, ehci and uhci controllers and framebuffer controllers used on the arch-vt8500 platform

[PATCHv4 0/9] *** ARM: Update arch-vt8500 to Devicetree ***

2012-08-23 Thread Tony Prisk
. Could I get this reviewed, hopefully for inclusion into v3.7. Regards Tony Prisk Changes v2: Cleanup style/formatting errors Removed erroneous commit message about GPIO not being converted to devicetree Corrected arch-vt8500/irq.c header to correct filename Changed GPIO driver to use

[PATCHv4 9/9] arm: vt8500: clk: Add Common Clock Framework support

2012-08-23 Thread Tony Prisk
This patch adds common clock framework support for arch-vt8500. Support for PLL and device clocks on VT8500, WM8505 and WM8650 are included. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/clk/Makefile |1 + drivers/clk/clk-vt8500.c | 511

[PATCHv4 8/9] arm: vt8500: gpio: Devicetree support for arch-vt8500

2012-08-23 Thread Tony Prisk
Converted the existing arch-vt8500 gpio to a platform_device. Added support for WM8505 and WM8650 GPIO controllers. Replaced existing readl/writel calls with _relaxed variants. Replaced existing unsigned variables with u32 to match register size. Signed-off-by: Tony Prisk li...@prisktech.co.nz

[PATCHv4 7/9] arm: vt8500: doc: Add device tree bindings for arch-vt8500 devices

2012-08-23 Thread Tony Prisk
data. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- Documentation/devicetree/bindings/arm/vt8500.txt | 15 .../bindings/arm/vt8500/via,vt8500-intc.txt| 16 + .../bindings/arm/vt8500/via,vt8500-pmc.txt | 13 .../bindings/arm/vt8500/via,vt8500-timer.txt

[PATCHv4 4/9] usb: vt8500: Add devicetree support for vt8500-ehci and -uhci.

2012-08-23 Thread Tony Prisk
Add devicetree support for vt8500-ehci. Convert vt8500-uhci to a generic non-pci platform-uhci with device tree support. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/usb/host/Kconfig |4 +- drivers/usb/host/ehci-vt8500.c | 25 -- drivers/usb/host/uhci-hcd.c

[PATCHv4 3/9] serial: vt8500: Add devicetree support for vt8500-serial

2012-08-23 Thread Tony Prisk
Increase vt8500_max_ports to 6 as the WM8505 as 6 available uarts. Use devicetree port id as primary addressing for ports but allow auto-allocation if id not specified. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/tty/serial/vt8500_serial.c | 58

[PATCHv4 1/9] arm: vt8500: Add device tree files for VIA/Wondermedia SoC's

2012-08-23 Thread Tony Prisk
Add device tree files for VT8500, WM8505 and WM8650 SoC's and reference boards. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500-bv07.dts | 31 arch/arm/boot/dts/vt8500.dtsi | 115 + arch/arm/boot/dts/wm8505-ref.dts | 31

[PATCHv4 2/9] rtc: vt8500: Add devicetree support for vt8500-rtc

2012-08-23 Thread Tony Prisk
Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/rtc/rtc-vt8500.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-vt8500.c b/drivers/rtc/rtc-vt8500.c index 9e94fb1..07bf193 100644 --- a/drivers/rtc/rtc-vt8500.c +++ b/drivers/rtc/rtc-vt8500

[PATCH 2/2] usb: Missing dma_mask in ehci-vt8500.c when probed from device-tree

2012-10-06 Thread Tony Prisk
Device-tree probed devices don't get a dev.dma_mask set. This patch sets a default 32bit mask on arch-vt8500 when using devicetree. Without this patch, arch-vt8500 cannot detect ehci attached devices. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/usb/host/ehci-vt8500.c | 10

Re: [PATCH 0/2] usb: vt8500: Fixups for 3.7

2012-10-07 Thread Tony Prisk
On Sun, 2012-10-07 at 11:44 -0400, Alan Stern wrote: On Sun, 7 Oct 2012, Tony Prisk wrote: When probed from devicetree, dma_mask is not set but is required by the usb subsystem. These patches add a default dma_mask when not specified. Tony Prisk (2): usb: Missing dma_mask in uhci

Re: [PATCH 1/2] usb: Missing dma_mask in uhci-platform.c when probed from device-tree

2012-10-07 Thread Tony Prisk
On Sun, 2012-10-07 at 11:41 -0400, Alan Stern wrote: On Sun, 7 Oct 2012, Tony Prisk wrote: Device-tree probed devices don't get a dev.dma_mask set. This patch sets a default 32bit mask on platforms using devicetree. Without this patch, arch-vt8500 cannot detect uhci attached devices

Re: [PATCH 0/2] usb: vt8500: Fixups for 3.7

2012-10-07 Thread Tony Prisk
On Sun, 2012-10-07 at 21:47 -0400, Alan Stern wrote: On Mon, 8 Oct 2012, Tony Prisk wrote: How about instead of changing ehci-vt8500.c, remove it completely and use ehci-platform instead? The changes required should be minimal, especially after ehci_update_device() get moved

[PATCH v2 1/2] usb: Missing dma_mask in uhci-platform.c when probed from device-tree

2012-10-13 Thread Tony Prisk
Device-tree probed devices don't get a dev.dma_mask set. This patch sets a default 32bit mask on platforms using devicetree. Without this patch, arch-vt8500 cannot detect uhci attached devices. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/usb/host/uhci-platform.c |9

[PATCH v2 0/2] USB: vt8500: Fixups for 3.7

2012-10-13 Thread Tony Prisk
Greg KH, Can we get these in before -rc1 as most arch-vt8500 users rely on USB to boot, and with both EHCI UHCI missing dma_masks, neither works. Regards Tony P v2: corrected copy/paste mistake in uhci-platform.c Tony Prisk (2): usb: Missing dma_mask in uhci-platform.c when probed from

[PATCH v2 2/2] usb: Missing dma_mask in ehci-vt8500.c when probed from device-tree

2012-10-13 Thread Tony Prisk
Device-tree probed devices don't get a dev.dma_mask set. This patch sets a default 32bit mask on arch-vt8500 when using devicetree. Without this patch, arch-vt8500 cannot detect ehci attached devices. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/usb/host/ehci-vt8500.c | 10

Re: [PATCH v4 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-11 Thread Tony Prisk
On 11/01/14 11:46, Hans de Goede wrote: Add support for ohci-platform instantiation from devicetree, including optionally getting clks and a phy from devicetree, and enabling / disabling those on power_on / off. This should allow using ohci-platform from devicetree in various cases.

Re: [PATCH v4 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-11 Thread Tony Prisk
that, I don't really care if it's called mmio either (although this does seem less 'descriptive'). Regards Tony Prisk -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH v5 2/2] ehci-platform: Add support for clks and phy passed through devicetree

2014-01-13 Thread Tony Prisk
On 14/01/14 11:45, Hans de Goede wrote: Currently ehci-platform is only used in combination with devicetree when used with some Via socs. By extending it to (optionally) get clks and a phy from devicetree, and enabling / disabling those on power_on / off, it can be used more generically.

[PATCH v2 1/2] USB: Update EHCI-platform driver to devicetree.

2012-10-20 Thread Tony Prisk
This patch adds devicetree support to the EHCI-platform driver, and removes the now unneeded ehci-vt8500.c Existing platform properties are maintained, with the exception the power_(on/off) and suspend function pointers. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/usb/host/ehci

Re: ehci_hcd multiplatform issue

2012-10-22 Thread Tony Prisk
On Mon, 2012-10-22 at 10:13 -0400, Alan Stern wrote: On Mon, 22 Oct 2012, Tony Prisk wrote: I suspected this might be a problem when I first looked at the ehci code, and in working on the ehci-platform driver recently it has become apparent this is actually going to be a problem

Re: [PATCH 9/9] usb: {ohci,ehci}-platform: Use new OF big-endian helper function

2014-11-25 Thread Tony Prisk
On 26/11/14 13:49, Kevin Cernekee wrote: This handles the existing big-endian case, and in addition, it also does the right thing when native-endian is specified. Signed-off-by: Kevin Cernekee cerne...@gmail.com --- Documentation/devicetree/bindings/usb/usb-ehci.txt | 2 ++