Re: [PATCH 1/8] ARM: dts: AM4372: Reorder the rtc compatible string

2015-08-06 Thread Afzal Mohammed
Hi, On Wed, Aug 05, 2015 at 11:14:45AM -0500, Felipe Balbi wrote: for them. Sure, it wasn't documented, but that's a problem of commit 73456012734b80442b33916406cfd13bf1b73acb (ARM: dts: AM4372: add few nodes) which, essentially, added that compatible flag without documenting it. It was

[PATCH] ARM: dts: AM437x GP EVM support

2013-11-12 Thread Afzal Mohammed
From: Lokesh Vutla lokeshvu...@ti.com AM437x GP EVM DTS with pinmux information to make I2C on EVM usable. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com Signed-off-by: Sourav Poddar sourav.pod...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- .../devicetree/bindings/arm/omap/omap.txt

Re: [PATCH] ARM: dts: AM437x GP EVM support

2013-11-12 Thread Afzal Mohammed
Hi Felipe, On Tuesday 12 November 2013 07:52 PM, Felipe Balbi wrote: On Tue, Nov 12, 2013 at 04:54:26PM +0530, Afzal Mohammed wrote: From: Lokesh Vutla lokeshvu...@ti.com AM437x GP EVM DTS with pinmux information to make I2C on EVM usable. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com

Re: [PATCH v2] ARM: OMAP2+: wakeupgen: AM43x adaptation

2013-10-22 Thread Afzal Mohammed
Hi Tony, On Saturday 12 October 2013 03:52 PM, Afzal Mohammed wrote: On Wednesday 09 October 2013 12:42 PM, Afzal Mohammed wrote: AM43x has 224 interrupts and 7 banks, make it as maximum values. Keep default values as earlier, if am43x is detected, update interrupts and banks accordingly

[PATCH v6 00/11] ARM: OMAP2+: AM43x PRCM basic support

2013-10-12 Thread Afzal Mohammed
of the AM335x hwmod data is reused. As AM43x PRCM register layout differs from AM335x and is similar to OMAP4, power domain, clock domain hwmod operations are reused from OMAP4. Currently there is no public TRM available for AM43x. Regards Afzal Afzal Mohammed (7): ARM: OMAP2+: hwmod: AM335x

[PATCH v6 01/11] ARM: OMAP2+: CM: cm_inst offset s16-u16

2013-10-12 Thread Afzal Mohammed
functions so as to take care of the above. [af...@ti.com: fixup and cleanup] Signed-off-by: Ankur Kishore a-kish...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com Acked-by: Rajendra Nayak rna...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/clockdomain.h | 2 +- arch

[PATCH v6 04/11] ARM: OMAP2+: hwmod: AM335x: remove static register offs

2013-10-12 Thread Afzal Mohammed
Hwmod common to AM43x and AM335x has register offsets different. It is now updated based on SoC detection at run time, hence remove statically initialized ones. Signed-off-by: Afzal Mohammed af...@ti.com Acked-by: Rajendra Nayak rna...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- .../mach

[PATCH v6 07/11] ARM: OMAP2+: CM: AM43x clockdomain data

2013-10-12 Thread Afzal Mohammed
From: Ambresh K ambr...@ti.com Add the data file to describe clock domains in AM43x SoC. OMAP4 clockdomain operations is being reused here. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com Acked-by: Rajendra Nayak rna...@ti.com Acked-by: Tony Lindgren t

[PATCH v6 06/11] ARM: OMAP2+: PM: AM43x powerdomain data

2013-10-12 Thread Afzal Mohammed
From: Ambresh K ambr...@ti.com Add the data file to describe all power domains in AM43x SoC. OMAP4 powerdomain operations is being reused here. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com Acked-by: Rajendra Nayak rna...@ti.com Acked-by: Tony Lindgren t

[PATCH v6 03/11] ARM: OMAP2+: hwmod: AM335x: runtime register update

2013-10-12 Thread Afzal Mohammed
in sharing otherwise same hwmod. Signed-off-by: Afzal Mohammed af...@ti.com Acked-by: Rajendra Nayak rna...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- .../mach-omap2/omap_hwmod_33xx_43xx_common_data.h | 2 + .../mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | 77 ++ arch

[PATCH v6 09/11] ARM: OMAP2+: hwmod: AM43x operations

2013-10-12 Thread Afzal Mohammed
Reuse OMAP4 operations on AM43x. Context related ops are not used on AM43x, as this would not add value when using DT and AM43x is DT only boot. This additionally helps not to add context register offset for each hwmod. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af

[PATCH v6 05/11] ARM: OMAP2+: PRCM: AM43x definitions

2013-10-12 Thread Afzal Mohammed
Add AM43x CMINST, CDOFFS, RM_RSTST RM_RSTCTRL definitions - minimal ones that would be used. Signed-off-by: Afzal Mohammed af...@ti.com Acked-by: Rajendra Nayak rna...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/prcm43xx.h | 141

