From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Ortiz Subject: Re: [PATCH] twl6030: add base addr for ID0, ID1, ID2 Date: Fri, 19 Feb 2010 13:14:06 +0100 Message-ID: <20100219121405.GH10255@sortiz.org> References: <1266512419-22566-1-git-send-email-balajitk@ti.com> <19F8576C6E063C45BE387C64729E7394044D71B3E9@dbde02.ent.ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga05.intel.com ([192.55.52.89]:29235 "EHLO fmsmga101.fm.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750945Ab0BSMMt (ORCPT ); Fri, 19 Feb 2010 07:12:49 -0500 Content-Disposition: inline In-Reply-To: <19F8576C6E063C45BE387C64729E7394044D71B3E9@dbde02.ent.ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: "Krishnamoorthy, Balaji T" Cc: "linux-omap@vger.kernel.org" , "tony@atomide.com" , "Shilimkar, Santosh" On Thu, Feb 18, 2010 at 10:35:11PM +0530, Krishnamoorthy, Balaji T wrote: > Sending this as a separate patch which was earlier combined with the series http://marc.info/?l=linux-omap&m=126633460408606&w=2 > And it's been applied to my for-next branch, thanks. Cheers, Samuel. > > -----Original Message----- > > From: Krishnamoorthy, Balaji T > > Sent: Thursday, February 18, 2010 10:30 PM > > To: linux-omap@vger.kernel.org; sameo@linux.intel.com > > Cc: tony@atomide.com; Shilimkar, Santosh; Krishnamoorthy, Balaji T > > Subject: [PATCH] twl6030: add base addr for ID0, ID1, ID2 > > > > From: Balaji T K > > > > Add base address for generic slave ID0, ID1, ID2 > > and introduced one more entry to align RTC module number between > > twl4030 and twl6030 > > > > Signed-off-by: Balaji T K > > --- > > drivers/mfd/twl-core.c | 7 +++++-- > > include/linux/i2c/twl.h | 5 +++++ > > 2 files changed, 10 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c > > index 2a76065..d820e87 100644 > > --- a/drivers/mfd/twl-core.c > > +++ b/drivers/mfd/twl-core.c > > @@ -204,6 +204,7 @@ > > /* subchip/slave 3 0x4B - AUDIO */ > > #define TWL6030_BASEADD_AUDIO 0x0000 > > #define TWL6030_BASEADD_RSV 0x0000 > > +#define TWL6030_BASEADD_ZERO 0x0000 > > > > /* Few power values */ > > #define R_CFG_BOOT 0x05 > > @@ -319,9 +320,11 @@ static struct twl_mapping twl6030_map[] = { > > { SUB_CHIP_ID1, TWL6030_BASEADD_CHARGER }, > > { SUB_CHIP_ID1, TWL6030_BASEADD_GASGAUGE }, > > { SUB_CHIP_ID1, TWL6030_BASEADD_PWM }, > > - { SUB_CHIP_ID2, TWL6030_BASEADD_RSV }, > > - { SUB_CHIP_ID2, TWL6030_BASEADD_RSV }, > > + { SUB_CHIP_ID0, TWL6030_BASEADD_ZERO }, > > + { SUB_CHIP_ID1, TWL6030_BASEADD_ZERO }, > > > > + { SUB_CHIP_ID2, TWL6030_BASEADD_ZERO }, > > + { SUB_CHIP_ID2, TWL6030_BASEADD_ZERO }, > > { SUB_CHIP_ID2, TWL6030_BASEADD_RSV }, > > { SUB_CHIP_ID2, TWL6030_BASEADD_RSV }, > > { SUB_CHIP_ID2, TWL6030_BASEADD_RSV }, > > diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h > > index bf1c5be..fcf9286 100644 > > --- a/include/linux/i2c/twl.h > > +++ b/include/linux/i2c/twl.h > > @@ -80,6 +80,11 @@ > > #define TWL_MODULE_PM_MASTER TWL4030_MODULE_PM_MASTER > > #define TWL_MODULE_PM_RECEIVER TWL4030_MODULE_PM_RECEIVER > > #define TWL_MODULE_RTC TWL4030_MODULE_RTC > > +#define TWL_MODULE_PWM TWL4030_MODULE_PWM0 > > + > > +#define TWL6030_MODULE_ID0 0x0D > > +#define TWL6030_MODULE_ID1 0x0E > > +#define TWL6030_MODULE_ID2 0x0F > > > > #define GPIO_INTR_OFFSET 0 > > #define KEYPAD_INTR_OFFSET 1 > > -- > > 1.6.0.4 > -- Intel Open Source Technology Centre http://oss.intel.com/