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

2014-09-24 Thread Tony Prisk
l 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" in the body of a message to majord...@

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: [PATCH] pinctrl: vt8500: Ensure value reg is updated when setting direction

2014-04-30 Thread Tony Prisk
int value) +{ + 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 Didn't notice that this was an opti

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 4/7] ECHI Platform: Merge ppc-of EHCI driver into the ehci-platform driver

2014-02-21 Thread Tony Prisk
On 22/02/14 00:48, Mark Rutland wrote: [Adding Tony Prisk to Cc] On Fri, Feb 21, 2014 at 06:31:30AM +, Alistair Popple wrote: Currently the ppc-of driver uses the compatibility string "usb-ehci". This means platforms that use device-tree and implement an EHCI compatible inte

Re: [PATCH 4/7] ECHI Platform: Merge ppc-of EHCI driver into the ehci-platform driver

2014-02-21 Thread Tony Prisk
On 22/02/14 00:48, Mark Rutland wrote: [Adding Tony Prisk to Cc] On Fri, Feb 21, 2014 at 06:31:30AM +, Alistair Popple wrote: Currently the ppc-of driver uses the compatibility string usb-ehci. This means platforms that use device-tree and implement an EHCI compatible interface have

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

2014-01-28 Thread Tony Prisk
irtual 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 this list: send the line "unsubscribe

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] 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 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 to 'enum pin_config_param

