[PATCH 0/9] Kirkwood DT support For IRQ, SPI, I2C, GPIO

2012-06-10 Thread Andrew Lunn
This patch set adds Device Tree support for IRQ, SPI, I2C and GPIO on Orion based drivers, and makes use of these for kirkwood devices. It also adds the ability to boot QNAP TS219 based systems using device tree. The SPI DT patches are from Michael Walle, and have been previously posted. I've

[PATCH 2/9] SPI: Refactor spi-orion to use SPI framework queue.

2012-06-10 Thread Andrew Lunn
Replace the deprecated master-transfer with transfer_one_message() and allow the SPI subsystem handle all the queuing of messages. Signed-off-by: Andrew Lunn and...@lunn.ch Acked-by: Linus Walleij linus.wall...@linaro.org --- drivers/spi/spi-orion.c | 209

[PATCH 1/9] ARM: Kirkwood: Add interrupt controller support for DT boards

2012-06-10 Thread Andrew Lunn
Signed-off-by: Andrew Lunn and...@lunn.ch --- .../devicetree/bindings/arm/mrvl/intc.txt | 20 ++ arch/arm/boot/dts/kirkwood.dtsi|9 arch/arm/mach-kirkwood/board-dt.c | 22 +++- 3 files changed, 50

[PATCH 3/9] spi-orion: remove uneeded spi_info

2012-06-10 Thread Andrew Lunn
From: Michael Walle mich...@walle.cc This was formerly used to store the tclk value. This is now discovered using the clk API, rather than pass it as platform data. Signed-off-by: Michael Walle mich...@walle.cc Acked-by: Jason Cooper ja...@lakedaemon.net Signed-off-by: Andrew Lunn and...@lunn.ch

[PATCH 6/9] ARM: kirkwood: use devicetree for SPI on dreamplug

2012-06-10 Thread Andrew Lunn
From: Michael Walle mich...@walle.cc Use the device tree for the SPI driver and partition layout. Signed-off-by: Michael Walle mich...@walle.cc Signed-off-by: Andrew Lunn and...@lunn.ch --- arch/arm/boot/dts/kirkwood-dreamplug.dts | 29 +

[PATCH 9/9] Kirkwood: Add basic device tree support for QNAP TS219.

2012-06-10 Thread Andrew Lunn
The two different variants of QNAP TS devices, varying by SoC, put the GPIO keys on different GPIO lines. Hence we need two different DT board descriptions, which share the same board-ts219.c file. Signed-off-by: Andrew Lunn and...@lunn.ch --- arch/arm/boot/dts/kirkwood-ts219-6281.dts | 21

Re: [PATCH 1/2 V3] MXS: Set I2C timing registers for mxs-i2c

