public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] Ux500 PRCMU into MFD and update deps
@ 2011-05-06 13:04 Linus Walleij
  2011-05-11 12:39 ` Linus Walleij
  0 siblings, 1 reply; 4+ messages in thread
From: Linus Walleij @ 2011-05-06 13:04 UTC (permalink / raw)
  To: Samuel Ortiz, linux-kernel; +Cc: Lee Jones, Linus Walleij

From: Linus Walleij <linus.walleij@linaro.org>

This moves the DB8500 PRCMU driver from the arch/arm/mach-ux500/
dir to MFD, updates it, adds the missing DB5500 PRCMU driver,
updates some dependent register files etc, and also updates the
CPUfreq driver that use the PRCMU and moves it to drivers/cpufreq
as discussed recently.

I will attempt to slim this down a bit, mainly the set is a
review point for the MFD maintainer to check out if the PRCMU
driver fits within MFD.

We cannot avoid doing some updates to the mach-ux500/* files in
the process, but I think this turns out on the positive side
anyway, removing some 500+ lines from arch/arm/*.

Bengt Jonsson (1):
  mach-ux500: voltage domain regulators for DB8500

Linus Walleij (8):
  mach-ux500: update the DB8500 register file
  mach-ux500: update the DB5500 register file
  mach-ux500: update ASIC version detection
  mach-ux500: rename PRCMU driver per SoC
  mach-ux500: make PRCMU base address dynamic
  mfd: move DB8500 PRCMU driver to the MFD subsystem
  mfd: add DB5500 PRCMU driver
  mach-ux500: update and move cpufreq driver

Rabin Vincent (1):
  mach-ux500: update SoC and board IRQ handling

 arch/arm/mach-ux500/Kconfig                        |    3 +
 arch/arm/mach-ux500/Makefile                       |    4 +-
 arch/arm/mach-ux500/cpu-db5500.c                   |    2 +
 arch/arm/mach-ux500/cpu-db8500.c                   |    7 +
 arch/arm/mach-ux500/cpu.c                          |    7 +-
 arch/arm/mach-ux500/cpufreq.c                      |  211 --
 arch/arm/mach-ux500/include/mach/db5500-regs.h     |   20 +-
 arch/arm/mach-ux500/include/mach/db8500-regs.h     |   37 +-
 arch/arm/mach-ux500/include/mach/hardware.h        |    1 +
 arch/arm/mach-ux500/include/mach/id.h              |   20 +
 .../mach-ux500/include/mach/irqs-board-mop500.h    |    5 +
 .../arm/mach-ux500/include/mach/irqs-board-u5500.h |   21 +
 arch/arm/mach-ux500/include/mach/irqs-db5500.h     |   27 +
 arch/arm/mach-ux500/include/mach/irqs-db8500.h     |   54 +
 arch/arm/mach-ux500/include/mach/irqs.h            |   46 +-
 arch/arm/mach-ux500/include/mach/prcmu-defs.h      |   30 -
 arch/arm/mach-ux500/include/mach/prcmu.h           |   28 -
 arch/arm/mach-ux500/prcmu.c                        |  394 ----
 drivers/cpufreq/Makefile                           |    1 +
 drivers/cpufreq/db8500-cpufreq.c                   |  169 ++
 drivers/mfd/Kconfig                                |   22 +-
 drivers/mfd/Makefile                               |    5 +-
 drivers/mfd/ab8500-i2c.c                           |    3 +-
 .../mfd/db5500-prcmu-regs.h                        |   27 +-
 drivers/mfd/db5500-prcmu.c                         |  448 +++++
 drivers/mfd/db8500-prcmu-regs.h                    |  162 ++
 drivers/mfd/db8500-prcmu.c                         | 2065 ++++++++++++++++++++
 drivers/regulator/Kconfig                          |    7 +
 drivers/regulator/Makefile                         |    1 +
 drivers/regulator/db8500-prcmu.c                   |  560 ++++++
 include/linux/mfd/db5500-prcmu.h                   |   45 +
 include/linux/mfd/db8500-prcmu.h                   |  978 +++++++++
 include/linux/regulator/db8500-prcmu.h             |   45 +
 33 files changed, 4748 insertions(+), 707 deletions(-)
 delete mode 100644 arch/arm/mach-ux500/cpufreq.c
 create mode 100644 arch/arm/mach-ux500/include/mach/irqs-board-u5500.h
 delete mode 100644 arch/arm/mach-ux500/include/mach/prcmu-defs.h
 delete mode 100644 arch/arm/mach-ux500/include/mach/prcmu.h
 delete mode 100644 arch/arm/mach-ux500/prcmu.c
 create mode 100644 drivers/cpufreq/db8500-cpufreq.c
 rename arch/arm/mach-ux500/include/mach/prcmu-regs.h => drivers/mfd/db5500-prcmu-regs.h (80%)
 create mode 100644 drivers/mfd/db5500-prcmu.c
 create mode 100644 drivers/mfd/db8500-prcmu-regs.h
 create mode 100644 drivers/mfd/db8500-prcmu.c
 create mode 100644 drivers/regulator/db8500-prcmu.c
 create mode 100644 include/linux/mfd/db5500-prcmu.h
 create mode 100644 include/linux/mfd/db8500-prcmu.h
 create mode 100644 include/linux/regulator/db8500-prcmu.h

-- 
1.7.3.2


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

* Re: [PATCH 00/10] Ux500 PRCMU into MFD and update deps
  2011-05-06 13:04 [PATCH 00/10] Ux500 PRCMU into MFD and update deps Linus Walleij
@ 2011-05-11 12:39 ` Linus Walleij
  2011-05-11 14:41   ` Samuel Ortiz
  0 siblings, 1 reply; 4+ messages in thread
From: Linus Walleij @ 2011-05-11 12:39 UTC (permalink / raw)
  To: Samuel Ortiz, linux-kernel

2011/5/6 Linus Walleij <linus.walleij@stericsson.com>:

> I will attempt to slim this down a bit, mainly the set is a
> review point for the MFD maintainer to check out if the PRCMU
> driver fits within MFD.

Sam will you be able to provide some feedback on this so I know
whether I shall plan to polish it up for the 2.6.40 merge window or
not? (Just so I know, I can do other things too, this happens to be
pretty central and subject to a horde of Gantt-type dependencies.)

Linus Walleij

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

* Re: [PATCH 00/10] Ux500 PRCMU into MFD and update deps
  2011-05-11 12:39 ` Linus Walleij
