Re: [PATCH -next] pinctrl: vt8500: wmt: remove redundant dev_err call in wmt_pinctrl_probe()

2013-06-25 Thread Tony Prisk
-base)) return PTR_ERR(data-base); - } wmt_desc.pins = data-pins; wmt_desc.npins = data-npins; Acked-by: Tony Prisk li...@prisktech.co.nz Regards Tony P -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH 4/4] MAINTAINERS: vt8500: Add clk-vt8500.c to MAINTAINERS file

2013-05-30 Thread Tony Prisk
On 30/05/13 11:16, Mike Turquette wrote: Quoting Tony Prisk (2013-05-18 01:30:21) On 18/05/13 18:40, Alexey Charkov wrote: On 18 May 2013 01:18, Tony Prisk li...@prisktech.co.nz wrote: This file has missed being added under ARM/VT8500 ARM ARCHITECTURE, and is maintained along with the rest

VIA velocity network driver

2013-04-26 Thread Tony Prisk
that defaults to 0 to avoid breaking existing support? 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

[PATCH 1/4] net: velocity: Alphabetize #includes

2013-04-27 Thread Tony Prisk
Due to number of #includes, alphabetize them to help avoid duplicates. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/net/ethernet/via/via-velocity.c | 48 +++ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/net/ethernet/via/via

[PATCH 2/4] net: velocity: Rename vptr-dev to vptr-netdev

2013-04-27 Thread Tony Prisk
Improve the clarity of the code in preparation for converting the dma functions to generic versions, which require a struct device *. This makes it possible to store a 'struct device *dev' in the velocity_info structure. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/net/ethernet

[PATCH 4/4] net: velocity: Add platform device support to VIA velocity driver

2013-04-27 Thread Tony Prisk
Add support for the VIA Velocity network driver to be bound to a OF created platform device. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/net/via-velocity.txt | 20 + drivers/net/ethernet/via/Kconfig |3 +- drivers/net/ethernet/via/via

[PATCH 0/4] Add support for velocity network driver on platform devices

2013-04-27 Thread Tony Prisk
on a VIA APC8750. I think it would be pertinent to get some tested-by's for PCI users. Regards Tony Prisk Tony Prisk (4): net: velocity: Alphabetize #includes net: velocity: Rename vptr-dev to vptr-netdev net: velocity: Convert to generic dma functions net: velocity: Add platform device

[PATCH 3/4] net: velocity: Convert to generic dma functions

2013-04-27 Thread Tony Prisk
Remove the pci_* dma functions and replace with the more generic versions. In preparation of adding platform support, a new struct device *dev is added to struct velocity_info which can be used by both the pci and platform code. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/net

Re: [PATCH 3/4] net: velocity: Convert to generic dma functions

2013-04-27 Thread Tony Prisk
On 28/04/13 15:16, Tony Prisk wrote: Remove the pci_* dma functions and replace with the more generic versions. In preparation of adding platform support, a new struct device *dev is added to struct velocity_info which can be used by both the pci and platform code. Signed-off-by: Tony Prisk li

Re: [PATCH 1/4] net: velocity: Alphabetize #includes

2013-04-28 Thread Tony Prisk
On 28/04/13 17:21, David Miller wrote: From: Tony Prisk li...@prisktech.co.nz Date: Sun, 28 Apr 2013 15:16:43 +1200 Due to number of #includes, alphabetize them to help avoid duplicates. Signed-off-by: Tony Prisk li...@prisktech.co.nz Needless churn, I refuse to apply this. No problem

[PATCHv6 0/3] Add support for velocity network driver on platform devices

2013-05-16 Thread Tony Prisk
swapping. Patch #3 adds support for the velocity driver on devicetree platform devices. Binding document included. This patch is compile-tested for PCI, and boot tested on a VIA APC8750. I think it would be pertinent to get some tested-by's for PCI users. Regards Tony Prisk Tony Prisk (3): net

[PATCHv6 1/3] net: velocity: Rename vptr-dev to vptr-netdev

