...@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
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
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
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;
+
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
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
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
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
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
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
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
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
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
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
.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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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.
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
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
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 ++
60 matches
Mail list logo