Re: linux-next: manual merge of the arm-soc tree with the tree

2012-09-25 Thread Tony Prisk
On Tue, 2012-09-25 at 16:37 +1000, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the arm-soc tree got a conflict in Documentation/devicetree/bindings/usb/platform-uhci.txt between commit 100d45970327 (ARM: vt8500: Add support for UHCI companion controller) from the usb tree

Re: linux-next: manual merge of the arm-soc tree with the usb tree

2012-09-25 Thread Tony Prisk
On Tue, 2012-09-25 at 16:56 +1000, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the arm-soc tree got conflicts in arch/arm/mach-vt8500/bv07.c, arch/arm/mach-vt8500/devices-vt8500.c, arch/arm/mach-vt8500/devices-wm8505.c, arch/arm/mach-vt8500/devices.c,

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 acour...@nvidia.com ---

[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 li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500-bv07.dts |8 arch/arm/boot/dts/vt8500.dtsi | 29 + arch/arm/boot/dts/wm8505

[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 li...@prisktech.co.nz --- drivers/pwm/pwm-vt8500.c | 79 ++ 1 file changed, 51 insertions(+), 28 deletions(-) diff

[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 li...@prisktech.co.nz --- .../devicetree/bindings/pwm/vt8500-pwm.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree

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 li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500-bv07.dts |8 arch/arm/boot/dts/vt8500.dtsi

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

2012-10-22 Thread Tony Prisk
Driver); +MODULE_AUTHOR(Tony Prisk li...@prisktech.co.nz); +MODULE_LICENSE(GPL v2); IANAL, but I think you need the approval of all authors of this code before changing the license. But I see that the file header actually says that this code is GPL v2, so maybe this change could be considered

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

2012-10-22 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 li...@prisktech.co.nz --- .../devicetree/bindings

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); @@ -123,26 +144,32 @@ static int __devinit pwm_probe(struct platform_device *pdev

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), GFP_KERNEL); if (chip == NULL

[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 li...@prisktech.co.nz --- v2 changes: Merged binding doc patch with main

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 recommend

[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 li...@prisktech.co.nz --- .../devicetree/bindings/pwm/vt8500-pwm.txt

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, 2012-10-22 at 19:51 +1300, Tony Prisk wrote

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

2012-10-23 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 li...@prisktech.co.nz --- v2/v3: Fix errors/coding style as pointed out

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 *vt8500 = to_vt8500_chip(chip

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

2012-10-24 Thread Tony Prisk
On Wed, 2012-10-24 at 07:41 +0200, Thierry Reding wrote: On Wed, Oct 24, 2012 at 04:46:58PM +1300, Tony Prisk wrote: 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

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

2012-10-24 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 li...@prisktech.co.nz --- v4: return err from clk_enable rather than -EBUSY

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

2012-10-26 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 li...@prisktech.co.nz --- v4: return err from clk_enable rather than -EBUSY

[PATCH 1/1] Add Wondermedia Technologies (wmt) to docs/devicetree/vendor-bindings.txt

2012-07-17 Thread Tony Prisk
From 756ae5c2f475d679649adff99058679b651af8d9 Mon Sep 17 00:00:00 2001 From: Tony Prisk li...@prisktech.co.nz Date: Tue, 17 Jul 2012 19:09:31 +1200 Subject: [PATCH] Add Wondermedia Technologies (wmt) to vendor-prefixes.txt Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree

RE: [PATCH 1/1] Add Wondermedia Technologies (wmt) to docs/devicetree/vendor-bindings.txt

2012-07-18 Thread Tony Prisk
July 2012 1:31 a.m. To: vt8500-wm8505-linux-ker...@googlegroups.com Cc: Tony Prisk; devicetree-disc...@lists.ozlabs.org; Russell King; linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org Subject: Re: [PATCH 1/1] Add Wondermedia Technologies (wmt) to docs/devicetree/vendor

RE: [PATCH 1/1] Add Wondermedia Technologies (wmt) to docs/devicetree/vendor-bindings.txt

2012-07-19 Thread Tony Prisk
From: Arnd Bergmann [a...@arndb.de] Sent: 19 July 2012 23:16 To: vt8500-wm8505-linux-ker...@googlegroups.com Cc: Tony Prisk; Alexey Charkov; devicetree-disc...@lists.ozlabs.org; Russell King; linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org Subject: Re: [PATCH 1/1] Add

RE: [PATCH 1/1] Add Wondermedia Technologies (wmt) to docs/devicetree/vendor-bindings.txt

2012-07-19 Thread Tony Prisk
___ From: Arnd Bergmann [a...@arndb.de] Sent: 20 July 2012 00:28 To: Tony Prisk Cc: vt8500-wm8505-linux-ker...@googlegroups.com; Alexey Charkov; devicetree-disc...@lists.ozlabs.org; Russell King; linux-kernel@vger.kernel.org; linux-arm-ker

Re: [PATCHv5 0/7] arm: vt8500: Add support for pinctrl/gpio module

2013-04-03 Thread Tony Prisk
On 04/04/13 10:23, Stephen Warren wrote: On 04/03/2013 07:40 AM, Linus Walleij wrote: On Wed, Apr 3, 2013 at 8:24 AM, Tony Prisk li...@prisktech.co.nz wrote: v5 changes: Changed as requested by Rob Herring: Added of_find_property_value_of_size() to drivers/of/base.c to remove some code

[GIT PULL] arm: vt8500: Add support for pinctrl/gpio module

2013-04-03 Thread Tony Prisk
from Stephen W. Stephen Warren (1): pinctrl: bcm2835: make use of of_property_read_u32_index() Tony Prisk (7): of: Add support for reading a u32 from a multi-value property. of: Remove duplicated code for validating

Re: [PATCHv3 0/6] fb: vt8500: patches for 3.10

2013-04-03 Thread Tony Prisk
On 03/04/13 07:20, Tony Prisk wrote: V3 Changes: Tidied up patch 1 as requested by Jean-Christophe - Makes the patch much simpler. V2 Changes: Split the SoC and board portions of the binding into their respective files. Removed the forced non-interlaced code from wm8505fb.c and vt8500lcdfb.c

PWM backlight build warning

2013-04-06 Thread Tony Prisk
Hi Thierry, Sorry it's taken so long to report this but I've been tied up with other patches recently. I noticed a build warning on the pwm_bl driver in 3.9-rcX but I'm not sure what the correct resolution would be. This patch: commit e2c17bc6f717a8847df2a867caec6ba4fe85f3fc backlight:

Re: PWM backlight build warning

2013-04-06 Thread Tony Prisk
On 07/04/13 09:10, Thierry Reding wrote: On Sat, Apr 06, 2013 at 09:02:51PM +0100, Mark Brown wrote: On Sun, Apr 07, 2013 at 06:33:35AM +1200, Tony Prisk wrote: The problem occurs because when CONFIG_PM=y but CONFIG_PM_SLEEP=n: I guess this would be a problem on every driver that has been

Re: linux-next: manual merge of the arm-soc tree with the gpio-lw tree

2013-04-09 Thread Tony Prisk
On 09/04/13 19:47, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/gpio/gpio-vt8500.c between commit 808c513ee64b (gpio/vt8500: Convert to devm_ioremap_resource()) from the gpio-lw tree and commit dc1010860b03 (gpio: vt8500: Remove

Re: [PATCH] pinctrl: vt8500: wmt: Fix checking return value of pinctrl_register()

2013-04-09 Thread Tony Prisk
On 10/04/13 03:59, Axel Lin wrote: pinctrl_register() returns NULL on error. Signed-off-by: Axel Lin axel@ingics.com --- drivers/pinctrl/vt8500/pinctrl-wmt.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/vt8500/pinctrl-wmt.c

[PATCH] arm: vt8500: Add SDHC support to WM8505 DT

2013-04-11 Thread Tony Prisk
This patch adds the required node for the SDHC controller on WM8505 SoCs. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- Arnd, Any chance you can apply this for 3.10 Regards Ton yP arch/arm/boot/dts/wm8505.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff

[v3] Support Elan Touchscreen eKTF product.

2013-04-12 Thread Tony Prisk
compiled without CONFIG_PM. Regards Tony Prisk -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] clk: vt8500: Missing breaks in vtwm_pll_round_rate/_set_rate.

2013-04-13 Thread Tony Prisk
The case of PLL_TYPE_WM8750 in both these functions is missing a break statement causing a fall-through to the default: case. Insert the missing break statements. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- Mike, Any chance this can still go in as a fix for 3.9 The fault makes

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: [PATCHv3 3/6] pinctrl: gpio: vt8500: Add pincontrol driver for arch-vt8500

2013-04-01 Thread Tony Prisk
On 02/04/13 06:06, Stephen Warren wrote: On 03/28/2013 12:10 AM, Tony Prisk wrote: This patch adds support for the GPIO/pinmux controller found on the VIA VT8500 and Wondermedia WM8xxx-series SoCs. Each pin within the controller is capable of operating as a GPIO or as an alternate function

[PATCHv4 4/6] arm: dts: vt8500: Update Wondermedia SoC dtsi files for pinctrl driver

2013-04-01 Thread Tony Prisk
This patch adds pinctrl nodes to the VIA VT8500 and Wondermedia SoC dtsi files to support the pinctrl driver. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500.dtsi |9 + arch/arm/boot/dts/wm8505.dtsi |9 + arch/arm/boot/dts/wm8650.dtsi |9

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

2013-04-01 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 li...@prisktech.co.nz Reviewed-by: Stephen Warren swar...@nvidia.com --- drivers/of/base.c | 33

[PATCHv4 6/6] gpio: vt8500: Remove arch-vt8500 gpio driver

2013-04-01 Thread Tony Prisk
With the move to a combined pinctrl/gpio driver, the arch-vt8500 gpio driver is no longer required. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/gpio/gpio-vt8500.txt | 24 -- drivers/gpio/Kconfig |6 - drivers/gpio/Makefile

[PATCHv4 5/6] arm: vt8500: Remove gpio devicetree nodes

2013-04-01 Thread Tony Prisk
Remove the gpio related devicetree nodes as these are no longer required with the move to a combined pinctrl/gpio driver. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500.dtsi |7 --- arch/arm/boot/dts/wm8505.dtsi |7 --- arch/arm/boot/dts/wm8650.dtsi

[PATCHv4 2/6] arm: vt8500: Increase available GPIOs on arch-vt8500

2013-04-01 Thread Tony Prisk
With the inclusion of the pin control driver, more GPIO pins have been identified on the arch-vt8500 SoCs requiring an increase in the available GPIOs. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/Kconfig |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCHv4 0/6] arm: vt8500: Add support for pinctrl/gpio module

2013-04-01 Thread Tony Prisk
driver to function properly. Patch 2 is independant, but required for the driver to function properly. Patches 3-4 are pinctrl/gpio patches. Patch 5-6 remove the old gpio code which is no longer required. Patch 2 could go via arm-soc if necessary. Regards Tony Prisk Tony Prisk (6): of: Add

[PATCHv4 RESEND 0/6] arm: vt8500: Add support for pinctrl/gpio module

2013-04-01 Thread Tony Prisk
if necessary. Regards Tony Prisk Tony Prisk (6): of: Add support for reading a u32 from a multi-value property. arm: vt8500: Increase available GPIOs on arch-vt8500 pinctrl: gpio: vt8500: Add pincontrol driver for arch-vt8500 arm: dts: vt8500: Update Wondermedia SoC dtsi files for pinctrl

[PATCHv4 2/6] arm: vt8500: Increase available GPIOs on arch-vt8500

2013-04-01 Thread Tony Prisk
With the inclusion of the pin control driver, more GPIO pins have been identified on the arch-vt8500 SoCs requiring an increase in the available GPIOs. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/Kconfig |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

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

2013-04-01 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 li...@prisktech.co.nz Reviewed-by: Stephen Warren swar...@nvidia.com --- drivers/of/base.c | 33

[PATCHv4 4/6] arm: dts: vt8500: Update Wondermedia SoC dtsi files for pinctrl driver

2013-04-01 Thread Tony Prisk
This patch adds pinctrl nodes to the VIA VT8500 and Wondermedia SoC dtsi files to support the pinctrl driver. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500.dtsi |9 + arch/arm/boot/dts/wm8505.dtsi |9 + arch/arm/boot/dts/wm8650.dtsi |9

[PATCHv4 6/6] gpio: vt8500: Remove arch-vt8500 gpio driver

2013-04-01 Thread Tony Prisk
With the move to a combined pinctrl/gpio driver, the arch-vt8500 gpio driver is no longer required. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/gpio/gpio-vt8500.txt | 24 -- drivers/gpio/Kconfig |6 - drivers/gpio/Makefile

[PATCHv4 5/6] arm: vt8500: Remove gpio devicetree nodes

2013-04-01 Thread Tony Prisk
Remove the gpio related devicetree nodes as these are no longer required with the move to a combined pinctrl/gpio driver. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500.dtsi |7 --- arch/arm/boot/dts/wm8505.dtsi |7 --- arch/arm/boot/dts/wm8650.dtsi

[PATCHv3 2/6] video: vt8500: Remove unused platform_data/video-vt8500lcdfb.h

2013-04-02 Thread Tony Prisk
With the conversion to devicetree only for arch-vt8500, this header is no longer required. This patch removes the #include from the two framebuffer drivers that used it, and the header file. Signed-off-by: Tony Prisk li...@prisktech.co.nz Reviewed-by: Jean-Christophe Plagniol-Villard plagn

[PATCHv3 1/6] video: vt8500: Make wmt_ge_rops optional

2013-04-02 Thread Tony Prisk
wmt_ge_rops is a seperate driver to vt8500/wm8505 framebuffer driver but is currently a required option. This patch makes accelerated raster ops optional. Signed-off-by: Tony Prisk li...@prisktech.co.nz Reviewed-by: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com --- drivers/video/Kconfig

[PATCHv3 0/6] fb: vt8500: patches for 3.10

2013-04-02 Thread Tony Prisk
/wm8505fb.c: use devm_ functions Tony Prisk (5): video: vt8500: Make wmt_ge_rops optional video: vt8500: Remove unused platform_data/video-vt8500lcdfb.h video: vt8500: Correct descriptions in video/Kconfig video: vt8500: Adjust contrast in wm8505 framebuffer driver. video: fb: vt8500: Convert

[PATCHv3 6/6] video: fb: vt8500: Convert framebuffer drivers to standardized binding

2013-04-02 Thread Tony Prisk
this as part of the display timing, it is moved into the framebuffer node. I have also taken the opportunity to alphabetise the includes of each driver to avoid double-ups. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/video/via,vt8500-fb.txt| 48

[PATCHv3 5/6] video: vt8500: Adjust contrast in wm8505 framebuffer driver.

2013-04-02 Thread Tony Prisk
The contrast value was typo'd on the original commit (0x80 instead of 0x08). Following feedback from an enduser, a value of 0x10 seems more suitable due to the default backlight being 100%. Signed-off-by: Tony Prisk li...@prisktech.co.nz Reviewed-by: Jean-Christophe Plagniol-Villard plagn

[PATCHv3 4/6] drivers/video/wm8505fb.c: use devm_ functions

2013-04-02 Thread Tony Prisk
. This way there is only one block of error-handling code that needs to call fb_dealloc_cmap, and so this is moved up to the place where it is needed, eliminating the need for all gotos and labels in the function. This was suggested by Tony Prisk. The initializations of fbi and ret at the beginning

[PATCHv3 3/6] video: vt8500: Correct descriptions in video/Kconfig

2013-04-02 Thread Tony Prisk
This patch corrects the descriptions for the VIA VT8500 and Wondermedia WM8xxx-series framebuffer drivers to correctly reflect which hardware they support. Signed-off-by: Tony Prisk li...@prisktech.co.nz Reviewed-by: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com --- drivers/video

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

2013-04-03 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 li...@prisktech.co.nz Reviewed-by: Stephen Warren swar...@nvidia.com --- drivers/of/base.c | 33

[PATCHv5 5/7] arm: dts: vt8500: Update Wondermedia SoC dtsi files for pinctrl driver

2013-04-03 Thread Tony Prisk
This patch adds pinctrl nodes to the VIA VT8500 and Wondermedia SoC dtsi files to support the pinctrl driver. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500.dtsi |9 + arch/arm/boot/dts/wm8505.dtsi |9 + arch/arm/boot/dts/wm8650.dtsi |9

[PATCHv5 7/7] gpio: vt8500: Remove arch-vt8500 gpio driver

2013-04-03 Thread Tony Prisk
With the move to a combined pinctrl/gpio driver, the arch-vt8500 gpio driver is no longer required. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/gpio/gpio-vt8500.txt | 24 -- drivers/gpio/Kconfig |6 - drivers/gpio/Makefile

[PATCHv5 6/7] arm: vt8500: Remove gpio devicetree nodes

2013-04-03 Thread Tony Prisk
Remove the gpio related devicetree nodes as these are no longer required with the move to a combined pinctrl/gpio driver. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500.dtsi |7 --- arch/arm/boot/dts/wm8505.dtsi |7 --- arch/arm/boot/dts/wm8650.dtsi

[PATCHv5 0/7] arm: vt8500: Add support for pinctrl/gpio module

2013-04-03 Thread Tony Prisk
is no longer required. Patch 2 could go via arm-soc if necessary. Regards Tony Prisk Tony Prisk (7): of: Add support for reading a u32 from a multi-value property. of: Remove duplicated code for validating property and value arm: vt8500: Increase available GPIOs on arch-vt8500 pinctrl: gpio

[PATCHv5 3/7] arm: vt8500: Increase available GPIOs on arch-vt8500

2013-04-03 Thread Tony Prisk
With the inclusion of the pin control driver, more GPIO pins have been identified on the arch-vt8500 SoCs requiring an increase in the available GPIOs. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/Kconfig |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCHv5 2/7] of: Remove duplicated code for validating property and value

2013-04-03 Thread Tony Prisk
-EOVERFLOW; This patch adds of_find_property_value_of_size() which performs the equivalent of the above code and removes the instances where it was duplicated in several functions. Reported-by: Rob Herring robherri...@gmail.com Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/of/base.c

Re: [PATCHv5 0/7] arm: vt8500: Add support for pinctrl/gpio module

2013-04-03 Thread Tony Prisk
On 04/04/13 02:40, Linus Walleij wrote: On Wed, Apr 3, 2013 at 8:24 AM, Tony Prisk li...@prisktech.co.nz wrote: v5 changes: Changed as requested by Rob Herring: Added of_find_property_value_of_size() to drivers/of/base.c to remove some code that was being duplicated. Changed as requested

Submitting fbdev tree patches

2013-03-24 Thread Tony Prisk
Is anyone taking patches for fbdev at the moment? I sent in some patches for 3.9 but didn't hear back - checking the lists it doesn't appear Florian has posted much since the end of Oct 2012. Regards Tony Prisk -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH] arm: vt8500: Add wm8850 config options to multi_v7_defconfig

2013-03-25 Thread Tony Prisk
This patch finally adds the WM8850 SoC to the multi_v7_defconfig. We don't have a seperate defconfig for this SoC as it is only available as a multiplatform option. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/configs/multi_v7_defconfig |8 1 file changed, 8

Re: Submitting fbdev tree patches

2013-03-26 Thread Tony Prisk
On Mon, 2013-03-25 at 05:27 +, Jingoo Han wrote: On Monday, March 25, 2013 2:11 PM, Tony Prisk wrote: Is anyone taking patches for fbdev at the moment? I sent in some patches for 3.9 but didn't hear back - checking the lists it doesn't appear Florian has posted much since the end

[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

[PATCH 3/6] video: vt8500: Correct descriptions in video/Kconfig

2013-03-27 Thread Tony Prisk
This patch corrects the descriptions for the VIA VT8500 and Wondermedia WM8xxx-series framebuffer drivers to correctly reflect which hardware they support. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/video/Kconfig | 11 ++- 1 file changed, 6 insertions(+), 5 deletions

[PATCH 0/6] fb: vt8500: patches for 3.10

2013-03-27 Thread Tony Prisk
Prisk Julia Lawall (1): drivers/video/wm8505fb.c: use devm_ functions Tony Prisk (5): video: vt8500: Make wmt_ge_rops optional video: vt8500: Remove unused platform_data/video-vt8500lcdfb.h video: vt8500: Correct descriptions in video/Kconfig video: vt8500: Adjust contrast in wm8505

[PATCH 2/6] video: vt8500: Remove unused platform_data/video-vt8500lcdfb.h

2013-03-27 Thread Tony Prisk
With the conversion to devicetree only for arch-vt8500, this header is no longer required. This patch removes the #include from the two framebuffer drivers that used it, and the header file. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/video/vt8500lcdfb.c

[PATCH 1/6] video: vt8500: Make wmt_ge_rops optional

2013-03-27 Thread Tony Prisk
wmt_ge_rops is a seperate driver to vt8500/wm8505 framebuffer driver but is currently a required option. This patch makes accelerated raster ops optional. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/video/Kconfig | 22 -- drivers/video/vt8500lcdfb.c

[PATCH 5/6] video: vt8500: Adjust contrast in wm8505 framebuffer driver.

2013-03-27 Thread Tony Prisk
The contrast value was typo'd on the original commit (0x80 instead of 0x08). Following feedback from an enduser, a value of 0x10 seems more suitable due to the default backlight being 100%. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/video/wm8505fb.c |2 +- 1 file changed, 1

[PATCH 6/6] video: fb: vt8500: Convert framebuffer drivers to standardized binding

2013-03-27 Thread Tony Prisk
this as part of the display timing, it is moved into the framebuffer node. I have also taken the opportunity to alphabetise the includes of each driver to avoid double-ups. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/video/via,vt8500-fb.txt| 48

[PATCH 4/6] drivers/video/wm8505fb.c: use devm_ functions

2013-03-27 Thread Tony Prisk
. This way there is only one block of error-handling code that needs to call fb_dealloc_cmap, and so this is moved up to the place where it is needed, eliminating the need for all gotos and labels in the function. This was suggested by Tony Prisk. The initializations of fbi and ret at the beginning

Re: [Bulk] [PATCH] video: fix invalid free of devm_ allocated data

2013-03-27 Thread Tony Prisk
On Thu, 2013-03-28 at 01:55 +0200, Andrei Epure wrote: The objects allocated by devm_* APIs are managed by devres and are freed when the device is detached. Hence there is no need to use kfree() explicitly. Patch found using coccinelle. Signed-off-by: Andrei Epure epure.and...@gmail.com ---

Re: [PATCH] video: fixed missing iounmap coccinelle errors

2013-03-27 Thread Tony Prisk
On Thu, 2013-03-28 at 01:43 +0200, Andrei Epure wrote: Modified or added the necessary goto statements so that the ioremapped regions get unmapped before return. Signed-off-by: Andrei Epure epure.and...@gmail.com --- drivers/video/vt8500lcdfb.c |7 --- drivers/video/wm8505fb.c

Re: [PATCH 6/6] video: fb: vt8500: Convert framebuffer drivers to standardized binding

2013-03-27 Thread Tony Prisk
On Wed, 2013-03-27 at 13:10 +0200, Tomi Valkeinen wrote: Hi, On 2013-03-27 10:47, Tony Prisk wrote: Now that a display timing binding is available, convert our almost identical binding to use the standard binding. This patch converts the vt8500 and wm8505 framebuffer drivers

[PATCHv3 0/6] arm: vt8500: Add support for pinctrl/gpio module

2013-03-28 Thread Tony Prisk
to function properly. Patches 3-4 are pinctrl/gpio patches. Patch 5-6 remove the old gpio code which is no longer required. Patch 2 could go via arm-soc if necessary. Regards Tony Prisk Tony Prisk (6): of: Add support for reading a u32 from a multi-value property. arm: vt8500: Increase available GPIOs

[PATCHv3 4/6] arm: dts: vt8500: Update Wondermedia SoC dtsi files for pinctrl driver

2013-03-28 Thread Tony Prisk
This patch adds pinctrl nodes to the VIA VT8500 and Wondermedia SoC dtsi files to support the pinctrl driver. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500.dtsi |9 + arch/arm/boot/dts/wm8505.dtsi |9 + arch/arm/boot/dts/wm8650.dtsi |9

[PATCHv3 5/6] arm: vt8500: Remove gpio devicetree nodes

2013-03-28 Thread Tony Prisk
Remove the gpio related devicetree nodes as these are no longer required with the move to a combined pinctrl/gpio driver. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500.dtsi |7 --- arch/arm/boot/dts/wm8505.dtsi |7 --- arch/arm/boot/dts/wm8650.dtsi

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

2013-03-28 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 li...@prisktech.co.nz --- drivers/of/base.c | 33 + include/linux/of.h |9

[PATCHv3 6/6] gpio: vt8500: Remove arch-vt8500 gpio driver

2013-03-28 Thread Tony Prisk
With the move to a combined pinctrl/gpio driver, the arch-vt8500 gpio driver is no longer required. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/gpio/gpio-vt8500.txt | 24 -- drivers/gpio/Kconfig |6 - drivers/gpio/Makefile

[PATCHv3 2/6] arm: vt8500: Increase available GPIOs on arch-vt8500

2013-03-28 Thread Tony Prisk
With the inclusion of the pin control driver, more GPIO pins have been identified on the arch-vt8500 SoCs requiring an increase in the available GPIOs. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/Kconfig |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] pinctrl: bcm2835: make use of of_property_read_u32_index()

2013-03-28 Thread Tony Prisk
property by Tony Prisk. BTW, I realized why I didn't create that standard API, but wrote custom prop_u32() instead; the code has already looked up the properties, and validated their length, so prop_u32() can simply index into the property data, whereas of_property_read_u32_index() needs to go

Re: [PATCH 1/1] gpio/vt8500: Convert to devm_ioremap_resource()

2013-03-04 Thread Tony Prisk
, Unable to map GPIO registers\n); - return -ENOMEM; - } + gpio_base = devm_ioremap_resource(pdev-dev, res); + if (IS_ERR(gpio_base)) + return PTR_ERR(gpio_base); ret = vt8500_add_chips(pdev, gpio_base, of_id-data); Acked-by: Tony Prisk li

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-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- drivers/usb/host/Kconfig |8 + drivers/usb/host/Makefile |1 + drivers