@ 2011-05-11 14:41   ` Samuel Ortiz
  2011-05-15 23:20     ` Linus Walleij
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Ortiz @ 2011-05-11 14:41 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-kernel

Hi Linus,

On Wed, May 11, 2011 at 02:39:03PM +0200, Linus Walleij wrote:
> 2011/5/6 Linus Walleij <linus.walleij@stericsson.com>:
> 
> > I will attempt to slim this down a bit, mainly the set is a
> > review point for the MFD maintainer to check out if the PRCMU
> > driver fits within MFD.
> 
> Sam will you be able to provide some feedback on this so I know
> whether I shall plan to polish it up for the 2.6.40 merge window or
> not? 
I quickly looked at this patchset, and I hope to be able to review it better
next week. But overall I think this fits into the MFD mapped registers model.
So please go ahead and prepare this stuff for the .40 merge window (I'd
appreciate to see the "slimming this down a bit" part, while I expect to come
back to you with some more comments by next week.

Cheers,
Samuel.

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

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

* Re: [PATCH 00/10] Ux500 PRCMU into MFD and update deps
  2011-05-11 14:41   ` Samuel Ortiz
@ 2011-05-15 23:20     ` Linus Walleij
  0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2011-05-15 23:20 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-kernel

2011/5/11 Samuel Ortiz <sameo@linux.intel.com>:
> On Wed, May 11, 2011 at 02:39:03PM +0200, Linus Walleij wrote:
>> 2011/5/6 Linus Walleij <linus.walleij@stericsson.com>:
>>
>> > I will attempt to slim this down a bit, mainly the set is a
>> > review point for the MFD maintainer to check out if the PRCMU
>> > driver fits within MFD.
>>
>> Sam will you be able to provide some feedback on this so I know
>> whether I shall plan to polish it up for the 2.6.40 merge window or
>> not?
>
> I quickly looked at this patchset, and I hope to be able to review it better
> next week. But overall I think this fits into the MFD mapped registers model.
> So please go ahead and prepare this stuff for the .40 merge window (I'd
> appreciate to see the "slimming this down a bit" part, while I expect to come
> back to you with some more comments by next week.

OK I have broken it into a *bit* smaller chunks by making a
(yet complex) movement patch to get the stuff out of the mach-ux500
which I then patch to an acceptable level.

I also pushed non-conflicting parts (all but 2 patches) to next
for testing, applying them in parallell in MFD should work just
fine, then I can take them off my branch.

Thanks,
Linus Walleij

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

end of thread, other threads:[~2011-05-15 23:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-06 13:04 [PATCH 00/10] Ux500 PRCMU into MFD and update deps Linus Walleij
2011-05-11 12:39 ` Linus Walleij
2011-05-11 14:41   ` Samuel Ortiz
2011-05-15 23:20     ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox