2011-05-21 08:42:08

by Linus Walleij

[permalink] [raw]
Subject: [PATCH 00/13] Ux500 PRCMU into MFD v4

From: Linus Walleij <[email protected]>

This is mainly a rebase to Torvald's HEAD to rid the merge
conflict in drivers/cpufreq.

All but the last patch can be merged into Sam's MFD tree I
believe, but ACKs from MFD work just as fine and I'll request
pull.

This moves the DB8500 PRCMU core 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.

The PRCMU driver does not do anything but mediate calls to
sub-drivers really, and later parts of the patch set breaks
out the CPUfreq and on-chip regulators to their own respective
subsystems.

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 and 6 whole files from arch/arm/*
and a much more appealing architecture.

All but the last patch have been pushed to -next for testing.

13/13 collides with changes in the regulator tree and also use
the mfd_data per cell, so will need adjusting in or after the
merge window.

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

Linus Walleij (10):
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
mach-ux500: move the DB8500 PRCMU driver to MFD
mfd: add DB5500 PRCMU driver
mach-ux500: move CPUfreq driver to cpufreq subsystem
cpufreq: update DB8500 cpufreq driver
cpufreq: make DB8500 cpufreq driver compile

Mattias Nilsson (1):
mfd: update DB8500 PRCMU 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-regs.h | 96 -
arch/arm/mach-ux500/include/mach/prcmu.h | 28 -
arch/arm/mach-ux500/prcmu.c | 394 ----
drivers/cpufreq/Makefile | 2 +
drivers/cpufreq/db8500-cpufreq.c | 169 ++
drivers/mfd/Kconfig | 22 +-
drivers/mfd/Makefile | 5 +-
drivers/mfd/ab8500-i2c.c | 3 +-
drivers/mfd/db5500-prcmu-regs.h | 115 ++
drivers/mfd/db5500-prcmu.c | 448 +++++
drivers/mfd/db8500-prcmu-regs.h | 166 ++
drivers/mfd/db8500-prcmu.c | 2069 ++++++++++++++++++++
drivers/regulator/Kconfig | 7 +
drivers/regulator/Makefile | 1 +
drivers/regulator/db8500-prcmu.c | 558 ++++++
include/linux/mfd/db5500-prcmu.h | 45 +
include/linux/mfd/db8500-prcmu.h | 978 +++++++++
include/linux/regulator/db8500-prcmu.h | 45 +
34 files changed, 4847 insertions(+), 799 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-regs.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
create mode 100644 drivers/mfd/db5500-prcmu-regs.h
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


2011-05-23 03:25:12

by Samuel Ortiz

[permalink] [raw]
Subject: Re: [PATCH 00/13] Ux500 PRCMU into MFD v4

Hi Linus,

On Sat, May 21, 2011 at 10:41:40AM +0200, Linus Walleij wrote:
> From: Linus Walleij <[email protected]>
>
> This is mainly a rebase to Torvald's HEAD to rid the merge
> conflict in drivers/cpufreq.
>
> All but the last patch can be merged into Sam's MFD tree I
> believe, but ACKs from MFD work just as fine and I'll request
> pull.
I'd rather see this one going through your tree as it does contain many arch
related changes. Please add my ACK to the MFD parts.
Also, please cc me on your pull request so that I can fix the mfd_data from
patch #13 before sending my pull request.

Cheers,
Samuel.

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

2011-05-24 21:14:24

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH 00/13] Ux500 PRCMU into MFD v4

2011/5/23 Samuel Ortiz <[email protected]>:

> Hi Linus,
> (...)
> I'd rather see this one going through your tree as it does contain many arch
> related changes. Please add my ACK to the MFD parts.
> Also, please cc me on your pull request so that I can fix the mfd_data from
> patch #13 before sending my pull request.

OK said and done. Hold on for when/if Torvalds pulls my stuff in.

Yours,
Linus Walleij