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
---
Documentation/devicetree/bindings/usb/usb-ehci.txt | 2 ++
Documentation/devicetree/bindin
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 interfa
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. Specific
ving
said 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 majord
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.
Specifically
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 Prisk
Regards
Tony
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
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
Acked-by: Alan Stern
---
v2:
Tidy up blank line as requested by Alan Stern
drivers/usb/host/ehci-q.c |2 ++
1 file changed
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
---
Fixed up the commit message.
drivers/usb/host/ehci-q.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
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
---
drivers/usb/host/ehci-q.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
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
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
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;
> > > +
ses problems with multiplatform configurations.
>
> Cc: Tony Prisk
> Cc: Alexey Charkov
> Acked-by: Alan Stern
> Signed-off-by: Arnd Bergmann
> ---
> Tony, Alexey et al: could one of you test if this works for you?
>
> drivers/usb/host/ehci-hcd.c | 5 --
&g
n
> avoid this problem by turning a bus glue into a separate
> module, as we do here for the vt8500 bus glue.
>
> Signed-off-by: Manjunath Goudar
> Signed-off-by: Arnd Bergmann
> Cc: Tony Prisk
> Cc: Alexey Charkov
> ---
> drivers/usb/host/Kconfig | 8
On Thu, 2013-02-07 at 23:04 +0530, manjunath.gou...@linaro.org wrote:
> From: Manjunath Goudar
>
> Separate the vt8500 host controller driver from ehci-hcd host code
> into its own driver module.
>
> Signed-off-by: Manjunath Goudar
> Cc: Greg KH
> Cc: Alan Stern
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 actual
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 in the near future.
Because of the way ehci-hcd includes the source for variations:
...
#ifdef CONFIG_ARCH_VT8
On Sat, 2012-10-20 at 10:31 -0400, Alan Stern wrote:
> On Sat, 20 Oct 2012, Florian Fainelli wrote:
>
> > Hi Tony,
> >
> > On Saturday 20 October 2012 16:17:32 Tony Prisk wrote:
> > > This patch adds devicetree support to the EHCI-platform driver,
> > >
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
---
drivers/usb/host/ehci-hcd.c |5
of the DT
properties are linux-specific.
* Changed properties to match those expected in usb-ehci binding.
Tony Prisk (2):
USB: Update EHCI-platform driver to devicetree.
USB: doc: Binding document for ehci-platform driver
.../devicetree/bindings/usb/ehci-platform.txt | 27 +++
Add a binding document for ehci-platform driver.
Signed-off-by: Tony Prisk
---
.../devicetree/bindings/usb/ehci-platform.txt | 27
1 file changed, 27 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/ehci-platform.txt
diff --git a/Documentation
On Sat, 2012-10-20 at 15:01 +0200, Florian Fainelli wrote:
> Hi Tony,
>
> On Saturday 20 October 2012 16:17:32 Tony Prisk wrote:
> > This patch adds devicetree support to the EHCI-platform driver,
> > and removes the now unneeded ehci-vt8500.c
> >
> > Existing p
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
---
drivers/usb/host/ehci-hcd.c |5
Add a binding document for ehci-platform driver.
Signed-off-by: Tony Prisk
---
.../devicetree/bindings/usb/ehci-platform.txt | 22
1 file changed, 22 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/ehci-platform.txt
diff --git a/Documentation
these descriptions are
incorrect and/or need to be clarified.
Tony Prisk (2):
USB: Update EHCI-platform driver to devicetree.
USB: doc: Binding document for ehci-platform driver
.../devicetree/bindings/usb/ehci-platform.txt | 22 +++
drivers/usb/host/ehci-hcd.c|
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
---
drivers/usb/host/ehci-vt8500.c | 10 ++
1
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
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
---
drivers/usb/host/uhci-platform.c |9 +
1 file chang
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,
> > > especial
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
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.
> >
> >
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
---
drivers/usb/host/uhci-platform.c | 11 ++-
1 file ch
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-platform.c when probed from device-tree
usb: Missing dma_mask in ehci-vt8500.c when probed from device
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
---
drivers/usb/host/ehci-vt8500.c | 10 ++
1
Signed-off-by: Tony Prisk
---
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.c
@@ -23,6 +23,7
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
---
drivers/video/Kconfig |6 +--
drivers/video/vt8500lcdfb.c | 79
Add device tree files for VT8500, WM8505 and WM8650 SoC's and
reference boards.
Signed-off-by: Tony Prisk
---
arch/arm/boot/dts/vt8500-bv07.dts | 31
arch/arm/boot/dts/vt8500.dtsi | 115 +
arch/arm/boot/dts/wm8505-ref.dts | 31
arc
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
---
drivers/tty/serial/vt8500_serial.c | 58
1 file changed
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
---
drivers/usb/host/Kconfig |4 +-
drivers/usb/host/ehci-vt8500.c | 25 --
drivers/usb/host/uhci-hcd.c |5 ++
drivers
lcd panel data.
Signed-off-by: Tony Prisk
---
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
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
---
drivers/gpio
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
---
drivers/clk/Makefile |1 +
drivers/clk/clk-vt8500.c | 511 ++
2 files
s arm-soc/for-next branch.
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
C
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 us
anges 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 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-info.html
On Tue, 2012-08-21 at 23:12 +0100, Alan Cox wrote:
> On Wed, 22 Aug 2012 08:47:32 +1200
> Tony Prisk wrote:
>
> > Signed-off-by: Tony Prisk
> > ---
> > drivers/tty/serial/vt8500_serial.c | 37
> >
> > 1 file
Add device tree files for VT8500, WM8505 and WM8650 SoC's and
reference boards.
Signed-off-by: Tony Prisk
---
arch/arm/boot/dts/vt8500-bv07.dts | 31 +
arch/arm/boot/dts/vt8500.dtsi | 100 +++
arch/arm/boot/dts/wm8505-ref.dts | 31 +
arc
Converted the existing arch-vt8500 gpio to a platform_device.
Added support for WM8505 and WM8650 GPIO controllers.
Signed-off-by: Tony Prisk
---
drivers/gpio/Kconfig |6 +
drivers/gpio/Makefile |1 +
drivers/gpio/gpio-vt8500.c | 313
s arm-soc/for-next branch.
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
C
Signed-off-by: Tony Prisk
---
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
--- a/drivers/tty
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
---
drivers/usb/host/Kconfig |4 +-
drivers/usb/host/ehci-vt8500.c | 25 --
drivers/usb/host/uhci-hcd.c |5 ++
drivers
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
---
drivers/video/Kconfig |6 +--
drivers/video/vt8500lcdfb.c | 79
Signed-off-by: Tony Prisk
---
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.c
@@ -23,6 +23,7
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
---
drivers/clk/Makefile |1 +
drivers/clk/clk-vt8500.c | 496 ++
2 files
lcd panel data.
Signed-off-by: Tony Prisk
---
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 device tree files for VT8500, WM8505 and WM8650 SoC's and
reference boards.
Signed-off-by: Tony Prisk
---
arch/arm/boot/dts/vt8500-bv07.dts | 31 +
arch/arm/boot/dts/vt8500.dtsi | 99 +
arch/arm/boot/dts/wm8505-ref.dts | 31 +
arc
s arm-soc/for-next branch.
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
C
Signed-off-by: Tony Prisk
---
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.c
@@ -23,6 +23,7
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
---
drivers/video/Kconfig |6 +--
drivers/video/vt8500lcdfb.c | 79
Signed-off-by: Tony Prisk
---
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/vt8500_serial.c
+++ b
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
---
drivers/usb/host/Kconfig |4 +-
drivers/usb/host/ehci-vt8500.c | 25 --
drivers/usb/host/uhci-hcd.c |5 ++
drivers
Converted the existing arch-vt8500 gpio to a platform_device.
Added support for WM8505 and WM8650 GPIO controllers.
Signed-off-by: Tony Prisk
---
drivers/gpio/Kconfig |6 +
drivers/gpio/Makefile |1 +
drivers/gpio/gpio-vt8500.c | 313
lcd panel data.
Signed-off-by: Tony Prisk
---
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 device tree files for VT8500, WM8505 and WM8650 SoC's and
reference boards.
Signed-off-by: Tony Prisk
---
arch/arm/boot/dts/vt8500.dtsi| 99 ++
arch/arm/boot/dts/vt8500_ref.dts | 31 ++
arch/arm/boot/dts/wm8505.dtsi|
Signed-off-by: Tony Prisk
---
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 @@
#include
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
---
drivers/video/Kconfig |6 +--
drivers/video/vt8500lcdfb.c | 77
lcd panel data.
Signed-off-by: Tony Prisk
---
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
Converted the existing arch-vt8500 gpio to a platform_device.
Added support for WM8505 and WM8650 GPIO controllers.
Signed-off-by: Tony Prisk
---
drivers/gpio/Kconfig |6 +
drivers/gpio/Makefile |1 +
drivers/gpio/gpio-vt8500.c | 318
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
---
drivers/usb/host/Kconfig |4 +-
drivers/usb/host/ehci-vt8500.c | 24 --
drivers/usb/host/uhci-hcd.c |5 ++
drivers
s arm-soc/for-next branch.
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 vt
Signed-off-by: Tony Prisk
---
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
+++ b/drivers/tty/serial
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
---
v4:
Add the binding documentation.
Changed the OF .compatibility to 'platform-uhci'
.../devicetree/bindings/usb/platfor
Signed-off-by: Tony Prisk
---
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 deletions(-)
create
Signed-off-by: Tony Prisk
---
.../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/usb/vt8500-ehci.txt
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
---
V3:
Added the missing commits for the board files.
arch/arm/mach-vt8500/bv07.c |1 +
arch/arm/mach-vt8500/devices
76 matches
Mail list logo