2012-06-10 Thread Marek Vasut
Dear Marek Vasut, This patch configures the I2C bus timing registers according to information passed via DT. Currently, 100kHz and 400kHz modes are supported. [...] +struct mxs_i2c_speed_config { + uint32_ttiming0; + uint32_ttiming1; + uint32_ttiming2;

Re: [lm-sensors] lm75_remove: LM75 Device remove using sysfs delete_device

2012-06-10 Thread Guenter Roeck
On Sun, Jun 10, 2012 at 10:41:03AM -0400, Sasikanth babu wrote: Hi all, when I'm trying to delete lm75 device using sysfs delete_device attribute (echo 0x4e /sys/bus/i2c/devices/i2c-3/delete_device) It hangs at lm75_remove function. I started the device using sysfs attribute new_device.

Re: lm75_remove: LM75 Device remove using sysfs delete_device

2012-06-10 Thread Jean Delvare
(Note: Frodo is out of the lm-sensors project for years, no need to Cc him.) On Sun, 10 Jun 2012 07:41:03 -0700, Sasikanth babu wrote: when I'm trying to delete lm75 device using sysfs delete_device attribute (echo 0x4e /sys/bus/i2c/devices/i2c-3/delete_device) It hangs at lm75_remove

Re: [lm-sensors] lm75_remove: LM75 Device remove using sysfs delete_device

2012-06-10 Thread Guenter Roeck
On Sun, Jun 10, 2012 at 11:36:40AM -0400, Jean Delvare wrote: (Note: Frodo is out of the lm-sensors project for years, no need to Cc him.) On Sun, 10 Jun 2012 07:41:03 -0700, Sasikanth babu wrote: when I'm trying to delete lm75 device using sysfs delete_device attribute (echo 0x4e

Re: lm75_remove: LM75 Device remove using sysfs delete_device

2012-06-10 Thread Jean Delvare
On Sun, 10 Jun 2012 08:46:29 -0700, Guenter Roeck wrote: On Sun, Jun 10, 2012 at 11:36:40AM -0400, Jean Delvare wrote: echo 0 /proc/sys/kernel/hung_task_timeout_secs disables this message. i2cinit D 814a04e0 0 2064 2059 0x0004 880271928a70 0086

Re: [PATCH 2/9] SPI: Refactor spi-orion to use SPI framework queue.

2012-06-10 Thread Linus Walleij
On Sun, Jun 10, 2012 at 12:31 PM, Andrew Lunn and...@lunn.ch wrote: Replace the deprecated master-transfer with transfer_one_message() and allow the SPI subsystem handle all the queuing of messages. Signed-off-by: Andrew Lunn and...@lunn.ch Acked-by: Linus Walleij linus.wall...@linaro.org

Re: [PATCH 0/9] Kirkwood DT support For IRQ, SPI, I2C, GPIO

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:31:52PM +0200, Andrew Lunn wrote: This patch set adds Device Tree support for IRQ, SPI, I2C and GPIO on Orion based drivers, and makes use of these for kirkwood devices. It also adds the ability to boot QNAP TS219 based systems using device tree. Andrew, thanks for

Re: [PATCH 1/9] ARM: Kirkwood: Add interrupt controller support for DT boards

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:31:53PM +0200, Andrew Lunn wrote: Signed-off-by: Andrew Lunn and...@lunn.ch --- .../devicetree/bindings/arm/mrvl/intc.txt | 20 ++ arch/arm/boot/dts/kirkwood.dtsi|9 arch/arm/mach-kirkwood/board-dt.c

Re: [PATCH 4/9] spi-orion: add device tree binding

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:31:56PM +0200, Andrew Lunn wrote: From: Michael Walle mich...@walle.cc Signed-off-by: Michael Walle mich...@walle.cc Signed-off-by: Andrew Lunn and...@lunn.ch Looks good. Acked-by: Jason Cooper ja...@lakedaemon.net ---

Re: [PATCH 5/9] ARM: kirkwood: use devicetree for orion-spi

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:31:57PM +0200, Andrew Lunn wrote: From: Michael Walle mich...@walle.cc Populate the devices with auxdata to set the device names which are used by clkdev to lookup the clocks. Signed-off-by: Michael Walle mich...@walle.cc Signed-off-by: Andrew Lunn

Re: [PATCH 6/9] ARM: kirkwood: use devicetree for SPI on dreamplug

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:31:58PM +0200, Andrew Lunn wrote: From: Michael Walle mich...@walle.cc Use the device tree for the SPI driver and partition layout. Signed-off-by: Michael Walle mich...@walle.cc Signed-off-by: Andrew Lunn and...@lunn.ch Acked-by: Jason Cooper

Re: [PATCH 8/9] ARM: Kirkwood: Add DT support for GPIO controllers

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:32:00PM +0200, Andrew Lunn wrote: The GPIO controllers can now be described in DT. Origionally GPIO controllers were instantiated during IRQ setup. The origional none-DT nit. non-DT code has been split out, and is only called if no DT GPIO controllers are found.

Re: [PATCH 9/9] Kirkwood: Add basic device tree support for QNAP TS219.

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:32:01PM +0200, Andrew Lunn wrote: The two different variants of QNAP TS devices, varying by SoC, put the GPIO keys on different GPIO lines. Hence we need two different DT board descriptions, which share the same board-ts219.c file. Signed-off-by: Andrew Lunn

Re: [PATCH 1/9] ARM: Kirkwood: Add interrupt controller support for DT boards

2012-06-10 Thread Michael Walle
Am Sonntag 10 Juni 2012, 12:31:53 schrieb Andrew Lunn: Signed-off-by: Andrew Lunn and...@lunn.ch --- .../devicetree/bindings/arm/mrvl/intc.txt | 20 ++ arch/arm/boot/dts/kirkwood.dtsi| 9 arch/arm/mach-kirkwood/board-dt.c

Re: [PATCH 9/9] Kirkwood: Add basic device tree support for QNAP TS219.

2012-06-10 Thread Michael Walle
Am Sonntag 10 Juni 2012, 12:32:01 schrieb Andrew Lunn: [..] +config MACH_TS219_DT + bool Device Tree for QNAP TS-110, TS-119, TS-119P+, TS-210, TS-219, TS-219P and TS-219P+ Turbo NAS + select ARCH_KIRKWOOD_DT + select ARM_APPENDED_DTB + select ARM_ATAG_DTB_COMPAT + help

Re: [PATCH 8/9] ARM: Kirkwood: Add DT support for GPIO controllers

2012-06-10 Thread Rob Herring
On 06/10/2012 05:32 AM, Andrew Lunn wrote: The GPIO controllers can now be described in DT. Origionally GPIO controllers were instantiated during IRQ setup. The origional none-DT code has been split out, and is only called if no DT GPIO controllers are found. Signed-off-by: Andrew Lunn