[PATCH v6 08/11] ARM: OMAP2+: hwmod: AM43x support

2013-10-12 Thread Afzal Mohammed
the author Signed-off-by: Afzal Mohammed af...@ti.com Acked-by: Rajendra Nayak rna...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/omap_hwmod.h | 1 + .../mach-omap2/omap_hwmod_33xx_43xx_common_data.h | 1 + .../mach-omap2

[PATCH v6 10/11] ARM: OMAP2+: AM43x: PRCM kbuild

2013-10-12 Thread Afzal Mohammed
to OMAP4/5, AM335x PRCM is divorced and instead married with OMAP4/5 PRCM for AM43x. Signed-off-by: Afzal Mohammed af...@ti.com Acked-by: Rajendra Nayak rna...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/Makefile | 7 ++- arch/arm/mach-omap2/cm33xx.h | 2 +- 2 files

[PATCH v6 11/11] ARM: OMAP2+: AM43x PRCM init

2013-10-12 Thread Afzal Mohammed
From: Ambresh K ambr...@ti.com Initialise AM43x HWMOD, powerdomains and clockdomains. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com Acked-by: Rajendra Nayak rna...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/io.c | 6 ++ 1

Re: [GIT PULL] ARM: OMAP2+: hwmod changes for v3.13

2013-10-12 Thread Afzal Mohammed
Hi Paul, On Friday 11 October 2013 10:30 PM, Paul Walmsley wrote: The following changes since commit d0e639c9e06d44e713170031fe05fb60ebe680af: Linux 3.12-rc4 (2013-10-06 14:00:20 -0700) are available in the git repository at:

Re: [PATCH v2] ARM: OMAP2+: wakeupgen: AM43x adaptation

2013-10-12 Thread Afzal Mohammed
Hi Tony, On Wednesday 09 October 2013 12:42 PM, Afzal Mohammed wrote: AM43x has 224 interrupts and 7 banks, make it as maximum values. Keep default values as earlier, if am43x is detected, update interrupts and banks accordingly. Also AM43x has only one cpu, ensure that clearing bitmask

[PATCH v2] ARM: OMAP2+: wakeupgen: AM43x adaptation

2013-10-09 Thread Afzal Mohammed
that there are two cpu's. If bitmask is cleared in wakeupgen for the nonexistent second cpu, an imprecise abort happens as soon as Kernel switches to user space. It was rootcaused by Sekhar Nori nsek...@ti.com. Signed-off-by: Afzal Mohammed af...@ti.com --- v2: 1. make AM43x adaptation

Re: [PATCH] ARM: OMAP2+: wakeupgen: AM43x adaptation

2013-10-09 Thread Afzal Mohammed
Hi Tony, On Wednesday 09 October 2013 02:54 AM, Tony Lindgren wrote: * Afzal Mohammed af...@ti.com [130905 04:03]: -#define MAX_NR_REG_BANKS5 -#define MAX_IRQS160 +/* maximum value correspond to that of AM43x */ +#define MAX_NR_REG_BANKS7 +#define MAX_IRQS

[PATCH v5 00/11] ARM: OMAP2+: AM43x PRCM basic support

2013-10-01 Thread Afzal Mohammed
there is no public TRM available for AM43x. Changes based on: v3.12-rc2 Regards Afzal Afzal Mohammed (7): ARM: OMAP2+: hwmod: AM335x/AM43x: move common data ARM: OMAP2+: hwmod: AM335x: runtime register update ARM: OMAP2+: hwmod: AM335x: remove static register offs ARM: OMAP2+: PRCM: AM43x

[PATCH v5 01/11] ARM: OMAP2+: CM: cm_inst offset s16-u16

2013-10-01 Thread Afzal Mohammed
functions so as to take care of the above. [af...@ti.com: fixup and cleanup] Signed-off-by: Ankur Kishore a-kish...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/clockdomain.h | 2 +- arch/arm/mach-omap2/cm33xx.c | 16 arch/arm/mach-omap2/cm33xx.h

[PATCH v5 03/11] ARM: OMAP2+: hwmod: AM335x: runtime register update

2013-10-01 Thread Afzal Mohammed
in sharing otherwise same hwmod. Signed-off-by: Afzal Mohammed af...@ti.com --- .../mach-omap2/omap_hwmod_33xx_43xx_common_data.h | 2 + .../mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | 77 ++ arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 1 + 3 files changed, 80

[PATCH v5 04/11] ARM: OMAP2+: hwmod: AM335x: remove static register offs

2013-10-01 Thread Afzal Mohammed
Hwmod common to AM43x and AM335x has register offsets different. It is now updated based on SoC detection at run time, hence remove statically initialized ones. Signed-off-by: Afzal Mohammed af...@ti.com --- .../mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | 57 -- 1 file

[PATCH v5 05/11] ARM: OMAP2+: PRCM: AM43x definitions

2013-10-01 Thread Afzal Mohammed
Add AM43x CMINST, CDOFFS, RM_RSTST RM_RSTCTRL definitions - minimal ones that would be used. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/prcm43xx.h | 141 + 1 file changed, 141 insertions(+) create mode 100644 arch/arm/mach-omap2

[PATCH v5 08/11] ARM: OMAP2+: hwmod: AM43x support

2013-10-01 Thread Afzal Mohammed
the author Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod.h | 1 + .../mach-omap2/omap_hwmod_33xx_43xx_common_data.h | 1 + .../mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | 74 +++ arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 622

[PATCH v5 07/11] ARM: OMAP2+: CM: AM43x clockdomain data

2013-10-01 Thread Afzal Mohammed
From: Ambresh K ambr...@ti.com Add the data file to describe clock domains in AM43x SoC. OMAP4 clockdomain operations is being reused here. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/clockdomain.h | 2 + arch/arm/mach

[PATCH v5 06/11] ARM: OMAP2+: PM: AM43x powerdomain data

2013-10-01 Thread Afzal Mohammed
From: Ambresh K ambr...@ti.com Add the data file to describe all power domains in AM43x SoC. OMAP4 powerdomain operations is being reused here. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/powerdomain.h | 1 + arch/arm

[PATCH v5 09/11] ARM: OMAP2+: hwmod: AM43x operations

2013-10-01 Thread Afzal Mohammed
Reuse OMAP4 operations on AM43x. Context related ops are not used on AM43x, as this would not add value when using DT and AM43x is DT only boot. This additionally helps not to add context register offset for each hwmod. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af

[PATCH v5 10/11] ARM: OMAP2+: AM43x: PRCM kbuild

2013-10-01 Thread Afzal Mohammed
to OMAP4/5, AM335x PRCM is divorced and instead married with OMAP4/5 PRCM for AM43x. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/Makefile | 7 ++- arch/arm/mach-omap2/cm33xx.h | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH v5 11/11] ARM: OMAP2+: AM43x PRCM init

2013-10-01 Thread Afzal Mohammed
From: Ambresh K ambr...@ti.com Initialise AM43x HWMOD, powerdomains and clockdomains. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/io.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-omap2/io.c b/arch/arm

Re: [PATCH v4 01/11] ARM: OMAP2+: CM: cm_inst offset s16-u16

2013-09-30 Thread Afzal Mohammed
Hi Paul, On Monday 30 September 2013 08:53 AM, Paul Walmsley wrote: On Thu, 26 Sep 2013, Afzal Mohammed wrote: Most of the AM43x CM reg address offsets are with MSB bit '1' (on 16-bit value) leading to arithmetic miscalculations while calculating CLOCK ENABLE register's address because

Re: [PATCH v4 07/11] ARM: OMAP2+: CM: AM43x clockdomain data

2013-09-30 Thread Afzal Mohammed
Hi Paul, On Monday 30 September 2013 03:01 PM, Paul Walmsley wrote: On Thu, 26 Sep 2013, Afzal Mohammed wrote: From: Ambresh K ambr...@ti.com Add the data file to describe clock domains in AM43x SoC. OMAP4 clockdomain operations is being reused here. Signed-off-by: Ambresh K ambr

Re: [PATCH v4 07/11] ARM: OMAP2+: CM: AM43x clockdomain data

2013-09-30 Thread Afzal Mohammed
Hi Paul, On Monday 30 September 2013 04:39 PM, Paul Walmsley wrote: On Mon, 30 Sep 2013, Afzal Mohammed wrote: The references to wkup_pwrdm on some of these clockdomains don't look right to me. For example, this clockdomain is listed as being in AM43XX_CM_WKUP_INST, but its enclosing

Re: [PATCH v4 06/11] ARM: OMAP2+: PM: AM43x powerdomain data

2013-09-30 Thread Afzal Mohammed
Hi Paul, On Monday 30 September 2013 03:57 PM, Paul Walmsley wrote: On Thu, 26 Sep 2013, Afzal Mohammed wrote: From: Ambresh K ambr...@ti.com Add the data file to describe all power domains in AM43x SoC. OMAP4 powerdomain operations is being reused here. Signed-off-by: Ambresh K ambr

[PATCH v4 00/11] ARM: OMAP2+: AM43x PRCM basic support

2013-09-26 Thread Afzal Mohammed
is reused. As AM43x PRCM register layout differs from AM335x and is similar to OMAP4, power domain, clock domain hwmod operations are reused from OMAP4. Currently there is no public TRM available for AM43x. Changes based on: v3.12-rc2 Regards Afzal Afzal Mohammed (7): ARM: OMAP2+: hwmod

[PATCH v4 01/11] ARM: OMAP2+: CM: cm_inst offset s16-u16

