[PATCH 2/5] powerpc: 40x: Add AHB, APB of_device_ids

2012-04-02 Thread Tanmay Inamdar
Adding of_device_id's for AHB and APB buses used in klondike (APM8018X) in platforms/40x/ppc40x_simple.c file Signed-off-by: Tanmay Inamdar tinam...@apm.com --- :100644 100644 9761206... 7b518ed... M arch/powerpc/platforms/40x/ppc40x_simple.c arch/powerpc/platforms/40x/ppc40x_simple.c |2

[PATCH 4/5] powerpc: config: 40x: Add 16650 UART support in klondike defconfig

2012-04-02 Thread Tanmay Inamdar
Adding 16650 UART support in klondike_defconfig for APM8018X SOC Signed-off-by: Tanmay Inamdar tinam...@apm.com --- :100644 100644 c0d228d... c35c345... M arch/powerpc/configs/40x/klondike_defconfig arch/powerpc/configs/40x/klondike_defconfig |6 ++ 1 files changed, 6 insertions(+), 0

[PATCH 3/5] powerpc: dts: klondike: Add UART nodes

2012-04-02 Thread Tanmay Inamdar
Adding UART nodes in Klondike device tree file. Signed-off-by: Tanmay Inamdar tinam...@apm.com --- :100644 100644 4ff2852... d5bf2e1... M arch/powerpc/boot/dts/klondike.dts arch/powerpc/boot/dts/klondike.dts | 24 1 files changed, 24 insertions(+), 0 deletions

[PATCH 1/5] powerpc: dts: klondike: Add AHB, APB bus; remove OPB bus

2012-04-02 Thread Tanmay Inamdar
Add entries in klondike device tree for AHB and APB bus and remove entry for non-existent OPB bus inherited from legacy code. Signed-off-by: Tanmay Inamdar tinam...@apm.com --- :100644 100644 8c94290... 4ff2852... M arch/powerpc/boot/dts/klondike.dts arch/powerpc/boot/dts/klondike.dts | 167

[PATCH 5/5] powerpc: kernel: 16650 UART reg-shift support

2012-04-02 Thread Tanmay Inamdar
In APM8018X SOC, UART register address space has been relocated to 32-bit data boundaries for APB bus implementation. Current legacy_serial driver ignores the reg-shift property. This patch modifies legacy_serial.c and udbg_16550.c to work with above mentioned UARTs. Signed-off-by: Tanmay Inamdar

Re: [PATCH 3/5] powerpc: dts: klondike: Add UART nodes

2012-04-03 Thread Tanmay Inamdar
On Wed, Apr 4, 2012 at 6:19 AM, Josh Boyer jwbo...@gmail.com wrote: On Tue, Apr 3, 2012 at 11:57 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Mon,  2 Apr 2012 12:09:05 +0530, Tanmay Inamdar tinam...@apm.com wrote: Adding UART nodes in Klondike device tree file. Signed-off-by: Tanmay

[V2 2/5] powerpc: 40x: Add AHB, APB of_device_ids

2012-04-09 Thread Tanmay Inamdar
Adding of_device_id's for AHB and APB buses used in klondike (APM8018X) in platforms/40x/ppc40x_simple.c file Signed-off-by: Tanmay Inamdar tinam...@apm.com --- :100644 100644 9761206... 7b518ed... M arch/powerpc/platforms/40x/ppc40x_simple.c arch/powerpc/platforms/40x/ppc40x_simple.c |2

[V2 1/5] powerpc: dts: klondike: Add AHB, APB bus; remove OPB bus

2012-04-09 Thread Tanmay Inamdar
Add entries in klondike device tree for AHB and APB bus and remove entry for non-existent OPB bus inherited from legacy code. Signed-off-by: Tanmay Inamdar tinam...@apm.com --- :100644 100644 8c94290... 4ff2852... M arch/powerpc/boot/dts/klondike.dts arch/powerpc/boot/dts/klondike.dts | 167

[V2 3/5] powerpc: dts: klondike: Add UART nodes

2012-04-09 Thread Tanmay Inamdar
Adding UART nodes in Klondike device tree file. Version 2: Removed unnecessary 'virtual-reg' property from UART node. Signed-off-by: Tanmay Inamdar tinam...@apm.com --- :100644 100644 4ff2852... b1e516e... M arch/powerpc/boot/dts/klondike.dts arch/powerpc/boot/dts/klondike.dts | 22

[V2 4/5] powerpc: config: 40x: Add 16650 UART support in klondike defconfig

2012-04-09 Thread Tanmay Inamdar
Adding 16650 UART support in klondike_defconfig for APM8018X SOC Signed-off-by: Tanmay Inamdar tinam...@apm.com --- :100644 100644 c0d228d... c35c345... M arch/powerpc/configs/40x/klondike_defconfig arch/powerpc/configs/40x/klondike_defconfig |6 ++ 1 files changed, 6 insertions(+), 0

[V2 5/5] powerpc: kernel: 16650 UART reg-shift support

