* [PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm address space from hwmod data
@ 2015-10-15 16:27 Franklin S Cooper Jr
2015-10-15 16:27 ` [PATCH 2/2 v2] ARM: DRA7/335x/437x: hwmod: Remove gpmc " Franklin S Cooper Jr
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Franklin S Cooper Jr @ 2015-10-15 16:27 UTC (permalink / raw)
To: linux-arm-kernel
ELM address information is provided by device tree. No longer need
to include this information within hwmod.
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
Version 2 changes:
Removing elm addr entries also for 335x,437x and omap4 hwmod
arch/arm/mach-omap2/omap_hwmod_33xx_43xx_interconnect_data.c | 10 ----------
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 10 ----------
arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 10 ----------
3 files changed, 30 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_interconnect_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_interconnect_data.c
index 8f5989d..9ba431c 100644
--- a/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_interconnect_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_interconnect_data.c
@@ -152,20 +152,10 @@ struct omap_hwmod_ocp_if am33xx_cpgmac0__mdio = {
.user = OCP_USER_MPU,
};
-static struct omap_hwmod_addr_space am33xx_elm_addr_space[] = {
- {
- .pa_start = 0x48080000,
- .pa_end = 0x48080000 + SZ_8K - 1,
- .flags = ADDR_TYPE_RT
- },
- { }
-};
-
struct omap_hwmod_ocp_if am33xx_l4_ls__elm = {
.master = &am33xx_l4_ls_hwmod,
.slave = &am33xx_elm_hwmod,
.clk = "l4ls_gclk",
- .addr = am33xx_elm_addr_space,
.user = OCP_USER_MPU,
};
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
index 43eebf2..8f13f4a 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -3915,21 +3915,11 @@ static struct omap_hwmod_ocp_if omap44xx_l4_per__dss_venc = {
.user = OCP_USER_MPU,
};
-static struct omap_hwmod_addr_space omap44xx_elm_addrs[] = {
- {
- .pa_start = 0x48078000,
- .pa_end = 0x48078fff,
- .flags = ADDR_TYPE_RT
- },
- { }
-};
-
/* l4_per -> elm */
static struct omap_hwmod_ocp_if omap44xx_l4_per__elm = {
.master = &omap44xx_l4_per_hwmod,
.slave = &omap44xx_elm_hwmod,
.clk = "l4_div_ck",
- .addr = omap44xx_elm_addrs,
.user = OCP_USER_MPU | OCP_USER_SDMA,
};
diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
index 562247b..ad2cc7a 100644
--- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
@@ -2566,21 +2566,11 @@ static struct omap_hwmod_ocp_if dra7xx_l3_main_1__hdmi = {
.user = OCP_USER_MPU | OCP_USER_SDMA,
};
-static struct omap_hwmod_addr_space dra7xx_elm_addrs[] = {
- {
- .pa_start = 0x48078000,
- .pa_end = 0x48078fff,
- .flags = ADDR_TYPE_RT
- },
- { }
-};
-
/* l4_per1 -> elm */
static struct omap_hwmod_ocp_if dra7xx_l4_per1__elm = {
.master = &dra7xx_l4_per1_hwmod,
.slave = &dra7xx_elm_hwmod,
.clk = "l3_iclk_div",
- .addr = dra7xx_elm_addrs,
.user = OCP_USER_MPU | OCP_USER_SDMA,
};
--
2.6.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/2 v2] ARM: DRA7/335x/437x: hwmod: Remove gpmc address space from hwmod data
2015-10-15 16:27 [PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm address space from hwmod data Franklin S Cooper Jr
@ 2015-10-15 16:27 ` Franklin S Cooper Jr
2015-10-16 7:52 ` Roger Quadros
2015-10-23 19:01 ` Paul Walmsley
2015-10-16 7:51 ` [PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm " Roger Quadros
2015-10-23 19:00 ` Paul Walmsley
2 siblings, 2 replies; 10+ messages in thread
From: Franklin S Cooper Jr @ 2015-10-15 16:27 UTC (permalink / raw)
To: linux-arm-kernel
GPMC address information is provided by device tree. No longer need
to include this information within hwmod.
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
Version 2 changes:
None
arch/arm/mach-omap2/omap_hwmod_33xx_43xx_interconnect_data.c | 10 ----------
arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 10 ----------
2 files changed, 20 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_interconnect_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_interconnect_data.c
index 9ba431c..1c210cb 100644
--- a/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_interconnect_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_interconnect_data.c
@@ -275,20 +275,10 @@ struct omap_hwmod_ocp_if am33xx_epwmss2__ehrpwm2 = {
};
/* l3s cfg -> gpmc */
-static struct omap_hwmod_addr_space am33xx_gpmc_addr_space[] = {
- {
- .pa_start = 0x50000000,
- .pa_end = 0x50000000 + SZ_8K - 1,
- .flags = ADDR_TYPE_RT,
- },
- { }
-};
-
struct omap_hwmod_ocp_if am33xx_l3_s__gpmc = {
.master = &am33xx_l3_s_hwmod,
.slave = &am33xx_gpmc_hwmod,
.clk = "l3s_gclk",
- .addr = am33xx_gpmc_addr_space,
.user = OCP_USER_MPU,
};
diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
index ad2cc7a..7bf106a 100644
--- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
@@ -2638,21 +2638,11 @@ static struct omap_hwmod_ocp_if dra7xx_l4_per1__gpio8 = {
.user = OCP_USER_MPU | OCP_USER_SDMA,
};
-static struct omap_hwmod_addr_space dra7xx_gpmc_addrs[] = {
- {
- .pa_start = 0x50000000,
- .pa_end = 0x500003ff,
- .flags = ADDR_TYPE_RT
- },
- { }
-};
-
/* l3_main_1 -> gpmc */
static struct omap_hwmod_ocp_if dra7xx_l3_main_1__gpmc = {
.master = &dra7xx_l3_main_1_hwmod,
.slave = &dra7xx_gpmc_hwmod,
.clk = "l3_iclk_div",
- .addr = dra7xx_gpmc_addrs,
.user = OCP_USER_MPU | OCP_USER_SDMA,
};
--
2.6.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm address space from hwmod data
2015-10-15 16:27 [PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm address space from hwmod data Franklin S Cooper Jr
2015-10-15 16:27 ` [PATCH 2/2 v2] ARM: DRA7/335x/437x: hwmod: Remove gpmc " Franklin S Cooper Jr
@ 2015-10-16 7:51 ` Roger Quadros
2015-10-20 7:36 ` Paul Walmsley
2015-10-23 19:00 ` Paul Walmsley
2 siblings, 1 reply; 10+ messages in thread
From: Roger Quadros @ 2015-10-16 7:51 UTC (permalink / raw)
To: linux-arm-kernel
On 15/10/15 19:27, Franklin S Cooper Jr wrote:
> ELM address information is provided by device tree. No longer need
> to include this information within hwmod.
>
> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Acked-by: Roger Quadros <rogerq@ti.com>
--
cheers,
-roger
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 2/2 v2] ARM: DRA7/335x/437x: hwmod: Remove gpmc address space from hwmod data
2015-10-15 16:27 ` [PATCH 2/2 v2] ARM: DRA7/335x/437x: hwmod: Remove gpmc " Franklin S Cooper Jr
@ 2015-10-16 7:52 ` Roger Quadros
2015-10-20 7:36 ` Paul Walmsley
2015-10-23 19:01 ` Paul Walmsley
1 sibling, 1 reply; 10+ messages in thread
From: Roger Quadros @ 2015-10-16 7:52 UTC (permalink / raw)
To: linux-arm-kernel
On 15/10/15 19:27, Franklin S Cooper Jr wrote:
> GPMC address information is provided by device tree. No longer need
> to include this information within hwmod.
>
> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Acked-by: Roger Quadros <rogerq@ti.com>
--
cheers,
-roger
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm address space from hwmod data
2015-10-16 7:51 ` [PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm " Roger Quadros
@ 2015-10-20 7:36 ` Paul Walmsley
0 siblings, 0 replies; 10+ messages in thread
From: Paul Walmsley @ 2015-10-20 7:36 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 16 Oct 2015, Roger Quadros wrote:
> On 15/10/15 19:27, Franklin S Cooper Jr wrote:
> > ELM address information is provided by device tree. No longer need
> > to include this information within hwmod.
> >
> > Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
>
> Acked-by: Roger Quadros <rogerq@ti.com>
Thanks, queued.
- Paul
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 2/2 v2] ARM: DRA7/335x/437x: hwmod: Remove gpmc address space from hwmod data
2015-10-16 7:52 ` Roger Quadros
@ 2015-10-20 7:36 ` Paul Walmsley
0 siblings, 0 replies; 10+ messages in thread
From: Paul Walmsley @ 2015-10-20 7:36 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 16 Oct 2015, Roger Quadros wrote:
> On 15/10/15 19:27, Franklin S Cooper Jr wrote:
> > GPMC address information is provided by device tree. No longer need
> > to include this information within hwmod.
> >
> > Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
>
> Acked-by: Roger Quadros <rogerq@ti.com>
Thanks, queued.
- Paul
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm address space from hwmod data
2015-10-15 16:27 [PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm address space from hwmod data Franklin S Cooper Jr
2015-10-15 16:27 ` [PATCH 2/2 v2] ARM: DRA7/335x/437x: hwmod: Remove gpmc " Franklin S Cooper Jr
2015-10-16 7:51 ` [PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm " Roger Quadros
@ 2015-10-23 19:00 ` Paul Walmsley
2015-10-26 14:50 ` Franklin S Cooper Jr.
2 siblings, 1 reply; 10+ messages in thread
From: Paul Walmsley @ 2015-10-23 19:00 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, 15 Oct 2015, Franklin S Cooper Jr wrote:
> ELM address information is provided by device tree. No longer need
> to include this information within hwmod.
>
> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
The OMAP4 DTS files don't have the ELM address space declared. I'm going
to drop that portion of your patch. Could you please send a two-patch
series that first adds the ELM address space to the OMAP4 DTS file and
then subsequently drops it from the OMAP4 hwmod data file?
- Paul
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 2/2 v2] ARM: DRA7/335x/437x: hwmod: Remove gpmc address space from hwmod data
2015-10-15 16:27 ` [PATCH 2/2 v2] ARM: DRA7/335x/437x: hwmod: Remove gpmc " Franklin S Cooper Jr
2015-10-16 7:52 ` Roger Quadros
@ 2015-10-23 19:01 ` Paul Walmsley
1 sibling, 0 replies; 10+ messages in thread
From: Paul Walmsley @ 2015-10-23 19:01 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, 15 Oct 2015, Franklin S Cooper Jr wrote:
> GPMC address information is provided by device tree. No longer need
> to include this information within hwmod.
>
> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Thanks, queued.
- Paul
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm address space from hwmod data
2015-10-23 19:00 ` Paul Walmsley
@ 2015-10-26 14:50 ` Franklin S Cooper Jr.
2015-10-26 17:06 ` Paul Walmsley
0 siblings, 1 reply; 10+ messages in thread
From: Franklin S Cooper Jr. @ 2015-10-26 14:50 UTC (permalink / raw)
To: linux-arm-kernel
On 10/23/2015 02:00 PM, Paul Walmsley wrote:
> On Thu, 15 Oct 2015, Franklin S Cooper Jr wrote:
>
>> ELM address information is provided by device tree. No longer need
>> to include this information within hwmod.
>>
>> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
> The OMAP4 DTS files don't have the ELM address space declared. I'm going
> to drop that portion of your patch. Could you please send a two-patch
> series that first adds the ELM address space to the OMAP4 DTS file and
> then subsequently drops it from the OMAP4 hwmod data file?
Hi Paul,
Sorry about that. I can create the patches but I don't see any board omap4
board that has nand support. So I'm not going to be able to test to insure if
omap_elm.c will work as is.
Should I just drop omap4 from this patchset or should I just add the elm node
to omap4.dtsi and if people report an issue with omap_elm then we can fix it?
>
>
> - Paul
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm address space from hwmod data
2015-10-26 14:50 ` Franklin S Cooper Jr.
@ 2015-10-26 17:06 ` Paul Walmsley
0 siblings, 0 replies; 10+ messages in thread
From: Paul Walmsley @ 2015-10-26 17:06 UTC (permalink / raw)
To: linux-arm-kernel
Hi Franklin,
On Mon, 26 Oct 2015, Franklin S Cooper Jr. wrote:
> On 10/23/2015 02:00 PM, Paul Walmsley wrote:
> > On Thu, 15 Oct 2015, Franklin S Cooper Jr wrote:
> >
> >> ELM address information is provided by device tree. No longer need
> >> to include this information within hwmod.
> >>
> >> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
> > The OMAP4 DTS files don't have the ELM address space declared. I'm going
> > to drop that portion of your patch. Could you please send a two-patch
> > series that first adds the ELM address space to the OMAP4 DTS file and
> > then subsequently drops it from the OMAP4 hwmod data file?
> Hi Paul,
>
> Sorry about that. I can create the patches but I don't see any board omap4
> board that has nand support. So I'm not going to be able to test to insure if
> omap_elm.c will work as is.
>
> Should I just drop omap4 from this patchset or should I just add the elm node
> to omap4.dtsi and if people report an issue with omap_elm then we can fix it?
Please write the OMAP4 patches since we're trying to get the data cleaned
up. You don't need to worry about the DRA7/335x/437x platforms; those
patches have already been merged. The ELM hwmod should be initialized
even on boards without NAND, so that should be a reasonable test of the
register address space, at least. Please note in the patch description
whether your patches are untested, tested just to initialize/boot, or
whether they've been tested on an active NAND flash workload.
thanks
- Paul
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-10-26 17:06 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-15 16:27 [PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm address space from hwmod data Franklin S Cooper Jr
2015-10-15 16:27 ` [PATCH 2/2 v2] ARM: DRA7/335x/437x: hwmod: Remove gpmc " Franklin S Cooper Jr
2015-10-16 7:52 ` Roger Quadros
2015-10-20 7:36 ` Paul Walmsley
2015-10-23 19:01 ` Paul Walmsley
2015-10-16 7:51 ` [PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm " Roger Quadros
2015-10-20 7:36 ` Paul Walmsley
2015-10-23 19:00 ` Paul Walmsley
2015-10-26 14:50 ` Franklin S Cooper Jr.
2015-10-26 17:06 ` Paul Walmsley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).