linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] mc13783 cleanup
@ 2011-08-24 13:27 Uwe Kleine-König
       [not found] ` <1314192505-23499-1-git-send-email-u.kleine-koenig@pengutronix.de>
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Uwe Kleine-König @ 2011-08-24 13:27 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

this series removes the long obsolte mc13783 API after fixing all
remaining users.

The patches touch many subsystems and have some interdependencies:

 - patches 3 and 5 depend on patch 2
 - patch 6 depends on patches 1-5

So we have to think about how to merge them when everyone is OK that
they are merged.

Best regards
Uwe

The following changes since commit 14c62e78dc1379185515be41903c4a667efc6d54:

  Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip (2011-08-23 18:09:08 -0700)

are available in the git repository at:

  git://git.pengutronix.de/git/ukl/linux-2.6.git mc13xxx

David Jander (1):
      led/mc13783: convert to mc13xxx MFD

Uwe Kleine-K?nig (5):
      mfd/mc13xxx: provide a generic version of adc_do_conversion
      input/mc13783-ts: convert to mc13xxx API
      ARM: imx: use mc13xxx constants instead of mc13783
      hwmon/mc13783-adc: convert to mc13xxx API
      mfd/mc13xxx: remove mc13783 API functions and symbols

 arch/arm/mach-imx/mach-mx27_3ds.c      |    4 +-
 arch/arm/mach-imx/mach-mx31_3ds.c      |    2 +-
 arch/arm/mach-imx/mach-pcm038.c        |    4 +-
 drivers/hwmon/mc13783-adc.c            |   12 ++--
 drivers/input/touchscreen/mc13783_ts.c |   34 +++++-----
 drivers/leds/leds-mc13783.c            |   52 ++++++++--------
 drivers/mfd/mc13xxx-core.c             |   97 ++++++++++++----------------
 include/linux/mfd/mc13783.h            |  111 --------------------------------
 include/linux/mfd/mc13xxx.h            |   19 ++++++
 9 files changed, 115 insertions(+), 220 deletions(-)

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 4/6] ARM: imx: use mc13xxx constants instead of mc13783
       [not found] ` <1314192505-23499-1-git-send-email-u.kleine-koenig@pengutronix.de>
@ 2011-08-24 13:28   ` Uwe Kleine-König
  0 siblings, 0 replies; 9+ messages in thread
From: Uwe Kleine-König @ 2011-08-24 13:28 UTC (permalink / raw)
  To: linux-arm-kernel

The latter constants are going to be removed in favour of the former

Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
---
 arch/arm/mach-imx/mach-mx27_3ds.c |    4 ++--
 arch/arm/mach-imx/mach-mx31_3ds.c |    2 +-
 arch/arm/mach-imx/mach-pcm038.c   |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c
index 6fa6934..3856855 100644
--- a/arch/arm/mach-imx/mach-mx27_3ds.c
+++ b/arch/arm/mach-imx/mach-mx27_3ds.c
@@ -293,8 +293,8 @@ static struct mc13xxx_platform_data mc13783_pdata = {
 		.num_regulators = ARRAY_SIZE(mx27_3ds_regulators),
 
 	},
-	.flags  = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN |
-	MC13783_USE_RTC,
+	.flags  = MC13XXX_USE_REGULATOR | MC13XXX_USE_TOUCHSCREEN |
+		MC13XXX_USE_RTC,
 };
 
 /* SPI */
diff --git a/arch/arm/mach-imx/mach-mx31_3ds.c b/arch/arm/mach-imx/mach-mx31_3ds.c
index c20be75..aa2ebe6 100644
--- a/arch/arm/mach-imx/mach-mx31_3ds.c
+++ b/arch/arm/mach-imx/mach-mx31_3ds.c
@@ -494,7 +494,7 @@ static struct mc13xxx_platform_data mc13783_pdata = {
 		.regulators = mx31_3ds_regulators,
 		.num_regulators = ARRAY_SIZE(mx31_3ds_regulators),
 	},
-	.flags  = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN,
+	.flags  = MC13XXX_USE_REGULATOR | MC13XXX_USE_TOUCHSCREEN,
 };
 
 /* SPI */
diff --git a/arch/arm/mach-imx/mach-pcm038.c b/arch/arm/mach-imx/mach-pcm038.c
index 2d6a64b..d033774 100644
--- a/arch/arm/mach-imx/mach-pcm038.c
+++ b/arch/arm/mach-imx/mach-pcm038.c
@@ -266,8 +266,8 @@ static struct mc13xxx_platform_data pcm038_pmic = {
 		.regulators = pcm038_regulators,
 		.num_regulators = ARRAY_SIZE(pcm038_regulators),
 	},
-	.flags = MC13783_USE_ADC | MC13783_USE_REGULATOR |
-		 MC13783_USE_TOUCHSCREEN,
+	.flags = MC13XXX_USE_ADC | MC13XXX_USE_REGULATOR |
+		 MC13XXX_USE_TOUCHSCREEN,
 };
 
 static struct spi_board_info pcm038_spi_board_info[] __initdata = {
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 0/6] mc13783 cleanup
  2011-08-24 13:27 [PATCH 0/6] mc13783 cleanup Uwe Kleine-König
       [not found] ` <1314192505-23499-1-git-send-email-u.kleine-koenig@pengutronix.de>