2013-09-26 Thread Afzal Mohammed
functions so as to take care of the above. [af...@ti.com: fixup and cleanup] Signed-off-by: Ankur Kishore a-kish...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/clockdomain.h | 2 +- arch/arm/mach-omap2/cm33xx.c | 16 arch/arm/mach-omap2/cm33xx.h

[PATCH v4 03/11] ARM: OMAP2+: hwmod: AM335x: runtime register update

2013-09-26 Thread Afzal Mohammed
in sharing otherwise same hwmod. Signed-off-by: Afzal Mohammed af...@ti.com --- .../mach-omap2/omap_hwmod_33xx_43xx_common_data.h | 2 + .../mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | 77 ++ arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 1 + 3 files changed, 80

[PATCH v4 04/11] ARM: OMAP2+: hwmod: AM335x: remove static register offs

2013-09-26 Thread Afzal Mohammed
Hwmod common to AM43x and AM335x has register offsets different. It is now updated based on SoC detection at run time, hence remove statically initialized ones. Signed-off-by: Afzal Mohammed af...@ti.com --- .../mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | 57 -- 1 file

[PATCH v4 05/11] ARM: OMAP2+: PRCM: AM43x definitions

2013-09-26 Thread Afzal Mohammed
Add AM43x CMINST, CDOFFS, RM_RSTST RM_RSTCTRL definitions - minimal ones that would be used. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/prcm43xx.h | 141 + 1 file changed, 141 insertions(+) create mode 100644 arch/arm/mach-omap2

[PATCH v4 07/11] ARM: OMAP2+: CM: AM43x clockdomain data

2013-09-26 Thread Afzal Mohammed
From: Ambresh K ambr...@ti.com Add the data file to describe clock domains in AM43x SoC. OMAP4 clockdomain operations is being reused here. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/clockdomain.h | 2 + arch/arm/mach

[PATCH v4 06/11] ARM: OMAP2+: PM: AM43x powerdomain data

2013-09-26 Thread Afzal Mohammed
From: Ambresh K ambr...@ti.com Add the data file to describe all power domains in AM43x SoC. OMAP4 powerdomain operations is being reused here. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/powerdomain.h | 1 + arch/arm

[PATCH v4 09/11] ARM: OMAP2+: hwmod: AM43x operations

2013-09-26 Thread Afzal Mohammed
Reuse OMAP4 operations on AM43x. Context related ops are not used on AM43x, as this would not add value when using DT and AM43x is DT only boot. This additionally helps not to add context register offset for each hwmod. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af

[PATCH v4 08/11] ARM: OMAP2+: hwmod: AM43x support

2013-09-26 Thread Afzal Mohammed
the author Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod.h | 1 + .../mach-omap2/omap_hwmod_33xx_43xx_common_data.h | 1 + .../mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | 74 +++ arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 622

[PATCH v4 10/11] ARM: OMAP2+: AM43x: PRCM kbuild

2013-09-26 Thread Afzal Mohammed
to OMAP4/5, AM335x PRCM is divorced and instead married with OMAP4/5 PRCM for AM43x. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/Makefile | 7 ++- arch/arm/mach-omap2/cm33xx.h | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH v4 11/11] ARM: OMAP2+: AM43x PRCM init

2013-09-26 Thread Afzal Mohammed
From: Ambresh K ambr...@ti.com Initialise AM43x HWMOD, powerdomains and clockdomains. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/io.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-omap2/io.c b/arch/arm

Re: [PATCH v4 00/11] ARM: OMAP2+: AM43x PRCM basic support

2013-09-26 Thread Afzal Mohammed
though. Changes are also available @git://gitorious.org/x0148406-public/linux-kernel.git tags/am43x-prcm-v4 Regards Afzal On Thursday 26 September 2013 02:58 PM, Afzal Mohammed wrote: Hi Paul, Benoit, Tony, This series adds PRCM support (except clock tree) for AM43x SoC's. Current version

Re: [PATCH RFC v3 08/12] ARM: OMAP2+: CM: AM43x clockdomain data

2013-09-17 Thread Afzal Mohammed
Hi Nishant, On Monday 16 September 2013 08:56 PM, Nishanth Menon wrote: On 09/16/2013 08:48 AM, Afzal Mohammed wrote: From: Ambresh K ambr...@ti.com Add the data file to describe clock domains in AM43x SoC. OMAP4 clockdomain operations is being reused here. Signed-off-by: Ambresh K ambr

[PATCH RFC v3 00/12] ARM: OMAP2+: AM43x PRCM basic support

2013-09-16 Thread Afzal Mohammed
there is no public TRM available for AM43x. Regards Afzal Afzal Mohammed (8): ARM: OMAP2+: hwmod: AM335x/AM43x: move common ocpif ARM: OMAP2+: hwmod: AM335x/AM43x: move common hwmod ARM: OMAP2+: hwmod: AM335x: runtime register update ARM: OMAP2+: hwmod: AM335x: remove static register

