Re: [Nios2-dev] [PATHV v2] tty: serial: altera_uart: Add devicetree support

2011-02-18 Thread Grant Likely
On Thu, Feb 17, 2011 at 6:28 PM, Thomas Chou tho...@wytron.com.tw wrote: On 02/17/2011 03:48 PM, Tobias Klauser wrote: + ret = altera_uart_get_of_uartclk(pdev, port); + if (ret platp) + port-uartclk = platp-uartclk; + else if (ret) + return

[PATCH 5/5 v3] tty: serial: altera_jtaguart: Add device tree support

2011-02-18 Thread Tobias Klauser
Advertise the possibility to use this driver with device tree if CONFIG_OF is set. Signed-off-by: Tobias Klauser tklau...@distanz.ch --- v3: - put device tree binding documentation in the correct place (thanks Grant Likely) v2: - add missing semicolon after definition of

Re: [Nios2-dev] [PATHV v2] tty: serial: altera_uart: Add devicetree support

2011-02-18 Thread Tobias Klauser
On 2011-02-18 at 09:08:53 +0100, Grant Likely grant.lik...@secretlab.ca wrote: On Thu, Feb 17, 2011 at 6:28 PM, Thomas Chou tho...@wytron.com.tw wrote: On 02/17/2011 03:48 PM, Tobias Klauser wrote: + ret = altera_uart_get_of_uartclk(pdev, port); + if (ret platp) +

Re: [PATCH 3/3] serial/imx: parse from device tree support

2011-02-18 Thread Arnd Bergmann
Hi Jason, The patch looks good, but I noticed a few details that can be improved. On Friday 18 February 2011, Jason Liu wrote: index dfcf4b1..3388599 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -52,6 +52,10 @@ #include asm/irq.h #include mach/hardware.h #include

[PATCH 3/4 v3] tty: serial: altera_uart: Add devicetree support

2011-02-18 Thread Tobias Klauser
With the recent switch of the (currently still out-of-tree) Nios2 Linux port to devicetree we want to be able to retreive the resources and properties from dts. The old method to retreive resources and properties from platform data is still supported. Cc: Grant Likely grant.lik...@secretlab.ca

[PATCH 1/3] arm/dt: add basic mx51 device tree support

2011-02-18 Thread Jason Liu
Signed-off-by: Jason Liu r64...@freescale.com --- arch/arm/mach-mx5/Kconfig |6 +++ arch/arm/mach-mx5/Makefile |1 + arch/arm/mach-mx5/board-dt.c| 64 +++ arch/arm/mach-mx5/clock-mx51-mx53.c | 45

Re: [PATCH 0/3] Add MX51 basic DT support

2011-02-18 Thread Rob Herring
Jason, On 02/18/2011 02:12 AM, Jason Liu wrote: This patchset adds FSL mx51 device tree support. This is based on git://git.secretlab.ca/git/linux-2.6 devicetree/test This patch has been tested on MX51 babbage board and can boot up succesfully to linux console with DT enabled. Jason Liu (3):

[PATCH] of/pdt: allow DT device matching by fixing 'name' brokenness

2011-02-18 Thread Andres Salomon
On Fri, 18 Feb 2011 23:42:57 + Daniel Drake d...@laptop.org wrote: On 16 February 2011 22:44, David Woodhouse dw...@infradead.org wrote: On Wed, 2011-02-16 at 22:28 +, Daniel Drake wrote: +static int __init add_common_platform_devices(void) +{ +       struct platform_device