2013-05-16 Thread Tony Prisk
Improve the clarity of the code in preparation for converting the dma functions to generic versions, which require a struct device *. This makes it possible to store a 'struct device *dev' in the velocity_info structure. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/net/ethernet

[PATCHv6 3/3] net: velocity: Add platform device support to VIA velocity driver

2013-05-16 Thread Tony Prisk
Add support for the VIA Velocity network driver to be bound to a OF created platform device. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/net/via-velocity.txt | 20 + drivers/net/ethernet/via/Kconfig |3 +- drivers/net/ethernet/via/via

[PATCHv6 2/3] net: velocity: Convert to generic dma functions

2013-05-16 Thread Tony Prisk
Remove the pci_* dma functions and replace with the more generic versions. In preparation of adding platform support, a new struct device *dev is added to struct velocity_info which can be used by both the pci and platform code. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/net

Re: [PATCH] ARM: vt8500: Add missing NULL terminator in dt_compat

2013-05-17 Thread Tony Prisk
}; DT_MACHINE_START(WMT_DT, VIA/Wondermedia SoC (Device Tree Support)) My bad. Thanks for the fix. Acked-by: Tony Prisk li...@prisktech.co.nz Arnd, Olof: Can you apply this directly please. Regards Tony Prisk -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH 4/4] MAINTAINERS: vt8500: Add clk-vt8500.c to MAINTAINERS file

2013-05-17 Thread Tony Prisk
This file has missed being added under ARM/VT8500 ARM ARCHITECTURE, and is maintained along with the rest of the vt8500 arch code. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- MAINTAINERS |1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3d7782b

[PATCH 3/4] clk: vt8500: Remove unnecessary divisor adjustment in vtwm_dclk_set_rate()

2013-05-17 Thread Tony Prisk
. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/clk/clk-vt8500.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/clk/clk-vt8500.c b/drivers/clk/clk-vt8500.c index ce401cf..82306f5 100644 --- a/drivers/clk/clk-vt8500.c +++ b/drivers/clk/clk-vt8500.c @@ -157,10 +157,6

[PATCH 1/4] clk: vt8500: Fix unbalanced spinlock in vt8500_dclk_set_rate()

2013-05-17 Thread Tony Prisk
in vt8500_dclk_set_rate(). Replace the second call to spin_lock_irqsave() with spin_unlock_irqrestore(). Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/clk/clk-vt8500.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-vt8500.c b/drivers/clk/clk-vt8500.c index debf688

[PATCH 2/4] clk: vt8500: Add support for clocks on the WM8850 SoCs

2013-05-17 Thread Tony Prisk
The WM8850 has a different PLL clock to the previous versions. This patch adds support for the WM8850-style PLL clocks. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- Documentation/devicetree/bindings/clock/vt8500.txt |2 + drivers/clk/clk-vt8500.c | 71

[PATCH 0/4] VT8500 clock for 3.10/3.11

2013-05-17 Thread Tony Prisk
I have dropped it. Patch #4 is to add clk-vt8500.c to MAINTAINERS Regards Tony Prisk Tony Prisk (4): clk: vt8500: Fix unbalanced spinlock in vt8500_dclk_set_rate() clk: vt8500: Add support for clocks on the WM8850 SoCs clk: vt8500: Remove unnecessary divisor adjustment

Re: [PATCHv6 0/3] Add support for velocity network driver on platform devices

2013-05-17 Thread Tony Prisk
On 18/05/13 12:36, David Miller wrote: From: David Miller da...@davemloft.net Date: Fri, 17 May 2013 14:19:38 -0700 (PDT) Series applied, thanks. I'm reverting this, you're not using the correct types for the PM functions you're hooking up. drivers/net/ethernet/via/via-velocity.c:3238:8:

[PATCHv7 0/3] Add support for velocity network driver on platform devices