[PATCH RFC v3 01/12] ARM: OMAP2+: CM: cm_inst offset s16-u16

2013-09-16 Thread Afzal Mohammed
functions so as to take care of the above. Signed-off-by: Ankur Kishore a-kish...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/clockdomain.h | 2 +- arch/arm/mach-omap2/cm33xx.c | 30 +++--- arch/arm/mach-omap2/cm33xx.h | 26

[PATCH RFC v3 06/12] ARM: OMAP2+: PRCM: AM43x definitions

2013-09-16 Thread Afzal Mohammed
Add AM43x CMINST, CDOFFS, RM_RSTST RM_RSTCTRL definitions - minimal ones that would be used. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/prcm43xx.h | 141 + 1 file changed, 141 insertions(+) create mode 100644 arch/arm/mach-omap2

[PATCH RFC v3 05/12] ARM: OMAP2+: hwmod: AM335x: remove static register offs

2013-09-16 Thread Afzal Mohammed
Hwmod common to AM43x and AM335x has register offsets different. It is now updated based on SoC detection at run time, hence remove statically initialized ones. Signed-off-by: Afzal Mohammed af...@ti.com --- .../mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | 50 -- 1 file

[PATCH RFC v3 04/12] ARM: OMAP2+: hwmod: AM335x: runtime register update

2013-09-16 Thread Afzal Mohammed
in sharing otherwise same hwmod. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod_33xx_43xx_common.h | 2 + .../mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | 78 ++ arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 1 + 3 files changed, 81

[PATCH RFC v3 02/12] ARM: OMAP2+: hwmod: AM335x/AM43x: move common ocpif

2013-09-16 Thread Afzal Mohammed
of those in l4_wkup is fed from a different source for AM43x. Also pruss interconnect is different. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/Makefile | 1 + arch/arm/mach-omap2/omap_hwmod_33xx_43xx_common.h | 76

[PATCH RFC v3 09/12] ARM: OMAP2+: hwmod: AM43x support

2013-09-16 Thread Afzal Mohammed
space in hwmod, which any way would have to be removed once DT bindings happen with driver support. 2. patches would come in from sources other than the author Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod.h | 1 + arch/arm/mach-omap2

[PATCH RFC v3 12/12] ARM: OMAP2+: AM43x PRCM init

2013-09-16 Thread Afzal Mohammed
From: Ambresh K ambr...@ti.com Initialise AM43x HWMOD, powerdomains and clockdomains. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/io.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-omap2/io.c b/arch/arm

[PATCH RFC v3 11/12] ARM: OMAP2+: AM43x: PRCM kbuild

2013-09-16 Thread Afzal Mohammed
to OMAP4/5, AM335x PRCM is divorced and instead married with OMAP4/5 PRCM for AM43x. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/Makefile | 7 ++- arch/arm/mach-omap2/cm33xx.h | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH RFC v3 10/12] ARM: OMAP2+: hwmod: AM43x operations

2013-09-16 Thread Afzal Mohammed
Reuse OMAP4 operations on AM43x. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index d9ee0ff

[PATCH RFC v3 07/12] ARM: OMAP2+: PM: AM43x powerdomain data

2013-09-16 Thread Afzal Mohammed
From: Ambresh K ambr...@ti.com Add the data file to describe all power domains in AM43x SoC. OMAP4 powerdomain operations is being reused here. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/powerdomain.h | 1 + arch/arm

[PATCH RFC v3 08/12] ARM: OMAP2+: CM: AM43x clockdomain data

2013-09-16 Thread Afzal Mohammed
From: Ambresh K ambr...@ti.com Add the data file to describe clock domains in AM43x SoC. OMAP4 clockdomain operations is being reused here. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/clockdomain.h | 2 + arch/arm/mach

Re: [PATCH RFC 0/6] ARM: OMAP2+: AM43x/AM335x prcm reset driver

2013-09-12 Thread Afzal Mohammed
Hi Philipp, On Monday 09 September 2013 02:36 PM, Philipp Zabel wrote: So if I understand correctly, the only problem is that on OMAP the clock needs to be enabled to deassert the reset, but as long as the clock domain is in hardware supervised mode, it won't be enabled? Yes, enabling clock

Re: [PATCH RFC 0/6] ARM: OMAP2+: AM43x/AM335x prcm reset driver

2013-09-05 Thread Afzal Mohammed
Hi Philipp, On Thursday 05 September 2013 03:37 PM, Philipp Zabel wrote: Am Montag, den 02.09.2013, 19:41 +0530 schrieb Afzal Mohammed: Two new reset API's are provided to check whether reset is ready and to clear reset. This would be required in case IP needs to mix reset handling procedure

[PATCH RFC 0/6] ARM: OMAP2+: AM43x/AM335x prcm reset driver

