[GIT PULL] vt8500 devicetree updates for 3.11

2013-06-03 Thread Tony Prisk
e36572b64df358f0bc3a508e8761c81d7f3b8215: dts: vt8500: Correct reference clock on WM8850 SoCs (2013-06-04 07:31:22 +1200) Devicetree updates for 3.11 Tony Prisk (7): dts: vt8500: Fix invalid

Re: [PATCH 0/3] dts: v8500: Cleanups for 3.10

2013-04-24 Thread Tony Prisk
On 24/04/13 17:38, Tony Prisk wrote: Arnd, Olof, This is probably a bit late for 3.10 now but its just a bunch of cleanups for the arch-vt8500 devicetree SoC and board files, and the addition of a new dts for the VIA APC8750. Regards Tony P Tony Prisk (3): dts: vt8500: Fix invalid/missing

[PATCH 0/3] dts: v8500: Cleanups for 3.10

2013-04-23 Thread Tony Prisk
Arnd, Olof, This is probably a bit late for 3.10 now but its just a bunch of cleanups for the arch-vt8500 devicetree SoC and board files, and the addition of a new dts for the VIA APC8750. Regards Tony P Tony Prisk (3): dts: vt8500: Fix invalid/missing cpu nodes for soc files. dts: vt8500

[PATCH 3/3] dts: vt8500: Update serial nodes and disable by default in SoC files

2013-04-23 Thread Tony Prisk
ally present on any of these boards. Signed-off-by: Tony Prisk --- arch/arm/boot/dts/vt8500-bv07.dts|4 arch/arm/boot/dts/vt8500.dtsi| 19 +++ arch/arm/boot/dts/wm8505-ref.dts |4 arch/arm/boot/dts/wm8505.dtsi| 27 ++

[PATCH 1/3] dts: vt8500: Fix invalid/missing cpu nodes for soc files.

2013-04-23 Thread Tony Prisk
vt8500, wm8650 and wm8850 have no cpu node specified. wm8505 has a cpu node which contains an invalid compatible string, and is missing the other required properties. Signed-off-by: Tony Prisk --- arch/arm/boot/dts/vt8500.dtsi | 10 ++ arch/arm/boot/dts/wm8505.dtsi |8

[PATCH 2/3] dts: vt8500: Add devicetree support for WM8750 SoC and APC8750 board

2013-04-23 Thread Tony Prisk
This patch adds support for the WonderMedia WM8750 SoC and the VIA APC8750 board. Signed-off-by: Tony Prisk --- arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/wm8750-apc8750.dts | 26 +++ arch/arm/boot/dts/wm8750.dtsi| 349 ++ 3 files

Re: [RFC PATCH v2 13/13] ARM: DT: kernel: DT cpu node bindings update

2013-04-22 Thread Tony Prisk
On 23/04/13 03:27, Lorenzo Pieralisi wrote: + += +cpus and cpu node bindings definition += + +The ARM architecture, in accordance with the ePAPR, requires the cpus and cpu +nodes to be present and contain the properties descr

Re: [RFC PATCH v2 12/13] ARM: mach-vt8500: cpus/cpu nodes dts updates

2013-04-22 Thread Tony Prisk
On 23/04/13 03:27, Lorenzo Pieralisi wrote: This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/wm8505.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ar

Re: [RFC PATCH v2 12/13] ARM: mach-vt8500: cpus/cpu nodes dts updates

2013-04-22 Thread Tony Prisk
On 23/04/13 14:13, Tony Prisk wrote: On 23/04/13 03:27, Lorenzo Pieralisi wrote: This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/wm8505.dtsi | 2 +- 1 file changed, 1 insertion

Re: [RFC PATCH v2 12/13] ARM: mach-vt8500: cpus/cpu nodes dts updates

2013-04-22 Thread Tony Prisk
ixed the wm8505.dtsi, while vt8500.dtsi, wm8650.dtsi and wm8850.dtsi are all left incorrect. I am already carrying a patch to fix all this properly so could you drop the arch-vt8500 related patch and I will send in a more complete version for 3.11

[PATCHv2 1/7] of: Add support for reading a u32 from a multi-value property.