Re: [PATCH 0/4] Improve CLKSRC_OF matching

2013-02-07 Thread Tony Prisk
/tegra20_timer.c | 70 ++- drivers/clocksource/vt8500_timer.c | 14 +-- 4 files changed, 31 insertions(+), 69 deletions(-) Looks fine, although I didn't get a CC for the vt8500 patch so I had to go hunting for it :) For patches 1 3: Acked-by: Tony Prisk li

Re: [PATCH] pinctrl: gpio: vt8500: Add pin control driver for Wondermedia SoCs

2013-02-27 Thread Tony Prisk
Tony Prisk On Wed, 2013-02-27 at 15:21 -0700, Stephen Warren wrote: On 02/14/2013 07:48 PM, Tony Prisk wrote: Sorry for the slow review. No patch description? This was never supposed to be a proper patch - I was more looking for a consensus from 'the world' that this was an acceptable

Re: [PATCH 5/7] clk: vt8500: Use common of_clk_init() function

2013-01-24 Thread Tony Prisk
On Thu, 2013-01-24 at 11:15 -0800, Mike Turquette wrote: Quoting Tony Prisk (2013-01-18 13:08:00) On Fri, 2013-01-18 at 09:56 -0800, Mike Turquette wrote: Quoting Prashant Gaikwad (2013-01-03 23:00:56) Use common of_clk_init() function for clock initialization. Signed-off