2013-09-02 Thread Afzal Mohammed
logic's in the prcm can be handled by a new prcm driver and then this reset driver can be a child of it. Regards Afzal Afzal Mohammed (6): reset: is_reset and clear_reset api's doc: dt: binding: omap: am43x/am335x prcm reset reset: am43x/am335x support ARM: OMAP2+: AM43x/AM335x: have

[PATCH RFC 1/6] reset: is_reset and clear_reset api's

2013-09-02 Thread Afzal Mohammed
reset requires clearing reset, deassert reset, enabling clock to module and then checking reset status. Here enabling clock module is coming in between reset procedure, hence enhance framework with additional api's. Signed-off-by: Afzal Mohammed af...@ti.com --- drivers/reset/core.c

[PATCH RFC 2/6] doc: dt: binding: omap: am43x/am335x prcm reset

2013-09-02 Thread Afzal Mohammed
to represent prcm (with compatible am4372-prcm) which was felt to be the natural one. Signed-off-by: Afzal Mohammed af...@ti.com --- Documentation/devicetree/bindings/arm/omap/prcm.txt | 13 + 1 file changed, 13 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/omap

[PATCH RFC 3/6] reset: am43x/am335x support

2013-09-02 Thread Afzal Mohammed
-by: Afzal Mohammed af...@ti.com --- drivers/reset/Kconfig | 14 drivers/reset/Makefile | 1 + drivers/reset/amx3_reset.c | 157 + 3 files changed, 172 insertions(+) create mode 100644 drivers/reset/amx3_reset.c diff --git a/drivers/reset

[PATCH RFC 4/6] ARM: OMAP2+: AM43x/AM335x: have reset controller

2013-09-02 Thread Afzal Mohammed
AM43x, AM335x have reset block as part of prcm, let reset driver be usable with these SoC's. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 3eed000

[PATCH RFC 6/6] ARM: dts: AM4372: prcm node (for reset)

2013-09-02 Thread Afzal Mohammed
Add AM4372 prcm node with reset binding. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/boot/dts/am4372.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 5a68fde..d0d11b3 100644 --- a/arch/arm/boot/dts

[PATCH RFC 5/6] ARM: dts: AM335x: prcm node (for reset)

2013-09-02 Thread Afzal Mohammed
Add AM335x prcm node with reset binding. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 4701e3c..c2ccf94 100644 --- a/arch/arm/boot/dts

Re: [PATCH v2 00/13] ARM: OMAP2+: AM43x PRCM support

