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
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
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
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
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 +
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
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;
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.
(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
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
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
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
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
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
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
---
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
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
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.
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
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
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
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
22 matches
Mail list logo