[PATCH v3 0/2] Add Wondermedia Serial Flash controller support

2013-01-23 Thread Tony Prisk
__iomem *. Tony Prisk (2): mtd: Add a common JEDEC flash device table mtd: vt8500: Add support for Wondermedia Serial Flash Controller drivers/mtd/devices/Kconfig | 10 + drivers/mtd/devices/Makefile |3 +- drivers/mtd/devices/flash_jedec.c | 96 ++ drivers/mtd/devices

[PATCH v3 2/2] mtd: vt8500: Add support for Wondermedia Serial Flash Controller

2013-01-23 Thread Tony Prisk
This patch adds support for the Wondermedia serial flash controller found on WM8505, WM8650 and WM8850 SoCs. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/mtd/devices/Kconfig | 10 + drivers/mtd/devices/Makefile |3 +- drivers/mtd/devices/wmt_sflash.c | 585

[PATCH v3 1/2] mtd: Add a common JEDEC flash device table

2013-01-23 Thread Tony Prisk
This patch adds a common JEDEC flash device table which can be expanded on as more features are required. A simple match function is also included to query the table for a match based on the JEDEC id. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/mtd/devices/flash_jedec.c | 96

Re: [PATCH v3 1/2] mtd: Add a common JEDEC flash device table

2013-01-23 Thread Tony Prisk
On Wed, 2013-01-23 at 10:00 +0100, Matthieu CASTET wrote: Tony Prisk a écrit : This patch adds a common JEDEC flash device table which can be expanded on as more features are required. A simple match function is also included to query the table for a match based on the JEDEC id. Why