2013-05-17 Thread Tony Prisk
be pertinent to get some tested-by's for PCI users. Regards Tony Prisk Tony Prisk (3): net: velocity: Rename vptr-dev to vptr-netdev net: velocity: Convert to generic dma functions net: velocity: Add platform device support to VIA velocity driver .../devicetree/bindings/net/via-velocity.txt

[PATCHv7 1/3] net: velocity: Rename vptr-dev to vptr-netdev

2013-05-17 Thread Tony Prisk
Improve the clarity of the code in preparation for converting the dma functions to generic versions, which require a struct device *. This makes it possible to store a 'struct device *dev' in the velocity_info structure. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/net/ethernet

[PATCHv7 2/3] net: velocity: Convert to generic dma functions

2013-05-17 Thread Tony Prisk
Remove the pci_* dma functions and replace with the more generic versions. In preparation of adding platform support, a new struct device *dev is added to struct velocity_info which can be used by both the pci and platform code. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/net

[PATCHv7 3/3] net: velocity: Add platform device support to VIA velocity driver

2013-05-17 Thread Tony Prisk
Add support for the VIA Velocity network driver to be bound to a OF created platform device. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/net/via-velocity.txt | 20 + drivers/net/ethernet/via/Kconfig |3 +- drivers/net/ethernet/via/via

Re: [PATCHv7 0/3] Add support for velocity network driver on platform devices

