Re: [PATCHv3 1/2] ARM: imx: Add core definitions for MX53
From: Sascha Hauer
Date: Wed Nov 10 2010 - 11:46:46 EST
On Wed, Nov 10, 2010 at 08:51:19AM -0700, Nguyen Dinh-R00091 wrote:
> Hi Sascha,
>
> >-----Original Message-----
> >From: Sascha Hauer [mailto:s.hauer@xxxxxxxxxxxxxx]
> >Sent: Tuesday, November 09, 2010 3:46 PM
> >To: Nguyen Dinh-R00091
> >Cc: linux-kernel@xxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx;
> linux@xxxxxxxxxxxxxxxx;
> >u.kleine-koenig@xxxxxxxxxxxxxx; amit.kucheria@xxxxxxxxxxxxx;
> eric@xxxxxxxxxx
> >Subject: Re: [PATCHv3 1/2] ARM: imx: Add core definitions for MX53
> >
> >Hi Dinh,
> >
> >On Fri, Nov 05, 2010 at 10:55:50AM -0500, Dinh.Nguyen@xxxxxxxxxxxxx
> wrote:
> >> From: Dinh Nguyen <Dinh.Nguyen@xxxxxxxxxxxxx>
> >>
> >> Add iomux, clocks, and memory map for Freescale's MX53 SoC.
> >> Add cpu_is_mx53 function to common.h.
> >> Add 3 more banks of gpio's to mxc_gpio_ports.
> >> Add MX53 phys offset address.
> >>
> >> Signed-off-by: Dinh Nguyen <Dinh.Nguyen@xxxxxxxxxxxxx>
> >> ---
> >> arch/arm/mach-mx5/clock-mx53.c | 857
> +++++++++++++++++++++++++++
> >> arch/arm/mach-mx5/devices.c | 27 +
> >> arch/arm/plat-mxc/include/mach/common.h | 4 +
> >> arch/arm/plat-mxc/include/mach/iomux-mx53.h | 303 ++++++++++
> >> arch/arm/plat-mxc/include/mach/memory.h | 1 +
> >> arch/arm/plat-mxc/include/mach/mx53.h | 406 +++++++++++++
> >> 6 files changed, 1598 insertions(+), 0 deletions(-)
> >> create mode 100644 arch/arm/mach-mx5/clock-mx53.c
> >> create mode 100644 arch/arm/plat-mxc/include/mach/iomux-mx53.h
> >> create mode 100644 arch/arm/plat-mxc/include/mach/mx53.h
> >>
> >> diff --git a/arch/arm/mach-mx5/clock-mx53.c
> b/arch/arm/mach-mx5/clock-mx53.c
> >> new file mode 100644
> >> index 0000000..d547cb8
> >> --- /dev/null
> >> +++ b/arch/arm/mach-mx5/clock-mx53.c
> >
> >Most of this code looks like it could be shared with clock-mx51.c
>
> Agreed, but I was unsure how to proceed with adding clock code for mx53.
> Should I merge mx53 clock code into clock-mx51 and rename clock-mx51?
Yes, to something like clock-mx51-mx53.c
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/