[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 --- v2: Minor change in commit message to indicate time since problem occurred. Change assigned variable to configs[0] rather than reassigning

[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 --- v2: Minor change in commit message to indicate time since problem occurred. Change assigned variable to configs[0] rather than reassigning

[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

[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 --- 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: Tony Prisk L

[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 --- .../devicetree/bindings/serial/vt8500-uart.txt | 26 1 file changed, 26 insertions(+) create mode 100644 Documentation

[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 --- drivers/pinctrl/vt8500/pinctrl-wmt.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/pinctrl/vt8500/pinctrl-wmt.c b

[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 --- arch/arm/mach-vt8500/vt8500.c

[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

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

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

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

2013-09-19 Thread Tony Prisk
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 providing pmc_base address before calling of_clk_init. With upcoming arch-wide .time_init

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

2013-09-19 Thread Tony Prisk
a pmc_base parsing helper to current clock provider that gets called if there is no pmc_base set, yet. Signed-off-by: Sebastian Hesselbarth --- Cc: Olof Johansson Cc: Arnd Bergmann Cc: Tony Prisk Cc: Mike Turquette Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- drivers

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

2013-09-19 Thread Tony Prisk
a pmc_base parsing helper to current clock provider that gets called if there is no pmc_base set, yet. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Olof Johansson o...@lixom.net Cc: Arnd Bergmann a...@arndb.de Cc: Tony Prisk li...@prisktech.co.nz Cc: Mike Turquette mturque

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

2013-09-19 Thread Tony Prisk
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 providing pmc_base address before calling of_clk_init. With upcoming arch-wide .time_init

[PATCH] dts: wandboard: Add support for SDIO bcm4329

2013-07-27 Thread Tony Prisk
The wandboard has a Broadcom 4329 WiFi connected via SDIO. This patch sets the required pins to enable the wifi module. Signed-off-by: Tony Prisk --- arch/arm/boot/dts/imx6qdl-wandboard.dtsi | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH] dts: wandboard: Add support for SDIO bcm4329

2013-07-27 Thread Tony Prisk
The wandboard has a Broadcom 4329 WiFi connected via SDIO. This patch sets the required pins to enable the wifi module. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/boot/dts/imx6qdl-wandboard.dtsi | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git

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

2013-07-04 Thread Tony Prisk
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 { int irq, i; struct device_node *np = node; Regards Tony P -- To unsubscribe from this list: send the line "unsubs

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 -next] pinctrl: vt8500: wmt: remove redundant dev_err call in wmt_pinctrl_probe()

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

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] pinctrl: establish pull-up/pull-down terminology

2013-06-16 Thread Tony Prisk
On 16/06/13 22:45, Linus Walleij wrote: From: Linus Walleij It is counter-intuitive to have "0" mean disable in a boolean manner for electronic properties of pins such as pull-up and pull-down. Therefore, define that a pull-up/pull-down argument of 0 to such a generic option means that the pin

Re: [PATCH] pinctrl: establish pull-up/pull-down terminology

2013-06-16 Thread Tony Prisk
On 16/06/13 22:45, Linus Walleij wrote: From: Linus Walleij linus.wall...@linaro.org It is counter-intuitive to have 0 mean disable in a boolean manner for electronic properties of pins such as pull-up and pull-down. Therefore, define that a pull-up/pull-down argument of 0 to such a generic

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

2013-06-15 Thread Tony Prisk
On 15/06/13 23:18, Wolfram Sang wrote: On Sat, Jun 15, 2013 at 09:52:16AM +1200, 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 --- ... +/* REG_TR */ +#define SCL_TIMEOUT

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

2013-06-15 Thread Tony Prisk
On 15/06/13 23:18, Wolfram Sang wrote: On Sat, Jun 15, 2013 at 09:52:16AM +1200, 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 --- ... +/* REG_TR

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

2013-06-14 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 --- v3 changes: Included the v2 changes for clarity. Tidy up the I2C_NO_START code properly. Remove the alias handling and allow the core to do

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

2013-06-14 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 --- v3 changes: Included the v2 changes for clarity. Tidy up the I2C_NO_START code properly. Remove the alias handling

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

2013-06-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 --- .../devicetree/bindings/i2c/i2c-vt8500.txt | 24 + MAINTAINERS|1 + drivers/i2c/busses

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

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

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" wrote: This file has missed being added under ARM/VT8500 ARM ARCHITECTURE, and is maintained along with the rest of the v

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

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 --- .../devicetree/bindings/i2c/i2c-vt8500.txt | 24 + MAINTAINERS

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

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 1/2] pinctrl: Don't override the error code in probe error handling

2013-05-19 Thread Tony Prisk
On 19/05/13 17:58, Axel Lin wrote: Otherwise, we return 0 in probe error paths when gpiochip_remove() returns 0. Also show error message if gpiochip_remove() fails. Signed-off-by: Axel Lin Cc: Linus Walleij Cc: Maxime Ripard Cc: Tony Prisk --- drivers/pinctrl/pinctrl-coh901.c | 3

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

[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 --- .../devicetree/bindings/net/via-velocity.txt | 20 + drivers/net/ethernet/via/Kconfig |3 +- drivers/net/ethernet/via/via-velocity.c

[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 --- drivers/net/ethernet/via/via-velocity.c

[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 --- drivers/net/ethernet/via/via

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

2013-05-18 Thread Tony Prisk
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: velocity: Rename vptr->dev to vptr->n

[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 --- drivers/video/wm8505fb.c | 25 +- drivers/video/wm8505fb_regs.h | 76

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

2013-05-18 Thread Tony Prisk
-by: Tony Prisk --- .../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-fb.txt b/Documentation

[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 --- drivers/video/wm8505fb.c| 159 drivers

[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

[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

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" 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 --- MAINTAINERS |1 + 1 file

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

[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 --- drivers/net/ethernet/via/via

[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 --- drivers/net/ethernet/via/via-velocity.c

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

2013-05-17 Thread Tony Prisk
cument 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 to generic dma functions net: v

[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 --- .../devicetree/bindings/net/via-velocity.txt | 20 + drivers/net/ethernet/via/Kconfig |3 +- drivers/net/ethernet/via/via-velocity.c

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

[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 --- .../devicetree/bindings/net/via-velocity.txt | 20 + drivers/net/ethernet/via/Kconfig |3 +- drivers/net/ethernet/via/via-velocity.c

[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 --- drivers/net/ethernet/via/via

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

2013-05-17 Thread Tony Prisk
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 support to VIA velocity driver .../device

[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 --- drivers/net/ethernet/via/via-velocity.c

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

[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

[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 --- Documentation/devicetree/bindings/clock/vt8500.txt |2 + drivers/clk/clk-vt8500.c | 71 2

[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 --- 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 @@ static int

[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 --- 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..553ac35 100644

[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 --- MAINTAINERS |1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3d7782b..5ab8ccb 100644

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 Arnd, Olof: Can you apply this directly please. Regards Tony Prisk -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

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

  1   2   3   4   5   6   7   8   >