2013-03-22 Thread Tony Prisk
This patch adds an of_property_read_u32_index() function to allow reading a single indexed u32 value from a property containing multiple u32 values. Signed-off-by: Tony Prisk --- cc: Grant Likely cc: Rob Herring cc: devicetree-discuss@lists.ozlabs.org Hi Rob/Grant, After a review of my

Re: [PATCH -next] mmc: wmt-sdmmc: remove unused variable in wmt_complete_data_request()

2013-03-11 Thread Tony Prisk
struct > wmt_mci_priv *priv) > > static irqreturn_t wmt_mci_dma_isr(int irq_num, void *data) > { > - struct mmc_host *mmc; > struct wmt_mci_priv *priv; > > int status; > > priv = (struct wmt_mci_priv *)data; > - mmc = priv->mmc; &g

Re: Devicetree node to turn off LCD when backlight is 'disabled'

2013-02-12 Thread Tony Prisk
On Tue, 2013-02-12 at 08:04 +0100, Thierry Reding wrote: > On Mon, Feb 11, 2013 at 07:25:05PM +1300, Tony Prisk wrote: > > I was just wondering if the following would be an acceptable way to turn > > off an lcd backlight when the pwm-backlight driver is set to level 0. > >

Devicetree node to turn off LCD when backlight is 'disabled'

2013-02-10 Thread Tony Prisk
wanted to check whether it is the 'accepted' way of doing it. Regards Tony Prisk ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH 1/9] sh-pfc: Add OF support

2013-01-03 Thread Tony Prisk
leds { > + compatible = "gpio-leds"; > + led1 { > + gpios = <&gpio 20 1>; /* Active low */ > + }; > + }; > + The second cell of gpio is '(currently unused)' but the example shows it being

Re: [PATCH] tty: serial: vt8500: fix return value check in vt8500_serial_probe()

