From: Samuel Ortiz <sameo@linux.intel.com>
To: "Krishnamoorthy, Balaji T" <balajitk@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"tony@atomide.com" <tony@atomide.com>,
"khilman@deeprootsystems.com" <khilman@deeprootsystems.com>,
"david-b@pacbell.net" <david-b@pacbell.net>,
"Shilimkar, Santosh" <santosh.shilimkar@ti.com>,
"Nayak, Rajendra" <rnayak@ti.com>,
"sameo@openedhand.com" <sameo@openedhand.com>,
"wim@iguana.be" <wim@iguana.be>,
"timo.t.kokkonen@nokia.com" <timo.t.kokkonen@nokia.com>,
"ben-linux@fluff.org" <ben-linux@fluff.org>,
"broonie@opensource.wolfsonmicro.com"
<broonie@opensource.wolfsonmicro.com>,
"lrg@slimlogic.co.uk" <lrg@slimlogic.co.uk>,
"me@felipebalbi.com" <me@felipebalbi.com>
Subject: Re: [RFC][PATCH 0/4] TWL6030 patch series
Date: Mon, 17 Aug 2009 11:14:54 +0200 [thread overview]
Message-ID: <20090817091453.GB3228@sortiz.org> (raw)
In-Reply-To: <19F8576C6E063C45BE387C64729E73940432B7A87B@dbde02.ent.ti.com>
On Mon, Aug 17, 2009 at 10:46:55AM +0530, Krishnamoorthy, Balaji T wrote:
> > -----Original Message-----
> > From: Samuel Ortiz [mailto:sameo@linux.intel.com]
> > Sent: Monday, August 17, 2009 5:30 AM
> > To: Krishnamoorthy, Balaji T
> > Cc: linux-omap@vger.kernel.org; tony@atomide.com; khilman@deeprootsystems.com;
> > david-b@pacbell.net; Shilimkar, Santosh; Nayak, Rajendra;
> > sameo@openedhand.com; wim@iguana.be; timo.t.kokkonen@nokia.com; ben-
> > linux@fluff.org; broonie@opensource.wolfsonmicro.com; lrg@slimlogic.co.uk;
> > me@felipebalbi.com
> > Subject: Re: [RFC][PATCH 0/4] TWL6030 patch series
> >
> > Hi Balaji,
> >
> > On Tue, Aug 11, 2009 at 06:30:24PM +0530, Krishnamoorthy, Balaji T wrote:
> > > Hi All,
> > >
> > > Can I have your comments on this so that I can rebase the patch for the
> > upcoming merge window.
> > >
> > I looked at the mfd related files, from patchwork.kernel.org.
> > A few comments:
> >
> > * Besides making it look nicer, is there any other reason to change the
> > twl4030-core.c name ?
> twl-core.c will have common code. twl4030-irq.c will have code specific for
> "TWL4030 family" and twl6030-irq.c will have specific code for TWL6030
> family.
Ok, I'm fine with renaming then.
> This is to make code easily readable and it wont be misleading.
> > * You should also change drivers/mfd/Kconfig to reflect the more generic twl
> > support.
> >
> Added TWL6030 family to it,
> tps659x0 can be added if needed.
It's up to you. Your Kconfig entry should be exhaustive as far as supported HW
goes.
> > * in drivers/mfd/twl-core.c:
> > - status = twl_init_irq(client->irq, pdata->irq_base, pdata-
> > >irq_end);
> > + status = twl_init_irq(client->irq, pdata->irq_base,
> > + pdata->irq_end);
> >
> > Please remove it as it's unrelated to this patchset.
> >
> Ok
> > * Same for the
> > - ( (devgrp) << 13 | 1 << 12 | (grp) << 9 | (type2) << 7 \
> > + ((devgrp) << 13 | 1 << 12 | (grp) << 9 | (type2) << 7 \
> >
> > lines from include/linux/i2c/twl4030.h
> >
> Ok
> > * Why are you moving twl_init_irq and twl_exit_irq to twl.h ?
> >
> twl_init_irq and twl_exit_irq is defined in twl4030-irq.c and called from
> twl-core.c. Earlier twl4030-core.c had declaration too.
You're now exporting those 2 routines from a include/linux/ header, and I
still dont understand why.
Cheers,
Samuel.
> > Cheers,
> > Samuel.
> >
> >
> > > Thanks and Regards,
> > > Balaji T K
> > > > -----Original Message-----
> > > > From: Krishnamoorthy, Balaji T
> > > > Sent: Thursday, August 06, 2009 2:28 PM
> > > > To: sameo@linux.intel.com
> > > > Cc: linux-omap@vger.kernel.org; tony@atomide.com;
> > khilman@deeprootsystems.com;
> > > > david-b@pacbell.net; Shilimkar, Santosh; Nayak, Rajendra;
> > > > sameo@openedhand.com; wim@iguana.be; timo.t.kokkonen@nokia.com; ben-
> > > > linux@fluff.org; broonie@opensource.wolfsonmicro.com; lrg@slimlogic.co.uk;
> > > > Krishnamoorthy, Balaji T
> > > > Subject: RE: [RFC][PATCH 0/4] TWL6030 patch series
> > > >
> > > > Hi Samuel,
> > > >
> > > > Could you please add your comments on the following patch series.
> > > >
> > > > series 1
> > > > [PATCH 1/4] ARM: OMAP: Rename twl4030* driver files to enable re-use
> > > > [PATCH 2/4] ARM: OMAP: Rename all twl4030_i2c*.
> > > > [PATCH 3/4] ARM: OMAP: Rename twl4030_ in rtc-twl.c to make it generic rtc
> > > > [PATCH 4/4] ARM: OMAP: Rename twl4030_ to twl_ in twl-regulator.c to make
> > it
> > > > generic reg
> > > >
> > > > series 2 dependent on series 1
> > > > [RFC][PATCH v2 4/4] OMAP4: PMIC: Update TWL mfd driver to create twl6030
> > > > regulators
> > > > [RFC][PATCH v2 3/4] OMAP4: PMIC: Add support for twl6030 regulators
> > > > [RFC][PATCH v2 2/4] OMAP4: PMIC: Add support for twl6030 RTC
> > > > [RFC][PATCH v2 1/4] OMAP4: PMIC: Add support for twl6030 irq framework
> > > >
> > > > Thanks and Regards,
> > > > Balaji T K
> > > >
> > > > > -----Original Message-----
> > > > > From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> > > > > owner@vger.kernel.org] On Behalf Of Krishnamoorthy, Balaji T
> > > > > Sent: Monday, July 20, 2009 7:04 PM
> > > > > To: linux-kernel@vger.kernel.org
> > > > > Cc: linux-i2c@vger.kernel.org; linux-omap@vger.kernel.org;
> > tony@atomide.com;
> > > > > khilman@deeprootsystems.com; david-b@pacbell.net; Shilimkar, Santosh;
> > Nayak,
> > > > > Rajendra; sameo@openedhand.com; wim@iguana.be;
> > timo.t.kokkonen@nokia.com;
> > > > ben-
> > > > > linux@fluff.org; broonie@opensource.wolfsonmicro.com;
> > lrg@slimlogic.co.uk
> > > > > Subject: [RFC][PATCH 0/4] TWL6030 patch series
> > > > >
> > > > > The upcoming TWL6030 is companion chip for OMAP4 like the current
> > TWL4030
> > > > > for OMAP3. This patch series adds support for TWL6030 irq framework, and
> > > > > driver support for RTC and regulator.
> > > > >
> > > > > drivers/mfd/twl6030-irq.c files is newly added as INTERRUPT
> > status
> > > > > registers, ack and clear mechanism has changed from
> > twl4030,5030.
> > > > > drivers/rtc/rtc-twl.c will support twl4030,twl5030, and also
> > twl6030 rtc
> > > > > drivers/regulator/twl-regulator.c will support twl regulators.
> > > > > include/linux/i2c/twl.h will have TWL4030 and TWL6030 offsets
> > selected
> > > > > at compile time by CONFIG_TWL4030_CORE / CONFIG_TWL6030_CORE
> > > > >
> > > > > These patches are generated against mainline 2.6.31-rc1 and has
> > dependancy
> > > > on
> > > > > my 1st series[1].
> > > > > Patch list:
> > > > > [RFC][PATCH 1/4] OMAP4: PMIC: Add support for twl6030 irq
> > framework
> > > > > [RFC][PATCH 2/4] OMAP4: PMIC: Add support for twl6030 RTC
> > > > > [RFC][PATCH 3/4] OMAP4: PMIC: Add support for twl6030 regulators
> > > > > [RFC][PATCH 4/4] OMAP4: PMIC: Update TWL mfd driver to create
> > twl6030
> > > > > regulators
> > > > >
> > > > > Needed board-* changes and defconfig changes will be done later.Please
> > let
> > > > me
> > > > > know your feedback/suggestion on this patch series.
> > > > >
> > > > > Thanks and Regards,
> > > > > Balaji T K
> > > > > [1] http://marc.info/?l=linux-omap&m=124757921417187&w=2
> > > > > [PATCH 0/4] TWL patch series
> > > > > --
> > > > > To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> > > > > the body of a message to majordomo@vger.kernel.org
> > > > > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > >
> >
> > --
> > Intel Open Source Technology Centre
> > http://oss.intel.com/
>
--
Intel Open Source Technology Centre
http://oss.intel.com/
next prev parent reply other threads:[~2009-08-17 9:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-20 13:34 [RFC][PATCH 0/4] TWL6030 patch series Krishnamoorthy, Balaji T
2009-08-06 8:58 ` Krishnamoorthy, Balaji T
2009-08-11 13:00 ` Krishnamoorthy, Balaji T
2009-08-17 0:00 ` Samuel Ortiz
2009-08-17 5:16 ` Krishnamoorthy, Balaji T
2009-08-17 9:14 ` Samuel Ortiz [this message]
2009-08-17 9:42 ` Krishnamoorthy, Balaji T
-- strict thread matches above, loose matches on Subject: below --
2009-07-20 11:59 Krishnamoorthy, Balaji T
2009-07-20 12:11 ` Felipe Balbi
2009-07-20 12:15 ` Mark Brown
2009-07-20 13:00 ` Krishnamoorthy, Balaji T
2009-07-24 4:16 ` Shilimkar, Santosh
2009-07-24 9:20 ` Mark Brown
2009-08-03 6:15 ` Shilimkar, Santosh
2009-08-03 14:25 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090817091453.GB3228@sortiz.org \
--to=sameo@linux.intel.com \
--cc=balajitk@ti.com \
--cc=ben-linux@fluff.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=david-b@pacbell.net \
--cc=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
--cc=lrg@slimlogic.co.uk \
--cc=me@felipebalbi.com \
--cc=rnayak@ti.com \
--cc=sameo@openedhand.com \
--cc=santosh.shilimkar@ti.com \
--cc=timo.t.kokkonen@nokia.com \
--cc=tony@atomide.com \
--cc=wim@iguana.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.