2013-08-29 Thread Afzal Mohammed
Hi Paul, Benoit, On Wednesday 21 August 2013 05:14 PM, Rajendra Nayak wrote: On Friday 02 August 2013 07:05 PM, Afzal Mohammed wrote: Hwmod database of AM335x is reused by moving common elements to a new array (most of AM335x IP's are present in AM43x) and keeping separate arrays

Re: [PATCH v2 00/13] ARM: OMAP2+: AM43x PRCM support

2013-08-28 Thread Afzal Mohammed
Hi Paul, On Wednesday 21 August 2013 08:23 AM, Paul Walmsley wrote: Currently there is no public TRM available for AM43x. Can you think of any way that the data can be doublechecked against some reference or against the reality of the chip? This series has been tested on a pre-silicon

Re: [PATCH v2 06/13] ARM: OMAP2+: PRCM: AM43x definitions

2013-08-28 Thread Afzal Mohammed
Hi Paul, On Wednesday 21 August 2013 08:50 AM, Paul Walmsley wrote: +/* PRM instances */ +#define AM43XX_PRM_OCP_SOCKET_INST 0x +#define AM43XX_PRM_MPU_INST 0x0300 +#define AM43XX_PRM_GFX_INST 0x0400 +#define

Re: [PATCH v2 00/13] ARM: OMAP2+: AM43x PRCM support

2013-08-28 Thread Afzal Mohammed
Hi Benoit, On Tuesday 20 August 2013 02:48 PM, Benoit Cousson wrote: Otherwise, I guess that most of these patches should be non-intrusive for other OMAPs beside that one (ARM: OMAP2+: CM: reintroduce SW_SLEEP for OMAP4). And for the moment, that's maybe the most important point. Have you

Re: [PATCH v2 01/13] ARM: OMAP2+: CM: reintroduce SW_SLEEP for OMAP4

2013-08-28 Thread Afzal Mohammed
Hi Rajendra, On Wednesday 21 August 2013 12:43 PM, Rajendra Nayak wrote: +void omap4_cminst_clkdm_force_sleep(u8 part, s16 inst, u16 cdoffs) +{ +_clktrctrl_write(OMAP34XX_CLKSTCTRL_FORCE_SLEEP, part, inst, cdoffs); I guess this won't work on omap4/5 where some clockdomains do not

Re: [PATCH v2 10/13] ARM: OMAP2+: hwmod: AM43x operations

2013-08-28 Thread Afzal Mohammed
Hi Rajendra, On Wednesday 21 August 2013 05:00 PM, Rajendra Nayak wrote: On Friday 02 August 2013 07:08 PM, Afzal Mohammed wrote: Reuse OMAP4 operations on AM43x. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod.c

Re: AM335x, early printk

2013-08-20 Thread Afzal Mohammed
Hi Sebastian, On Tuesday 20 August 2013 03:02 PM, Lokesh Vutla wrote: Yes. I do not see the decompress messages but I have an early console later on. Unfortunately it stops now right at the serial core: |pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 |Serial: 8250/16550

Re: [PATCH v2 00/13] ARM: OMAP2+: AM43x PRCM support

2013-08-19 Thread Afzal Mohammed
on this, we can have patches to fix it up on top of this as required or these patches be reverted in the worst case. Regards Afzal * Afzal Mohammed af...@ti.com [130802 06:42]: Hi, AM43x PRCM support (excluding clock tree) is being added with this series. AM43x reuses most of the IP's from

Re: AM335x, early printk

2013-08-19 Thread Afzal Mohammed
Hi Sebastian, On Monday 19 August 2013 06:07 PM, Sebastian Andrzej Siewior wrote: Yes. I do not see the decompress messages but I have an early console later on. Unfortunately it stops now right at the serial core: |pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 |Serial:

Re: [PATCH 2/2] ARM: dts: AM4372: add few nodes

2013-08-12 Thread Afzal Mohammed
Hi Mark, On Saturday 10 August 2013 07:53 PM, Mark Rutland wrote: + mac: ethernet@4a10 { + compatible = ti,am4372-cpsw,ti,cpsw; One point worth mentioning is that the ti,am4372-cpsw string isn't documented. Will the ti,am4372-cpsw binding definitely

Re: [PATCH 2/2] ARM: dts: AM4372: add few nodes

2013-08-04 Thread Afzal Mohammed
Hi Muguthan, On Saturday 03 August 2013 05:19 PM, Mugunthan V N wrote: On 8/2/2013 7:16 PM, Afzal Mohammed wrote: + mac: ethernet@4a10 { + compatible = ti,am4372-cpsw,ti,cpsw; compatibility ti,am4372-cpsw is not needed as driver has only ti,cpsw

[PATCH v2 00/13] ARM: OMAP2+: AM43x PRCM support

2013-08-02 Thread Afzal Mohammed
register target address space as most of AM335x hwmod address space details has been recently cleaned up and moved to DTS. Regards Afzal Afzal Mohammed (8): ARM: OMAP2+: hwmod: AM335x: prepare for AM43x reuse ARM: OMAP2+: hwmod: AMx3: runtime AM335x handling ARM: OMAP2+: hwmod: AMx3: remove

[PATCH v2 02/13] ARM: OMAP2+: hwmod: AM335x: prepare for AM43x reuse

2013-08-02 Thread Afzal Mohammed
that comes under l4_wkup interconnect. To achieve reuse, as a first step, bring out ocpif's relevant for both SoC's to a new array and handle appropriately. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 22 ++ 1 file changed, 18

[PATCH v2 04/13] ARM: OMAP2+: hwmod: AMx3: remove common static fields

2013-08-02 Thread Afzal Mohammed
Hwmod common to AM43x AM335x has some of fields different (CLKCTRL, RSTCTRL, RSTST, ocpif clk and clockdomain). It is now updated based on SoC detection at run time, hence remove statically initialized entries. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2

[PATCH v2 03/13] ARM: OMAP2+: hwmod: AMx3: runtime AM335x handling

2013-08-02 Thread Afzal Mohammed
as possible. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 118 1 file changed, 118 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c index b0a38f0..57234a0

[PATCH v2 01/13] ARM: OMAP2+: CM: reintroduce SW_SLEEP for OMAP4

2013-08-02 Thread Afzal Mohammed
of AM335x, this was pulled in from series that reuses OMAP4 PRM/CM for AM335x, which as of now is not being followed upon] Signed-off-by: Vaibhav Bedia vaibhav.be...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/cminst44xx.c | 20 +--- 1 file changed

[PATCH v2 06/13] ARM: OMAP2+: PRCM: AM43x definitions

2013-08-02 Thread Afzal Mohammed
Add AM43x CMINST, CDOFFS, RM_RSTST RM_RSTCTRL definitions - minimal ones that would be used. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/prcm43xx.h | 141 1 file changed, 141 insertions(+) create mode 100644 arch/arm/mach-omap2

[PATCH v2 05/13] ARM: OMAP2+: CM: cm_inst offset s16-u16

2013-08-02 Thread Afzal Mohammed
functions so as to take care of the above. Signed-off-by: Ankur Kishore a-kish...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/clockdomain.h |2 +- arch/arm/mach-omap2/cm33xx.c | 30 +++--- arch/arm/mach-omap2/cm33xx.h | 26

[PATCH v2 09/13] ARM: OMAP2+: hwmod: AMx3: runtime AM43x handling

2013-08-02 Thread Afzal Mohammed
Update AM43x CLKCTRL, RSTCTRL, RSTST offsets, clockdomain ocpif clk that differ with AM335x at runtime. This helps in reusing much of the AM335x hwmod data's for AM43x. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 110

[PATCH v2 10/13] ARM: OMAP2+: hwmod: AM43x operations

2013-08-02 Thread Afzal Mohammed
Reuse OMAP4 operations on AM43x. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod.c |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index

[PATCH v2 08/13] ARM: OMAP2+: CM: AM43x clockdomain data

2013-08-02 Thread Afzal Mohammed
From: Ambresh K ambr...@ti.com Add the data file to describe clock domains in AM43x SoC. OMAP4 clockdomain operations is being reused here. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/clockdomain.h |2 + arch/arm/mach

[PATCH v2 07/13] ARM: OMAP2+: PM: AM43x powerdomain data

2013-08-02 Thread Afzal Mohammed
From: Ambresh K ambr...@ti.com Add the data file to describe all power domains in AM43x SoC. OMAP4 powerdomain operations is being reused here. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/powerdomain.h |1 + arch/arm

[PATCH v2 13/13] ARM: OMAP2+: hwmod: AM43x: new w.r.t AM335x

2013-08-02 Thread Afzal Mohammed
have to be removed once DT bindings happen with driver support. 2. patches would come in from sources other than the author Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 366 +++- 1 file changed, 364 insertions(+), 2 deletions

[PATCH v2 12/13] ARM: OMAP2+: AM43x PRCM init

2013-08-02 Thread Afzal Mohammed
From: Ambresh K ambr...@ti.com Initialise AM43x HWMOD, powerdomains and clockdomains. Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/io.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-omap2/io.c b/arch/arm

[PATCH v2 11/13] ARM: OMAP2+: AM43x: PRCM kbuild

2013-08-02 Thread Afzal Mohammed
PRCM is divorced and instead married with OMAP4/5 PRCM for AM43x. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/Makefile |5 - arch/arm/mach-omap2/cm33xx.h |2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/Makefile b/arch

[PATCH 2/2] ARM: dts: AM4372: add few nodes

2013-08-02 Thread Afzal Mohammed
, cpsw pwm - only the properties that were sure to be correct has been added (main intention is to make hwmod happy and avoid any later modification to here added properties). While at it add ti,hwmod property to already existing nodes. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm

[PATCH 1/2] ARM: dts: AM4372: cpu(s) node per latest binding

2013-08-02 Thread Afzal Mohammed
Update AM4372 cpu node to the latest cpus/cpu bindings for ARM. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/boot/dts/am4372.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index ddc1df7..4635e7f 100644

[PATCH] ARM: Kconfig: NR_GPIO AM43x default

2013-08-02 Thread Afzal Mohammed
On an AM43x only config, currently default ARCH_NR_GPIO would be zero. Default it to that supported by the SoC. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 37c0f4e..c5356c5 100644

Re: [PATCH 1/2] ARM: OMAP2+: hwmod: rt address space index for DT

2013-07-24 Thread Afzal Mohammed
Hi Paul, Benoit, On 7/5/2013 8:43 PM, Afzal Mohammed wrote: Address space is being removed from hwmod database and DT information in reg property is being used. Currently the 0th index of device address space is used to map for register target address. This is not always true, eg. cpgmac has

Re: [PATCH RFC 00/13] ARM: OMAP2+: AM43x PRCM support

2013-07-18 Thread Afzal Mohammed
Hi Tony, Paul, On 7/11/2013 12:03 PM, Afzal Mohammed wrote: AM43x PRCM support (excluding clock tree) is being added with this series. AM43x reuses most of the IP's from AM335x, as that is the case, it was felt that reusing AM335x code as much as possible for AM43x is better - it also helps

[PATCH RFC 00/13] ARM: OMAP2+: AM43x PRCM support

2013-07-11 Thread Afzal Mohammed
] [RFC 2/9] ARM: OMAP2+: CM code: Reintroduce SW_SLEEP for OMAP4 class of devices [3] [RFC 6/9] ARM: OMAP4: CM code: Remove the check for non-zero clkctrl_offs [4] [RFC 8/9] ARM: OMAP2+: AM335x: Migrate to OMAP4 PRM/CM APIs Afzal Mohammed (8): ARM: OMAP2+: hwmod: AM335x: prepare for AM43x reuse

[PATCH RFC 01/13] ARM: OMAP2+: hwmod: AM335x: prepare for AM43x reuse

2013-07-11 Thread Afzal Mohammed
that comes under l4_wkup interconnect. To achieve reuse, as a first step, bring out ocpif's relevant for both SoC's to a new array and handle appropriately. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 22 ++ 1 file changed, 18 insertions

  1   2   3   4   5   6   7   >