2012-12-02 Thread Tony Prisk
0); > - if (vt8500_port->clk) { > + if (!IS_ERR(vt8500_port->clk)) { > vt8500_port->uart.uartclk = clk_get_rate(vt8500_port->clk); > } else { > /* use the default of 24Mhz if not specified and warn */ > Acked-by: Tony Prisk _

Re: [PATCH -next] mmc: wmt-sdmmc: fix potential NULL pointer dereference in wmt_mci_probe()

2012-11-28 Thread Tony Prisk
he NULL pointers, this does make sense however - I'm just not sure how it will ever happen. You could just remove the test instead. Either way, this does fix a 'potential' bug, so if everyone else is happy: Acked-by: Tony Prisk Regards Tony P ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH v3] pwm: vt8500: Update vt8500 PWM driver support

2012-10-23 Thread Tony Prisk
On Wed, 2012-10-24 at 00:14 +0200, Thierry Reding wrote: > On Tue, Oct 23, 2012 at 07:10:24AM +1300, Tony Prisk wrote: > [...] > > @@ -87,6 +98,11 @@ static int vt8500_pwm_enable(struct pwm_chip *chip, > > struct pwm_device *pwm) > > { > > struct vt8500_chip

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-23 Thread Tony Prisk
On Mon, 2012-10-22 at 10:04 +0200, Thierry Reding wrote: > On Mon, Oct 22, 2012 at 08:36:22PM +1300, Tony Prisk wrote: > > On Mon, 2012-10-22 at 09:24 +0200, Thierry Reding wrote: > > > On Mon, Oct 22, 2012 at 08:09:07PM +1300, Tony Prisk wrote: > > > > On Mon, 2

[PATCH v3] pwm: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Tony Prisk
This patch updates pwm-vt8500.c to support devicetree probing and make use of the common clock subsystem. A binding document describing the PWM controller found on arch-vt8500 is also included. Signed-off-by: Tony Prisk --- .../devicetree/bindings/pwm/vt8500-pwm.txt | 17

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Tony Prisk
On Mon, 2012-10-22 at 17:08 +0200, Thierry Reding wrote: > On Mon, Oct 22, 2012 at 01:52:08PM +, Arnd Bergmann wrote: > > On Monday 22 October 2012, Thierry Reding wrote: > > > > As long as we get build warnings for leaving out the __devinit/__devexit > > > > annotations, I would generally reco

[PATCH v2] pwm: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Tony Prisk
This patch updates pwm-vt8500.c to support devicetree probing and make use of the common clock subsystem. A binding document describing the PWM controller found on arch-vt8500 is also included. Signed-off-by: Tony Prisk --- v2 changes: Merged binding doc patch with main code patch Fixes as

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Tony Prisk
On Mon, 2012-10-22 at 09:24 +0200, Thierry Reding wrote: > On Mon, Oct 22, 2012 at 08:09:07PM +1300, Tony Prisk wrote: > > On Mon, 2012-10-22 at 19:51 +1300, Tony Prisk wrote: > > > > > > > > > chip = devm_kzalloc(&pdev->dev, sizeof(*chip), GF

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-22 Thread Tony Prisk
On Mon, 2012-10-22 at 19:51 +1300, Tony Prisk wrote: > > > > > chip = devm_kzalloc(&pdev->dev, sizeof(*chip), GFP_KERNEL); > > > if (chip == NULL) { > > > dev_err(&pdev->dev, "failed to allocate memory\n"); > >

Re: [PATCH 3/3] DOC: PWM: Adding binding document for via,vt8500-pwm

2012-10-21 Thread Tony Prisk
On Mon, 2012-10-22 at 08:35 +0200, Thierry Reding wrote: > On Fri, Oct 19, 2012 at 11:38:55PM +1300, Tony Prisk wrote: > > Add a binding document describing the PWM controller found > > on arch-vt8500 supported SoCs. > > > > Signed-off-by: Tony Prisk > > ---

Re: [PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-21 Thread Tony Prisk
> > + if (!chip->base) { > > + dev_err(&pdev->dev, "memory resource not available\n"); > > return -EADDRNOTAVAIL; > > + } > > + > > + clk_prepare_enable(chip->clk); > > Why does the clock need to be enable

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

2012-10-20 Thread Tony Prisk
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, > > >

[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 --- drivers/usb/host/ehci-hcd.c |5

[PATCH v2 2/2] USB: doc: Binding document for ehci-platform driver

2012-10-20 Thread Tony Prisk
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

[PATCH v2 0/2] Update ehci-platform driver to support devicetree

2012-10-20 Thread Tony Prisk
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 +++

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

2012-10-20 Thread Tony Prisk
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

Re: [PATCH 1/3] ARM: dts: Update board files for pwm support

2012-10-19 Thread Tony Prisk
On Fri, 2012-10-19 at 23:38 +1300, Tony Prisk wrote: > This patch adds pwm support to arch-vt8500 board files, and adds > the use-case of pwm-backlight. > > Signed-off-by: Tony Prisk > --- > arch/arm/boot/dts/vt8500-bv07.dts |8 > arch/arm/boot/dts/v

[PATCH 1/3] ARM: dts: Update board files for pwm support

2012-10-19 Thread Tony Prisk
This patch adds pwm support to arch-vt8500 board files, and adds the use-case of pwm-backlight. Signed-off-by: Tony Prisk --- arch/arm/boot/dts/vt8500-bv07.dts |8 arch/arm/boot/dts/vt8500.dtsi | 29 + arch/arm/boot/dts/wm8505-ref.dts |8

[PATCH 3/3] DOC: PWM: Adding binding document for via,vt8500-pwm

2012-10-19 Thread Tony Prisk
Add a binding document describing the PWM controller found on arch-vt8500 supported SoCs. Signed-off-by: Tony Prisk --- .../devicetree/bindings/pwm/vt8500-pwm.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/vt8500

[PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-19 Thread Tony Prisk
This patch updates pwm-vt8500.c to support devicetree probing and make use of the common clock subsystem. Signed-off-by: Tony Prisk --- drivers/pwm/pwm-vt8500.c | 79 ++ 1 file changed, 51 insertions(+), 28 deletions(-) diff --git a/drivers/pwm/pwm

Re: [PATCH v7 2/3] pwm_backlight: use power sequences

2012-10-19 Thread Tony Prisk
On Fri, 2012-10-19 at 18:06 +0900, Alexandre Courbot wrote: > Make use of the power sequences specified in the device tree or platform > data to control how the backlight is powered on and off. > > Signed-off-by: Alexandre Courbot > --- > .../bindings/video/backlight/pwm-backlight.txt | 72

Re: [RFC PATCH 2/2] MMC: SD/MMC Host Controller for Wondermedia WM8505/WM8650

2012-10-15 Thread Tony Prisk
On Mon, 2012-10-15 at 21:32 +0900, Girish K S wrote: > On 15 October 2012 17:24, Tony Prisk wrote: > > This patch adds support for the SD/MMC host controller found > > on Wondermedia 8xxx series SoCs, currently supported under > > arm/arch-vt8500. > > &g

[RFC PATCH 2/2] MMC: SD/MMC Host Controller for Wondermedia WM8505/WM8650

2012-10-15 Thread Tony Prisk
This patch adds support for the SD/MMC host controller found on Wondermedia 8xxx series SoCs, currently supported under arm/arch-vt8500. Signed-off-by: Tony Prisk --- drivers/mmc/host/Kconfig | 12 + drivers/mmc/host/Makefile|1 + drivers/mmc/host/wmt-sdmmc.c | 983

[RFC PATCH 1/2] MMC: DTS: Add binding for Wondermedia WM8505 SDHC

2012-10-15 Thread Tony Prisk
Binding documentation for WMT SD/MMC Host Controller found on Wondermedia 8xxx series SoCs. Based on mmc.txt binding with additional properties. Signed-off-by: Tony Prisk --- .../devicetree/bindings/mmc/vt8500-sdmmc.txt | 24 1 file changed, 24 insertions

[RFC PATCH 0/2] MMC: Add support for Wondermedia SoC SDHC

2012-10-15 Thread Tony Prisk
This patchset adds support for the Wondermedia 8xxx-series SD Host Controller currently found under arm/arch-vt8500. Tony Prisk (2): MMC: DTS: Add binding for Wondermedia WM8505 SDHC MMC: SD/MMC Host Controller for Wondermedia WM8505/WM8650 .../devicetree/bindings/mmc/vt8500-sdmmc.txt

Re: [PATCH] serial: vt8500: fix possible memory leak in vt8500_serial_probe()

2012-10-07 Thread Tony Prisk
ou are correct - this is an error but wouldn't it be better to simply move the allocation of vt8500_port after these test since it's not used until later. It would save two possible instances of having to alloc/release a block of memory that is never used and possibly create unnecessary m

[PATCH] dtb: Add arch-vt8500 board files to arch/arm/boot/dts/Makefile

2012-10-06 Thread Tony Prisk
Add board files (vt8500-bv07, wm8505-ref and wm8650-mid) to allow 'make dtbs' on arch-vt8500. Signed-off-by: Tony Prisk --- arch/arm/boot/dts/Makefile |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 43c084c..ef08

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

2012-08-24 Thread Tony Prisk
On Fri, 2012-08-24 at 09:54 +0400, Alexey Charkov wrote: > 2012/8/24 Tony Prisk : > > On Fri, 2012-08-24 at 05:40 +, Arnd Bergmann wrote: > >> On Thursday 23 August 2012, Tony Prisk wrote: > >> > I was about to say that if Mike has any issues with the driver t

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

2012-08-24 Thread Tony Prisk
On Fri, 2012-08-24 at 09:54 +0400, Alexey Charkov wrote: > 2012/8/24 Tony Prisk : > > On Fri, 2012-08-24 at 05:40 +, Arnd Bergmann wrote: > >> On Thursday 23 August 2012, Tony Prisk wrote: > >> > I was about to say that if Mike has any issues with the driver t

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

2012-08-23 Thread Tony Prisk
On Fri, 2012-08-24 at 05:40 +, Arnd Bergmann wrote: > On Thursday 23 August 2012, Tony Prisk wrote: > > I was about to say that if Mike has any issues with the driver that I > > can fix the patch conflict at the same time, but I just realised that > > its more work than

Re: [PATCH 1/1] clk: add DT support for clock gating control

2012-08-23 Thread Tony Prisk
pr_debug("%s: wrong #reg on %s\n", > > +__func__, child->full_name); > > + continue; > > + } Are you assuming that all gated-clocks will be cont

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

2012-08-23 Thread Tony Prisk
On Thu, 2012-08-23 at 13:22 +, Arnd Bergmann wrote: > On Thursday 23 August 2012, Tony Prisk wrote: > > >On Thursday 23 August 2012, Tony Prisk wrote: > > > > > Without the clock patch (9/9), the mach-vt8500 patch (6/9) won't compile > > due to unresol

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

2012-08-23 Thread Tony Prisk
>On Thursday 23 August 2012, Tony Prisk wrote: >> Patchset based on Arnd's arm-soc/for-next branch. >> >> >> Could I get this reviewed, hopefully for inclusion into v3.7. >I can take them into the arm-soc tree if there are no new comments. >For the last tw

[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 --- drivers/gpio

[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 --- arch/arm/boot/dts/vt8500-bv07.dts | 31 arch/arm/boot/dts/vt8500.dtsi | 115 + arch/arm/boot/dts/wm8505-ref.dts | 31 arc

[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 --- drivers/clk/Makefile |1 + drivers/clk/clk-vt8500.c | 511 ++ 2 files

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

2012-08-23 Thread Tony Prisk
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

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

2012-08-23 Thread Tony Prisk
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

[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 --- drivers/usb/host/Kconfig |4 +- drivers/usb/host/ehci-vt8500.c | 25 -- drivers/usb/host/uhci-hcd.c |5 ++ drivers

[PATCHv4 5/9] video: vt8500: Add devicetree support for vt8500-fb and wm8505-fb

2012-08-23 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 --- drivers/video/Kconfig |6 +-- drivers/video/vt8500lcdfb.c | 79

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

2012-08-23 Thread Tony Prisk
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

[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 --- drivers/tty/serial/vt8500_serial.c | 58 1 file changed

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 us

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

2012-08-22 Thread Tony Prisk
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 ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

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

2012-08-21 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 wrote: > > > Signed-off-by: Tony Prisk > > --- > > drivers/tty/serial/vt8500_serial.c | 37 > > > > 1 file

[PATCHv3 5/9] video: vt8500: Add devicetree support for vt8500-fb and wm8505-fb

2012-08-21 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 --- drivers/video/Kconfig |6 +-- drivers/video/vt8500lcdfb.c | 79

[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 --- arch/arm/boot/dts/vt8500-bv07.dts | 31 + arch/arm/boot/dts/vt8500.dtsi | 100 +++ arch/arm/boot/dts/wm8505-ref.dts | 31 + arc

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

2012-08-21 Thread Tony Prisk
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

[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 --- drivers/clk/Makefile |1 + drivers/clk/clk-vt8500.c | 496 ++ 2 files

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

2012-08-21 Thread Tony Prisk
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

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

2012-08-21 Thread Tony Prisk
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

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

2012-08-21 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 --- drivers/usb/host/Kconfig |4 +- drivers/usb/host/ehci-vt8500.c | 25 -- drivers/usb/host/uhci-hcd.c |5 ++ drivers

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

2012-08-21 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 --- drivers/gpio/Kconfig |6 + drivers/gpio/Makefile |1 + drivers/gpio/gpio-vt8500.c | 313

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

2012-08-21 Thread Tony Prisk
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

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

2012-08-16 Thread Tony Prisk
>>On 08/08/2012 07:54 PM, Tony Prisk wrote: >> This patchset updates arch-vt8500 to devicetree and removes all the old-style >> code. Support for WM8650 has also been added. >Sorry for taking such a long time to re-review this. >I scanned the series looking for just the

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

2012-08-08 Thread Tony Prisk
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

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

2012-08-08 Thread Tony Prisk
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

[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 --- drivers/video/Kconfig |6 +-- drivers/video/vt8500lcdfb.c | 79

[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 --- 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 --- drivers/usb/host/Kconfig |4 +- drivers/usb/host/ehci-vt8500.c | 25 -- drivers/usb/host/uhci-hcd.c |5 ++ drivers

[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 --- arch/arm/boot/dts/vt8500-bv07.dts | 31 + arch/arm/boot/dts/vt8500.dtsi | 99 + arch/arm/boot/dts/wm8505-ref.dts | 31 + arc

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

2012-08-08 Thread Tony Prisk
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

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

2012-08-08 Thread Tony Prisk
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

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

2012-08-08 Thread Tony Prisk
ha's patch is that it won't include a pixel format property and therefore we won't be able to use his binding properly until its revisited. Without this node, we have no display output available other than uart - and that's only available if you modify the hardware

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

2012-08-08 Thread Tony Prisk
up Arnd. You are absolutely correct. I have removed the references for ->regoff. Left over from old code. Regards Tony Prisk ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

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

2012-08-08 Thread Tony Prisk
>On 08/07/2012 07:39 PM, Tony Prisk wrote: >> 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. >That might warrant a separate patch? The patch consisted of

RE: [PATCH 6/8] arm: vt8500: Update arch-vt8500 to devicetree support.

2012-08-08 Thread Tony Prisk
>On 08/07/2012 07:39 PM, Tony Prisk wrote: >> Merged existing board files to a single dt-capable file. >> Converted irq and timer code to devicetree. >> Removed existing device files that are no longer required with >> devicetree support. >> >> All exi

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

2012-08-07 Thread Tony Prisk
Apologies for the formatting/style errors. Thought I had checkpatch'd these but missed a few (especially the uhci patch). All formatting errors returned by scripts/checkpatch.pl are now fixed locally. Apologies again, Tony P ___ devicetree-discuss maili

[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 --- drivers/gpio/Kconfig |6 + drivers/gpio/Makefile |1 + drivers/gpio/gpio-vt8500.c | 318

[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 --- drivers/video/Kconfig |6 +-- drivers/video/vt8500lcdfb.c | 77

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

2012-08-07 Thread Tony Prisk
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

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

2012-08-07 Thread Tony Prisk
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

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

2012-08-07 Thread Tony Prisk
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

[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 --- drivers/usb/host/Kconfig |4 +- drivers/usb/host/ehci-vt8500.c | 24 -- drivers/usb/host/uhci-hcd.c |5 ++ drivers

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

2012-08-07 Thread Tony Prisk
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

[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 --- arch/arm/boot/dts/vt8500.dtsi| 99 ++ arch/arm/boot/dts/vt8500_ref.dts | 31 ++ arch/arm/boot/dts/wm8505.dtsi|

[PATCHv2 2/2] ARM: vt8500: Minor update to vt8500-uart for devicetree support

2012-07-21 Thread Tony Prisk
Signed-off-by: Tony Prisk Acked-by: Arnd Bergmann --- v2: Split single patch into seperate patches. .../devicetree/bindings/tty/serial/vt8500-uart.txt | 14 ++ drivers/tty/serial/vt8500_serial.c |8 2 files changed, 22 insertions(+), 0 deletions

[PATCH 2/2] ARM: vt8500: Minor update to vt8500-uart for devicetree support

2012-07-21 Thread Tony Prisk
Signed-off-by: Tony Prisk Acked-by: Arnd Bergmann --- v2: Split single patch into seperate patches. .../devicetree/bindings/tty/serial/vt8500-uart.txt | 14 ++ drivers/tty/serial/vt8500_serial.c |8 2 files changed, 22 insertions(+), 0 deletions

[PATCHv2 1/2] ARM: vt8500: Minor update to vt8500-rtc for devicetree support

2012-07-21 Thread Tony Prisk
Signed-off-by: Tony Prisk Acked-by: Arnd Bergmann --- v2: Split single patch into seperate patches. Correct documentation. .../devicetree/bindings/rtc/vt8500-rtc.txt | 14 ++ drivers/rtc/rtc-vt8500.c |8 2 files changed, 22 insertions

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

2012-07-21 Thread Tony Prisk
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

[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 --- v4: Add the binding documentation. Changed the OF .compatibility to 'platform-uhci' .../devicetree/bindings/usb/platfor

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

2012-07-20 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 --- V3: Added the missing commits for the board files. arch/arm/mach-vt8500/bv07.c |1 + arch/arm/mach-vt8500/devices

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

2012-07-20 Thread Tony Prisk
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

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

2012-07-20 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 --- V3: Added the missing commits for the board files. arch/arm/mach-vt8500/bv07.c |1 + arch/arm/mach-vt8500/devices

[PATCH] ARM: vt8500: Minor updates to platform drivers for devicetree support

2012-07-20 Thread Tony Prisk
Updated the vt8500-rtc and vt8500-uart platform drivers for devicetree support. Signed-off-by: Tony Prisk --- .../devicetree/bindings/rtc/vt8500-rtc.txt | 14 ++ .../devicetree/bindings/tty/serial/vt8500-uart.txt | 14 ++ drivers/rtc/rtc-vt8500.c

  1   2   >