>>-----Original Message----- >>From: Kevin Hilman [mailto:khilman@xxxxxxxxxxxxxxxxxxx] >>Sent: Monday, March 08, 2010 11:16 PM >>To: Gopinath, Thara >>Cc: linux-omap@xxxxxxxxxxxxxxx; paul@xxxxxxxxx; Menon, Nishanth; Sripathy, Vishwanath; Sawant, Anand; >>Cousson, Benoit >>Subject: Re: [PATCH 2/3] OMAP3: PM: Smartreflex IP update changes for OMAP3630 >> >>Thara Gopinath <thara@xxxxxx> writes: >> >>> OMAP3430 uses the 65nm version of the smartreflex IP where as >>> OMAP3630 and OMAP4430 uses the 45nm updated IP. >>> >>> This patch adds support for the updated smartreflex IP used >>> in OMAP3630 and OMAP4 in the smartreflex driver. >>> >>> Major changes between the two versions of IP involve: >>> 1. Change in offset position for ERRCONFIG and SENERROR registers >>> 2. Change in bit positions for VP bound interrupt enable and status >>> in ERRCONFIG register. >>> 3. Change in bit positions and width of SENNENABLE and SENPENABLE >>> bits in SRCONFIG registers. >>> 4. Introduction of separate irq registers for MCU bound interrupts. >>> 5. Removal of clockactivity bits in ERRCONFIG and introduction of >>> idlemode and wakeupenable bits in ERRCONFIG. >>> >>> Signed-off-by: Thara Gopinath <thara@xxxxxx> >>> --- >>> arch/arm/mach-omap2/smartreflex.c | 218 ++++++++++++++++++++++++++++--------- >>> arch/arm/mach-omap2/smartreflex.h | 51 +++++++-- >>> 2 files changed, 208 insertions(+), 61 deletions(-) >>> >>> diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c >>> index 7aa84ab..2b1c529 100644 >>> --- a/arch/arm/mach-omap2/smartreflex.c >>> +++ b/arch/arm/mach-omap2/smartreflex.c >>> @@ -58,6 +58,18 @@ static struct omap_smartreflex_class_data *sr_class; >>> >>> #define SR_REGADDR(offs) (sr->srbase_addr + offset) >>> >>> +static inline int sr_type(void) >>> +{ >>> + if (cpu_is_omap3630()) >> >>what about OMAP4? Hi Kevin, OMAP4 support will be added as a different patch once these preliminary patches get accepted. Regards Thara -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html