2013-05-17 Thread Tony Prisk
On 18/05/13 14:23, Tony Prisk wrote: v7 changes: Forgot to merge a patch to fix an error with the pm ops changes. Apologies Dave. v6 changes: Remove more bus specific code from velocity_probe() Make velocity_(suspend/resume) accept a struct device * Simplify PM code to use velocity_(suspend

[PATCHv8 3/3] net: velocity: Add platform device support to VIA velocity driver

2013-05-17 Thread Tony Prisk
Add support for the VIA Velocity network driver to be bound to a OF created platform device. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/net/via-velocity.txt | 20 + drivers/net/ethernet/via/Kconfig |3 +- drivers/net/ethernet/via/via

[PATCHv8 0/3] Add support for velocity network driver on platform devices

2013-05-17 Thread Tony Prisk
is compile-tested for PCI, and boot tested on a VIA APC8750. I think it would be pertinent to get some tested-by's for PCI users. Regards Tony Prisk Tony Prisk (3): net: velocity: Rename vptr-dev to vptr-netdev net: velocity: Convert to generic dma functions net: velocity: Add platform device

[PATCHv8 1/3] net: velocity: Rename vptr-dev to vptr-netdev

2013-05-17 Thread Tony Prisk
Improve the clarity of the code in preparation for converting the dma functions to generic versions, which require a struct device *. This makes it possible to store a 'struct device *dev' in the velocity_info structure. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/net/ethernet

[PATCHv8 2/3] net: velocity: Convert to generic dma functions

2013-05-17 Thread Tony Prisk
Remove the pci_* dma functions and replace with the more generic versions. In preparation of adding platform support, a new struct device *dev is added to struct velocity_info which can be used by both the pci and platform code. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/net

Re: [PATCH 4/4] MAINTAINERS: vt8500: Add clk-vt8500.c to MAINTAINERS file

2013-05-18 Thread Tony Prisk
On 18/05/13 18:40, Alexey Charkov wrote: On 18 May 2013 01:18, Tony Prisk li...@prisktech.co.nz wrote: This file has missed being added under ARM/VT8500 ARM ARCHITECTURE, and is maintained along with the rest of the vt8500 arch code. Signed-off-by: Tony Prisk li...@prisktech.co.nz

[PATCH 0/4] FB updates for 3.11

2013-05-18 Thread Tony Prisk
found on the APC8750 board. Tony Prisk (4): fb: vt8500: Move register defines inside driver fb: vt8500: Convert to use vendor register names fb: vt8500: Require a device clock for wm8505fb driver fb: vt8500: Add VGA output support to wm8505fb driver. .../devicetree/bindings/video/wm,wm8505

[PATCH 2/4] fb: vt8500: Convert to use vendor register names

2013-05-18 Thread Tony Prisk
Change all the #defines to match the vendor defined names, and change the references in wm8505fb.c and wmt_ge_rops.c. Add all the missing register offsets as well to prevent churn in the future. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/video/wm8505fb.c| 159

[PATCH 4/4] fb: vt8500: Add VGA output support to wm8505fb driver.

2013-05-18 Thread Tony Prisk
The APC8750 does not support an LCD panel, but provides a VGA connector. This patch adds support for the VGA interface, and defines an optional devicetree property to specify the output interface. The default if not specified is LCD for backward compatibility. Signed-off-by: Tony Prisk li

[PATCH 3/4] fb: vt8500: Require a device clock for wm8505fb driver

2013-05-18 Thread Tony Prisk
-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/video/wm,wm8505-fb.txt |4 ++- drivers/video/wm8505fb.c | 30 +--- 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/video/wm,wm8505

[PATCH 1/4] fb: vt8500: Move register defines inside driver

2013-05-18 Thread Tony Prisk
The #defines in wm8505fb_regs.h are only used in the wm8505fb driver, and don't need to be visible outside. Move the defines into the driver and remove the header. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/video/wm8505fb.c | 25 +- drivers/video

[PATCHv9 2/3] net: velocity: Convert to generic dma functions

2013-05-18 Thread Tony Prisk
Remove the pci_* dma functions and replace with the more generic versions. In preparation of adding platform support, a new struct device *dev is added to struct velocity_info which can be used by both the pci and platform code. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/net

[PATCHv9 0/3] Add support for velocity network driver on platform devices

2013-05-18 Thread Tony Prisk
platform devices. Binding document included. This patch is compile-tested for PCI, and boot tested on a VIA APC8750. I think it would be pertinent to get some tested-by's for PCI users. Regards Tony Prisk Tony Prisk (3): net: velocity: Rename vptr-dev to vptr-netdev net: velocity: Convert

[PATCHv9 1/3] net: velocity: Rename vptr-dev to vptr-netdev

2013-05-18 Thread Tony Prisk
Improve the clarity of the code in preparation for converting the dma functions to generic versions, which require a struct device *. This makes it possible to store a 'struct device *dev' in the velocity_info structure. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/net/ethernet

[PATCHv9 3/3] net: velocity: Add platform device support to VIA velocity driver

2013-05-18 Thread Tony Prisk
Add support for the VIA Velocity network driver to be bound to a OF created platform device. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/net/via-velocity.txt | 20 + drivers/net/ethernet/via/Kconfig |3 +- drivers/net/ethernet/via/via

Re: [PATCH 4/4] fb: vt8500: Add VGA output support to wm8505fb driver.

2013-05-18 Thread Tony Prisk
On 19/05/13 01:28, Alexey Charkov wrote: 2013/5/18 Tony Prisk li...@prisktech.co.nz: The APC8750 does not support an LCD panel, but provides a VGA connector. This patch adds support for the VGA interface, and defines an optional devicetree property to specify the output interface. The default

Re: [PATCH 1/2] pinctrl: Don't override the error code in probe error handling

2013-05-19 Thread Tony Prisk
-electrons.com Cc: Tony Prisk li...@prisktech.co.nz --- drivers/pinctrl/pinctrl-coh901.c | 3 ++- drivers/pinctrl/pinctrl-sunxi.c | 3 ++- drivers/pinctrl/vt8500/pinctrl-wmt.c | 3 +-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/pinctrl/pinctrl-coh901.c b

Re: [PATCH 0/4] FB updates for 3.11

2013-05-19 Thread Tony Prisk
On 18/05/13 21:15, Tony Prisk wrote: Patch #1 - Move register defines inside the driver and drop the header. Patch #2 - Convert the register defines to use the vendor preferred names. Patch #3 - Add a device clock to wm8505fb. Without it, only the uboot initialized resolution is supported. Patch

Re: [PATCH] i2c: vt8500: Add support for I2C bus on Wondermedia SoCs

2013-05-21 Thread Tony Prisk
On 12/05/13 21:23, Tony Prisk wrote: This patch adds support for the I2C bus controllers found on Wondermedia 8xxx-series SoCs. Only master-mode is supported. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/i2c/i2c-vt8500.txt | 24 + MAINTAINERS

[PATCH] pinctrl: vt8500: Fix incorrect data in WM8750 pinctrl table

2013-05-10 Thread Tony Prisk
WMT_PIN_WAKEUP1 should be declared as WMT_PIN(0, 17) rather than WMT_PIN(0, 16). This currently generates a runtime warning because WMT_PIN_WAKEUP0 is already defined as WMT_PIN(0, 16). Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/pinctrl/vt8500/pinctrl-wm8750.c |2 +- 1 file

[PATCH] i2c: vt8500: Add support for I2C bus on Wondermedia SoCs

2013-05-12 Thread Tony Prisk
This patch adds support for the I2C bus controllers found on Wondermedia 8xxx-series SoCs. Only master-mode is supported. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/i2c/i2c-vt8500.txt | 24 + MAINTAINERS|1

[PATCHv6 0/3] Add support for velocity network driver on platform devices

2013-05-12 Thread Tony Prisk
swapping. Patch #3 adds support for the velocity driver on devicetree platform devices. Binding document included. This patch is compile-tested for PCI, and boot tested on a VIA APC8750. I think it would be pertinent to get some tested-by's for PCI users. Regards Tony Prisk Tony Prisk (3): net

[PATCHv6 1/3] net: velocity: Rename vptr-dev to vptr-netdev

2013-05-12 Thread Tony Prisk
Improve the clarity of the code in preparation for converting the dma functions to generic versions, which require a struct device *. This makes it possible to store a 'struct device *dev' in the velocity_info structure. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/net/ethernet

[PATCHv6 3/3] net: velocity: Add platform device support to VIA velocity driver

2013-05-12 Thread Tony Prisk
Add support for the VIA Velocity network driver to be bound to a OF created platform device. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/net/via-velocity.txt | 20 + drivers/net/ethernet/via/Kconfig |3 +- drivers/net/ethernet/via/via

[PATCHv6 2/3] net: velocity: Convert to generic dma functions

2013-05-12 Thread Tony Prisk
Remove the pci_* dma functions and replace with the more generic versions. In preparation of adding platform support, a new struct device *dev is added to struct velocity_info which can be used by both the pci and platform code. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/net

[PATCH 0/2] clk: vt8500: updates for 3.11

2013-05-13 Thread Tony Prisk
Hi Mike, Two updates for the arch-vt8500 clock code: #1: Add support for the WM8850 PLL. #2: Remove a second divisor check in vt8500_dclk_set_rate() which causes the divisor to be round-down too low. Regards Tony Prisk Tony Prisk (2): clk: vt8500: Add support for clocks on the WM8850 SoCs

[PATCH 1/2] clk: vt8500: Add support for clocks on the WM8850 SoCs

2013-05-13 Thread Tony Prisk
The WM8850 has a different PLL clock to the previous versions. This patch adds support for the WM8850-style PLL clocks. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- Documentation/devicetree/bindings/clock/vt8500.txt |2 + drivers/clk/clk-vt8500.c | 71

[PATCH 2/2] clk: vt8500: Remove unnecessary divisor adjustment in vtwm_dclk_set_rate()

2013-05-13 Thread Tony Prisk
. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/clk/clk-vt8500.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/clk/clk-vt8500.c b/drivers/clk/clk-vt8500.c index 6d5b6e9..d8fd085 100644 --- a/drivers/clk/clk-vt8500.c +++ b/drivers/clk/clk-vt8500.c @@ -157,10 +157,6

Re: [PATCH] drivers: pinctrl: vt8500: use devm_ioremap_resource()

2013-05-14 Thread Tony Prisk
not totally misguided in my world..? Found with coccicheck and this semantic patch: scripts/coccinelle/api/devm_ioremap_resource.cocci Signed-off-by: Laurent Navet laurent.na...@gmail.com Seems OK if the deprecation is ongoing. Tony can I have your ACK? Acked-by: Tony Prisk li...@prisktech.co.nz

Re: [PATCH 20/20] ARM: vt8500: Remove init_irq declaration in machine description

2013-05-15 Thread Tony Prisk
please send direct to arm-soc as Arnd requested. Acked-by: Tony Prisk li...@prisktech.co.nz 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

Re: [PATCH] irqchip: vt8500: Staticize local symbols

2013-07-04 Thread Tony Prisk
that the function variables are lined up, rather than aligning with the (. Can you move the 'struct device_node *parent' across one more space? Otherwise: Acked-by: Tony Prisk li...@prisktech.co.nz { int irq, i; struct device_node *np = node; Regards Tony P -- To unsubscribe from

Re: [PATCH 07/26] clk: vt8500: parse pmc_base from clock driver

2013-09-20 Thread Tony Prisk
On 20/09/13 18:23, Sebastian Hesselbarth wrote: On 09/20/2013 06:51 AM, Tony Prisk wrote: On 20/09/13 07:12, Sebastian Hesselbarth wrote: On 09/19/2013 09:02 PM, Tony Prisk wrote: On 19/09/13 05:53, Sebastian Hesselbarth wrote: Currently, clock providers for vt8500 depend on machine_init

[PATCH] arm: vt8500: Fix gpio mux setup in vt8500_init()

2014-01-22 Thread Tony Prisk
With the switch to a pinctrl driver, and the dropping of the gpio driver, the code in vt8500_init now always fails, and drops back to LEGACY mode. Update the gpio mux init code, and removing the #ifdef's and the LEGACY mode fallback. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm

[PATCH] serial: vt8500: Add missing binding document for arch-vt8500 serial driver.

2014-01-22 Thread Tony Prisk
The binding document for the vt8500/wm8xxx SoC UART driver is missing. This patch adds the binding document. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/serial/vt8500-uart.txt | 26 1 file changed, 26 insertions(+) create mode 100644

[PATCH] vt8500: pinctrl: Change devicetree data parsing

2014-01-22 Thread Tony Prisk
. This patch adds a small translation between the devicetree values (0..2) and the enum pin_config_param equivalent values. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/pinctrl/vt8500/pinctrl-wmt.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/pinctrl/vt8500

[PATCH] MAINTAINERS: vt8500: Update maintained files for arch/vt8500

2014-01-22 Thread Tony Prisk
added/migrated quite some time ago. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- MAINTAINERS |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 6a6e4ac..ac26897 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1341,14 +1341,15 @@ M

[PATCH v2] vt8500: pinctrl: Change devicetree data parsing

2014-01-23 Thread Tony Prisk
in devicetree. This patch adds a small translation between the devicetree values (0..2) and the enum pin_config_param equivalent values. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- v2: Minor change in commit message to indicate time since problem occurred. Change assigned variable to configs[0

[PATCH v2 RESEND] vt8500: pinctrl: Change devicetree data parsing

2014-01-23 Thread Tony Prisk
in devicetree. This patch adds a small translation between the devicetree values (0..2) and the enum pin_config_param equivalent values. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- v2: Minor change in commit message to indicate time since problem occurred. Change assigned variable to configs[0

Re: [PATCH] vt8500: pinctrl: Change devicetree data parsing

2014-01-23 Thread Tony Prisk
On 23/01/14 21:43, Linus Walleij wrote: On Thu, Jan 23, 2014 at 7:31 AM, Tony Prisk li...@prisktech.co.nz wrote: Due to an assumption in the VT8500 pinctrl driver, the value passed from devicetree for 'wm,pull' was not explicitly translated before being passed to pinconf. With changes

Re: [PATCH 3/3] net: via-rhine: add OF bus binding

2014-01-28 Thread Tony Prisk
. These are listed as 1106:3106 rev. 0x84 on the virtual PCI bus under vendor-provided kernels. Does it need a special name? I would have assumed they are using their own IP for the VT6105 or VT6106S. Then you can use it to add quirks later on if needed. Regards Tony Prisk -- To unsubscribe from

Re: [PATCH] pinctrl: vt8500: Ensure value reg is updated when setting direction

2014-04-30 Thread Tony Prisk
) +{ + wmt_gpio_set_value(chip, offset, value); + return pinctrl_gpio_direction_output(chip-base + offset); +} + static struct gpio_chip wmt_gpio_chip = { .label = gpio-wmt, .owner = THIS_MODULE, Acked-by: Tony Prisk li...@prisktech.co.nz Didn't notice that this was an option

Re: [PATCH] arm, vt8500, LLVMLlinux: Use mcr instead of mcr% for mach-vt8500

2014-09-24 Thread Tony Prisk
like to pick this one up and send it in a pull request to arm-soc, or should we apply it to fixes-non-critical directly? Arnd Arnd, You can apply it directly to fixes-non-critical if that's ok. Regards Tony Prisk -- To unsubscribe from this list: send the line unsubscribe linux-kernel

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 --- arch/arm/boot/dts/vt8500.dtsi |9 + arch/arm/boot/dts/wm8505.dtsi |9 + arch/arm/boot/dts/wm8650.dtsi |9 + arch/arm

[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 Reviewed-by: Stephen Warren --- drivers/of/base.c | 33 + include/linux/of.h |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 --- .../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 --- arch/arm/boot/dts/vt8500.dtsi |7 --- arch/arm/boot/dts/wm8505.dtsi |7 --- arch/arm/boot/dts/wm8650.dtsi |7 --- arch

[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 --- arch/arm/Kconfig |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch

[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 --- arch/arm/Kconfig |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch

[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 Reviewed-by: Stephen Warren --- drivers/of/base.c | 33 + include/linux/of.h |9

[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 --- arch/arm/boot/dts/vt8500.dtsi |9 + arch/arm/boot/dts/wm8505.dtsi |9 + arch/arm/boot/dts/wm8650.dtsi |9 + arch/arm

[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 --- .../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 --- arch/arm/boot/dts/vt8500.dtsi |7 --- arch/arm/boot/dts/wm8505.dtsi |7 --- arch/arm/boot/dts/wm8650.dtsi |7 --- arch

[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 Reviewed-by: Jean-Christophe Plagniol-Villard --- drivers/video/vt8500lcdfb.c

[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 Reviewed-by: Jean-Christophe Plagniol-Villard --- drivers/video/Kconfig | 22

[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 --- .../devicetree/bindings/video/via,vt8500-fb.txt| 48 -- .../devicetree

[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 Reviewed-by: Jean-Christophe Plagniol-Villard --- drivers/video/wm8505f

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

2013-04-02 Thread Tony Prisk
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 of the function

[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 Reviewed-by: Jean-Christophe Plagniol-Villard --- drivers/video/Kconfig | 11 ++- 1 file changed, 6

[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 Reviewed-by: Stephen Warren --- drivers/of/base.c | 33 + include/linux/of.h |9

[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 --- arch/arm/boot/dts/vt8500.dtsi |9 + arch/arm/boot/dts/wm8505.dtsi |9 + arch/arm/boot/dts/wm8650.dtsi |9 + arch/arm

[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 --- .../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 --- arch/arm/boot/dts/vt8500.dtsi |7 --- arch/arm/boot/dts/wm8505.dtsi |7 --- arch/arm/boot/dts/wm8650.dtsi |7 --- arch

[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 --- arch/arm/Kconfig |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch

[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 Signed-off-by: Tony Prisk --- drivers/of/base

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 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 by Stephen Warren: Redid

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 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

[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

<    1   2   3   4   5   6   7   8   >