fb: vt8500: Unmerged patches for 3.9

2013-01-23 Thread Tony Prisk
/ https://patchwork.kernel.org/patch/1924951/ Still on Christmas holidays or did they slip through the cracks? Regards Tony Prisk -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH v2] mtd: vt8500: Add support for Wondermedia Serial Flash Controller

2013-01-15 Thread Tony Prisk
On Tue, 2013-01-15 at 21:11 +0200, Artem Bityutskiy wrote: On Wed, 2013-01-16 at 06:45 +1300, Tony Prisk wrote: On Tue, 2013-01-15 at 16:55 +0200, Artem Bityutskiy wrote: On Mon, 2012-12-31 at 10:00 +1300, Tony Prisk wrote: This patch adds support for the Wondermedia serial flash

Re: [PATCH v2] mtd: vt8500: Add support for Wondermedia Serial Flash Controller

2013-01-15 Thread Tony Prisk
On Tue, 2013-01-15 at 21:36 +0200, Artem Bityutskiy wrote: On Wed, 2013-01-16 at 06:53 +1300, Tony Prisk wrote: This patch adds support for the Wondermedia serial flash controller found on WM8505, WM8650 and WM8850 SoCs. Signed-off-by: Tony Prisk li...@prisktech.co.nz Would please you

Re: linux-next: manual merge of the tegra tree with the arm-soc tree

2013-01-15 Thread Tony Prisk
On Wed, 2013-01-16 at 14:14 +1100, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the tegra tree got a conflict in drivers/clocksource/Makefile between commit ff7ec345f0ec (timer: vt8500: Move timer code to drivers/clocksource) from the arm-soc tree and commit ac0fd9eca3ba

Re: linux-next: manual merge of the tegra tree with the arm-soc tree

2013-01-15 Thread Tony Prisk
On Tue, 2013-01-15 at 21:32 -0700, Stephen Warren wrote: On 01/15/2013 08:49 PM, Tony Prisk wrote: On Wed, 2013-01-16 at 14:14 +1100, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the tegra tree got a conflict in drivers/clocksource/Makefile between commit ff7ec345f0ec

  1   2   3   4   5   6   7   8   >