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...@
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
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
)
+{
+ 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
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
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
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
. 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
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
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
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
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
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
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
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
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
.
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
.
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
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
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
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
};
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
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
.
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
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
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
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
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:
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
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
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
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
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 - 100 of 734 matches
Mail list logo