@ 2011-08-25  7:05 ` Philippe Rétornaz
  2011-08-25  7:57   ` Uwe Kleine-König
  2011-09-15 15:12   ` Samuel Ortiz
  2011-09-15 15:10 ` Samuel Ortiz
  2 siblings, 2 replies; 9+ messages in thread
From: Philippe Rétornaz @ 2011-08-25  7:05 UTC (permalink / raw)
  To: linux-arm-kernel

Le mercredi 24 ao?t 2011 15:27:40, Uwe Kleine-K?nig a ?crit :
> Hello,
> 
> this series removes the long obsolte mc13783 API after fixing all
> remaining users.

I posted a patch last month which was touching this MFD too.
We will need to synchronize both patch. 

BTW, Sascha, could you give your ack/nack on my patch (mc13783: add pwr button 
support) ? it has been a month without any news from your side. Thanks ! 

Regards,

Philippe

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 0/6] mc13783 cleanup
  2011-08-25  7:05 ` [PATCH 0/6] mc13783 cleanup Philippe Rétornaz
@ 2011-08-25  7:57   ` Uwe Kleine-König
  2011-09-15 15:12   ` Samuel Ortiz
  1 sibling, 0 replies; 9+ messages in thread
From: Uwe Kleine-König @ 2011-08-25  7:57 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Aug 25, 2011 at 09:05:12AM +0200, Philippe R?tornaz wrote:
> Le mercredi 24 ao?t 2011 15:27:40, Uwe Kleine-K?nig a ?crit :
> > Hello,
> > 
> > this series removes the long obsolte mc13783 API after fixing all
> > remaining users.
> 
> I posted a patch last month which was touching this MFD too.
> We will need to synchronize both patch. 
Ah right. At one point I remembered your patch set because I wondered
that ..._USE_REGULATOR is still used.

Assuming all involved people are OK with both patch sets I can do the
merge of both patch sets.
 
Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 0/6] mc13783 cleanup
  2011-08-24 13:27 [PATCH 0/6] mc13783 cleanup Uwe Kleine-König
       [not found] ` <1314192505-23499-1-git-send-email-u.kleine-koenig@pengutronix.de>
  2011-08-25  7:05 ` [PATCH 0/6] mc13783 cleanup Philippe Rétornaz
@ 2011-09-15 15:10 ` Samuel Ortiz
  2 siblings, 0 replies; 9+ messages in thread
From: Samuel Ortiz @ 2011-09-15 15:10 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Uwe,

On Wed, Aug 24, 2011 at 03:27:40PM +0200, Uwe Kleine-K?nig wrote:
> Hello,
> 
> this series removes the long obsolte mc13783 API after fixing all
> remaining users.
> 
> The patches touch many subsystems and have some interdependencies:
> 
>  - patches 3 and 5 depend on patch 2
>  - patch 6 depends on patches 1-5
> 
> So we have to think about how to merge them when everyone is OK that
> they are merged.
I am merging them, unless someone objects here.
I have applied all 6 patches now.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 0/6] mc13783 cleanup
  2011-08-25  7:05 ` [PATCH 0/6] mc13783 cleanup Philippe Rétornaz
  2011-08-25  7:57   ` Uwe Kleine-König
@ 2011-09-15 15:12   ` Samuel Ortiz
  2011-09-15 16:03     ` Uwe Kleine-König
  1 sibling, 1 reply; 9+ messages in thread
From: Samuel Ortiz @ 2011-09-15 15:12 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Philippe,

On Thu, Aug 25, 2011 at 09:05:12AM +0200, Philippe R?tornaz wrote:
> Le mercredi 24 ao?t 2011 15:27:40, Uwe Kleine-K?nig a ?crit :
> > Hello,
> > 
> > this series removes the long obsolte mc13783 API after fixing all
> > remaining users.
> 
> I posted a patch last month which was touching this MFD too.
> We will need to synchronize both patch. 
I applied Uwe's patchset now. Could you please sync your code and send me a
patchset that applies on top of:

git://git.infradead.org/users/sameo/mfd-2.6.git for-next

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 0/6] mc13783 cleanup
  2011-09-15 15:12   ` Samuel Ortiz
@ 2011-09-15 16:03     ` Uwe Kleine-König
  2011-09-18 16:33       ` Samuel Ortiz
  0 siblings, 1 reply; 9+ messages in thread
From: Uwe Kleine-König @ 2011-09-15 16:03 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Samuel,

On Thu, Sep 15, 2011 at 05:12:13PM +0200, Samuel Ortiz wrote:
> On Thu, Aug 25, 2011 at 09:05:12AM +0200, Philippe R?tornaz wrote:
> > Le mercredi 24 ao?t 2011 15:27:40, Uwe Kleine-K?nig a ?crit :
> > > Hello,
> > > 
> > > this series removes the long obsolte mc13783 API after fixing all
> > > remaining users.
> > 
> > I posted a patch last month which was touching this MFD too.
> > We will need to synchronize both patch. 
> I applied Uwe's patchset now.
Thanks.

>                               Could you please sync your code and send me a
> patchset that applies on top of:
> 
> git://git.infradead.org/users/sameo/mfd-2.6.git for-next
You can fetch the updated series from

	git://git.pengutronix.de/git/ukl/linux-2.6.git mc13783

I also included the last patch that Sascha commented with:

	Please ping once the rest is merged.

This is OK as I'm currently substituting Sascha for imx maintainer
duties while he is on vacation. Merging the above branch into the
current imx/for-next branch yields a merge conflict in
drivers/rtc/rtc-twl.c which is only touched on your side and in Linus'
tree below imx/for-next.

I guess you can drop 54d96ef785b5 as it is the same as dec35d19c4 +
34d623d.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 0/6] mc13783 cleanup
  2011-09-15 16:03     ` Uwe Kleine-König
@ 2011-09-18 16:33       ` Samuel Ortiz
  2011-09-20  6:52         ` Philippe Rétornaz
  0 siblings, 1 reply; 9+ messages in thread
From: Samuel Ortiz @ 2011-09-18 16:33 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Uwe,

On Thu, Sep 15, 2011 at 06:03:21PM +0200, Uwe Kleine-K?nig wrote:
> Hi Samuel,
> 
> On Thu, Sep 15, 2011 at 05:12:13PM +0200, Samuel Ortiz wrote:
> > On Thu, Aug 25, 2011 at 09:05:12AM +0200, Philippe R?tornaz wrote:
> > > Le mercredi 24 ao?t 2011 15:27:40, Uwe Kleine-K?nig a ?crit :
> > > > Hello,
> > > > 
> > > > this series removes the long obsolte mc13783 API after fixing all
> > > > remaining users.
> > > 
> > > I posted a patch last month which was touching this MFD too.
> > > We will need to synchronize both patch. 
> > I applied Uwe's patchset now.
> Thanks.
> 
> >                               Could you please sync your code and send me a
> > patchset that applies on top of:
> > 
> > git://git.infradead.org/users/sameo/mfd-2.6.git for-next
> You can fetch the updated series from
> 
> 	git://git.pengutronix.de/git/ukl/linux-2.6.git mc13783
I merged this one on top of my for-next branch. My MFD tree temporary lives on
infradead:

git://git.infradead.org/users/sameo/mfd-2.6.git

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 0/6] mc13783 cleanup
  2011-09-18 16:33       ` Samuel Ortiz
@ 2011-09-20  6:52         ` Philippe Rétornaz
  0 siblings, 0 replies; 9+ messages in thread
From: Philippe Rétornaz @ 2011-09-20  6:52 UTC (permalink / raw)
  To: linux-arm-kernel

Hi !

> On Thu, Sep 15, 2011 at 06:03:21PM +0200, Uwe Kleine-K?nig wrote:
> > Hi Samuel,
> > 
> > On Thu, Sep 15, 2011 at 05:12:13PM +0200, Samuel Ortiz wrote:
> > > On Thu, Aug 25, 2011 at 09:05:12AM +0200, Philippe R?tornaz wrote:
> > > > Le mercredi 24 ao?t 2011 15:27:40, Uwe Kleine-K?nig a ?crit :
> > > > > Hello,
> > > > > 
> > > > > this series removes the long obsolte mc13783 API after fixing all
> > > > > remaining users.
> > > > 
> > > > I posted a patch last month which was touching this MFD too.
> > > > We will need to synchronize both patch.
> > > 
> > > I applied Uwe's patchset now.
> > 
> > Thanks.
> > 
> > >                               Could you please sync your code and send
> > >                               me a
> > > 
> > > patchset that applies on top of:
> > > 
> > > git://git.infradead.org/users/sameo/mfd-2.6.git for-next
> > 
> > You can fetch the updated series from
> > 
> > 	git://git.pengutronix.de/git/ukl/linux-2.6.git mc13783
> 
> I merged this one on top of my for-next branch. My MFD tree temporary lives
> on infradead:
> 
> git://git.infradead.org/users/sameo/mfd-2.6.git

Thank you very much to all of you ! 

Regards,

Philippe

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-09-20  6:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-24 13:27 [PATCH 0/6] mc13783 cleanup Uwe Kleine-König
     [not found] ` <1314192505-23499-1-git-send-email-u.kleine-koenig@pengutronix.de>
2011-08-24 13:28   ` [PATCH 4/6] ARM: imx: use mc13xxx constants instead of mc13783 Uwe Kleine-König
2011-08-25  7:05 ` [PATCH 0/6] mc13783 cleanup Philippe Rétornaz
2011-08-25  7:57   ` Uwe Kleine-König
2011-09-15 15:12   ` Samuel Ortiz
2011-09-15 16:03     ` Uwe Kleine-König
2011-09-18 16:33       ` Samuel Ortiz
2011-09-20  6:52         ` Philippe Rétornaz
2011-09-15 15:10 ` Samuel Ortiz

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).