2012-04-09 Thread Tanmay Inamdar
In APM8018X SOC, UART register address space has been relocated to 32-bit data boundaries for APB bus implementation. Current legacy_serial driver ignores the reg-shift property. This patch modifies legacy_serial.c and udbg_16550.c to work with above mentioned UARTs. Signed-off-by: Tanmay Inamdar

Re: [V2 5/5] powerpc: kernel: 16650 UART reg-shift support

2012-05-08 Thread Tanmay Inamdar
On Wed, May 2, 2012 at 7:08 PM, Josh Boyer jwbo...@gmail.com wrote: On Mon, Apr 9, 2012 at 3:20 AM, Tanmay Inamdar tinam...@apm.com wrote: In APM8018X SOC, UART register address space has been relocated to 32-bit data boundaries for APB bus implementation. Current legacy_serial driver ignores

Re: [V2 2/5] powerpc: 40x: Add AHB, APB of_device_ids

2012-05-08 Thread Tanmay Inamdar
On Wed, May 2, 2012 at 7:11 PM, Josh Boyer jwbo...@gmail.com wrote: On Mon, Apr 9, 2012 at 3:20 AM, Tanmay Inamdar tinam...@apm.com wrote: Adding of_device_id's for AHB and APB buses used in klondike (APM8018X) in platforms/40x/ppc40x_simple.c file Signed-off-by: Tanmay Inamdar tinam

Re: [V2 5/5] powerpc: kernel: 16650 UART reg-shift support

2012-05-20 Thread Tanmay Inamdar
On Wed, May 9, 2012 at 10:57 AM, Tanmay Inamdar tinam...@apm.com wrote: On Wed, May 2, 2012 at 7:08 PM, Josh Boyer jwbo...@gmail.com wrote: On Mon, Apr 9, 2012 at 3:20 AM, Tanmay Inamdar tinam...@apm.com wrote: In APM8018X SOC, UART register address space has been relocated to 32-bit data

powerpc: dts: Fix canyonlands EMAC interrupt map

2011-11-22 Thread Tanmay Inamdar
Fixing interrupt mapping of EMAC for canyonlands Signed-off-by: Tanmay Inamdar tinam...@apm.com --- arch/powerpc/boot/dts/canyonlands.dts | 16 ++-- 1 files changed, 6 insertions(+), 10 deletions(-) diff --git a/arch/powerpc/boot/dts/canyonlands.dts b/arch/powerpc/boot/dts

Re: powerpc: dts: Fix canyonlands EMAC interrupt map

2011-11-22 Thread Tanmay Inamdar
On Tue, Nov 22, 2011 at 5:00 PM, Josh Boyer jwbo...@gmail.com wrote: On Tue, Nov 22, 2011 at 2:11 AM, Tanmay Inamdar tinam...@apm.com wrote: Fixing interrupt mapping of EMAC for canyonlands Signed-off-by: Tanmay Inamdar tinam...@apm.com As far as I can tell, your changes aren't really

Re: [PATCH] powerpc/40x: Add APM8018X SOC support

2011-11-24 Thread Tanmay Inamdar
Hello Josh, Thanks for the review. The comments are appreciated. Please see my inline replies. Thanks, Tanmay On Wed, Nov 23, 2011 at 7:40 PM, Josh Boyer jwbo...@gmail.com wrote: On Wed, Nov 23, 2011 at 4:44 AM, Tanmay Inamdar tinam...@apm.com wrote: diff --git a/arch/powerpc/Kconfig b

Re: [PATCH] powerpc/40x: Add APM8018X SOC support

2011-11-25 Thread Tanmay Inamdar
Hello, Please see inline comment. Regards, Tanmay On Wed, Nov 23, 2011 at 9:46 PM, Kumar Gala ga...@kernel.crashing.org wrote: On Nov 23, 2011, at 3:44 AM, Tanmay Inamdar wrote: arch/powerpc/kernel/udbg_16550.c            |   22 + Would be probably good to split this change into its own

Re: [PATCH] powerpc/40x: Add APM8018X SOC support

2011-11-25 Thread Tanmay Inamdar
Hello Arnd, Thanks for the comments. Please see inline replies. Regards, Tanmay On Wed, Nov 23, 2011 at 7:45 PM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 23 November 2011, Tanmay Inamdar wrote: The AppliedMicro APM8018X embedded processor targets embedded applications that require

Re: [PATCH] powerpc/40x: Add APM8018X SOC support

2011-11-28 Thread Tanmay Inamdar
On Mon, Nov 28, 2011 at 4:49 AM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Fri, 2011-11-25 at 17:49 +0530, Tanmay Inamdar wrote:                 +#if defined(CONFIG_APM8018X)         +/* CPR */         +#define DCRN_CPR0_CONFIG_ADDR        0xa         +#define

[PATCH v2] powerpc/40x: Add APM8018X SOC support

2011-11-28 Thread Tanmay Inamdar
-off-by: Tanmay Inamdar tinam...@apm.com --- arch/powerpc/boot/dts/klondike.dts | 227 +++ arch/powerpc/configs/40x/klondike_defconfig | 55 +++ arch/powerpc/kernel/cputable.c | 13 ++ arch/powerpc/platforms/40x/Kconfig | 11 ++ arch