linux_dsm_epyc7002/include/linux/mfd
Linus Walleij 05ec260ede mfd: db8500-prcmu: update resource passing
When trying to get rid of the cross-includes of <mach/id.h>
from different drivers, so we can localize ASIC/CPU detection
to the mach-ux500 folder, we run into the way the PRCMU
handles base addresses and firmware detection.

This patch updates the firmware version detection to pass
the required information as platform data instead of
relying on cpu_is_* macros.

Now the PRCMU base address, the secondary TCDM area, the
TCPM area and the IRQ are passed as resources instead of
being grabbed from <mach/*> files. Incidentally this also
removes part of the reliance on <mach/irqs.h>.

Further it updates the firmware version detection, since the
location of the firmware ID bytes in the designated memory
are is now passed from the platform data instead. There is
no reason not to include the nice split-off of a struct to
hold the firmware information and a separate function to
populate it.

The patch actually rids the need to use the external
db8500_prcmu_early_init call at all, but I'm keepin back
that removal as I don't want the patch to be too big.

Cc: arm@kernel.org
Cc: Michel Jaoen <michel.jaouen@stericsson.com>
Cc: Lee Jones <lee.jones@linaro.org>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Acked-by: Loic Pallardy <loic.pallardy@stericsson.com>
Acked-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-02-12 12:44:27 +01:00
..
abx500 mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
arizona This is the MFD patch set for the 3.8 merge window. 2012-12-16 18:55:20 -08:00
da9052 mfd: da9052: Introduce da9052-irq.c 2012-11-20 12:21:10 +01:00
da9055 This is the MFD patch set for the 3.8 merge window. 2012-12-16 18:55:20 -08:00
pcf50633
pm8xxx mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
samsung mfd: Add s2mps11 irq driver 2012-07-16 14:31:59 +02:00
syscon ARM: imx6q: Add iomuxc gpr support into syscon 2012-09-17 15:24:31 +02:00
wm831x
wm8350
wm8994 mfd: wm8994: Store platform data in device 2012-11-23 21:10:13 +09:00
88pm80x.h mfd: remove use of __devinit 2012-11-28 12:20:19 -08:00
88pm860x.h 1. New drivers: 2012-10-07 17:29:24 +09:00
aat2870.h
ab3100.h mfd: ab3100: Split ab3100 headers out of abx500.h 2012-09-14 09:52:15 +02:00
abx500.h ab8500: Add devicetree support for chargalg 2012-11-18 19:37:18 -08:00
adp5520.h
as3711.h mfd: Add an AS3711 PMIC MFD driver 2012-11-23 12:09:19 +01:00
asic3.h
core.h mfd: core: Push irqdomain mapping out into devices 2012-09-15 23:22:04 +02:00
da903x.h
davinci_voicecodec.h
db8500-prcmu.h mfd: db8500-prcmu: update resource passing 2013-02-12 12:44:27 +01:00
dbx500-prcmu.h mfd: db8500-prcmu: update resource passing 2013-02-12 12:44:27 +01:00
ds1wm.h
ezx-pcap.h ARM: pxa: remove irq_to_gpio from ezx-pcap driver 2012-08-09 15:16:41 +02:00
htc-egpio.h
htc-pasic3.h
intel_msic.h
janz.h
lm3533.h
lp8788-isink.h mfd: Add lp8788 mfd driver 2012-09-23 20:51:34 +02:00
lp8788.h lp8788-charger: Fix ADC channel names 2012-11-17 20:44:44 -08:00
lpc_ich.h gpio: gpio-ich: Share ownership of GPIO groups 2012-09-14 09:52:13 +02:00
max8907.h mfd: max8907: Add power off control 2012-09-19 12:07:56 +02:00
max8925.h mfd: max8925: Remove array in regulator platform data 2012-09-19 12:39:13 +02:00
max8997-private.h regulator: add device tree support for max8997 2012-11-27 20:05:36 +00:00
max8997.h regulator: add device tree support for max8997 2012-11-27 20:05:36 +00:00
max8998-private.h
max8998.h mfd: printk/comment fixes 2012-09-01 10:01:31 -07:00
max77686-private.h
max77686.h regulator: max77686: initialize of_node param for regulator register 2012-08-28 11:00:25 -07:00
max77693-private.h
max77693.h extcon: MAX77693: Add platform data for MUIC device to initialize registers 2012-10-23 16:32:16 +09:00
mc13xxx.h
mc13783.h
mc13892.h
mcp.h
menelaus.h ARM: OMAP2: Move plat/menelaus.h to linux/mfd/menelaus.h 2012-10-15 13:53:41 -07:00
palmas.h mfd: palmas: Change regulator defns to better suite DT 2012-09-23 20:51:29 +02:00
rc5t583.h mfd: rc5t583: Fix array subscript is above array bounds 2012-11-26 12:10:51 +01:00
rdc321x.h
retu.h mfd: Introduce retu-mfd driver 2012-11-21 16:07:57 +01:00
rtsx_common.h drivers/mfd: Add realtek pcie card reader driver 2012-11-15 17:30:14 -08:00
rtsx_pci.h drivers/mfd: Add realtek pcie card reader driver 2012-11-15 17:30:14 -08:00
smsc.h mfd: smsc: Add support for smsc gpio io/keypad driver 2012-10-01 15:27:48 +02:00
sta2x11-mfd.h mfd: sta2x11-mfd: Add defines for some sta2x11 sctl registers 2012-11-20 12:21:16 +01:00
stmpe.h mfd: stmpe: Get rid of irq_invert_polarity 2012-11-30 11:54:51 +01:00
syscon.h mfd: Add syscon driver based on regmap 2012-09-17 15:24:14 +02:00
t7l66xb.h
tc3589x.h mfd: Provide the tc3589x with its own IRQ domain 2012-09-17 15:03:38 +02:00
tc6387xb.h
tc6393xb.h
ti_am335x_tscadc.h IIO : ADC: tiadc: Add support of TI's ADC driver 2012-11-05 23:50:27 +01:00
ti_ssp.h
tmio.h mmc: tmio: support caps2 flags 2012-07-21 00:02:18 -04:00
tps6105x.h
tps6507x.h
tps6586x.h This is the MFD patch set for the 3.8 merge window. 2012-12-16 18:55:20 -08:00
tps65090.h This is the MFD patch set for the 3.8 merge window. 2012-12-16 18:55:20 -08:00
tps65217.h backlight: Add TPS65217 WLED driver 2012-09-25 10:42:02 +02:00
tps65910.h mfd: tps65910: Remove unused data 2012-11-30 12:20:35 +01:00
tps65912.h
tps80031.h mfd: Add TI TPS80031 mfd core driver 2012-11-21 16:07:47 +01:00
twl4030-audio.h
twl6040.h mfd: twl6040: Convert to use regmap_irq 2012-11-13 19:54:23 +01:00
ucb1x00.h
viperboard.h iio: adc: Add viperboard adc driver 2012-11-20 12:21:13 +01:00
wl1273-core.h
wm8400-audio.h
wm8400-private.h
wm8400.h