linux_dsm_epyc7002/include/linux/mfd
Mark Brown cd99758ba3 mfd: Convert wm831x to irq_domain
The modern idiom is to use irq_domain to allocate interrupts. This is
useful partly to allow further infrastructure to be based on the domains
and partly because it makes it much easier to allocate virtual interrupts
to devices as we don't need to allocate a contiguous range of interrupt
numbers.

Convert the wm831x driver over to this infrastructure, using a legacy
IRQ mapping if an irq_base is specified in platform data and otherwise
using a linear mapping, always registering the interrupts even if they
won't ever be used. Only boards which need to use the GPIOs as
interrupts should need to use an irq_base.

This means that we can't use the MFD irq_base management since the
unless we're using an explicit irq_base from platform data we can't rely
on a linear mapping of interrupts.  Instead we need to map things via
the irq_domain - provide a conveniencem function wm831x_irq() to save a
small amount of typing when doing so. Looking at this I couldn't clearly
see anything the MFD core could do to make this nicer.

Since we're not supporting device tree yet there's no meaningful
advantage if we don't do this conversion in one, the fact that the
interrupt resources are used for repeated IP blocks makes accessor
functions for the irq_domain more trouble to do than they're worth.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2012-05-20 17:27:07 +02:00
..
abx500 mfd: Deny ab8500 suspend if i2c transfer is ongoing 2012-05-01 13:33:18 +02:00
da9052 mfd: Remove unused io_lock mutex from da9052 2012-03-06 18:46:48 +01:00
pcf50633
pm8xxx device.h: audit and cleanup users in main include dir 2012-03-16 10:38:24 -04:00
s5m87xx mfd: Add S5M core driver 2012-01-09 00:37:46 +01:00
wm831x mfd: Convert wm831x to irq_domain 2012-05-20 17:27:07 +02:00
wm8350 mfd: Convert wm8350 physical I/O to regmap API 2012-05-07 11:32:08 +02:00
wm8994 mfd: Read CUST_ID from the wm8994 device 2012-05-07 11:32:08 +02:00
88pm860x.h mfd: Add power control interface for pm8606 chip 2012-03-06 18:46:52 +01:00
aat2870.h
abx500.h Various small bugfixes and enhancements, plus two new drivers: 2012-03-30 16:09:02 -07:00
adp5520.h
anatop.h mfd: Add anatop mfd driver 2012-03-16 21:12:32 +01:00
asic3.h mfd: Set asic3 DS1WM clock_rate 2012-05-01 12:00:22 +02:00
core.h
da903x.h
davinci_voicecodec.h
db5500-prcmu.h mfd : Fix dbx500 compilation error 2012-04-16 16:42:43 +02:00
db8500-prcmu.h mfd: Add 8420 variant to db8500-prcmu 2012-03-16 20:59:19 +01:00
dbx500-prcmu.h mfd: Add a prcmu_abb_write_masked routine to db8500-prcmu 2012-03-16 19:45:08 +01:00
ds1wm.h
ezx-pcap.h
htc-egpio.h
htc-pasic3.h
intel_msic.h
janz.h
lm3533.h mfd: Use SI-units for the lm3533 max-current interface 2012-05-20 17:27:02 +02:00
lpc_ich.h watchdog: Convert iTCO_wdt driver to mfd model 2012-05-09 17:20:09 +02:00
max8925.h Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6 2012-01-13 20:43:32 -08:00
max8997-private.h
max8997.h Revert "mfd: Add platform data for MAX8997 haptic driver" 2012-03-21 21:39:18 +01:00
max8998-private.h
max8998.h
max77693-private.h mfd: Add MAX77693 driver 2012-05-20 17:27:05 +02:00
max77693.h mfd: Add MAX77693 irq handler 2012-05-20 17:27:06 +02:00
mc13xxx.h mfd: Add pdata to set mc13783-ts conversion delay 2012-03-06 18:46:30 +01:00
mc13783.h
mc13892.h
mcp.h MFD: mcp-core: remove legacy driver suspend/resume methods 2012-02-18 23:15:42 +00:00
rc5t583.h mfd: Fix modular builds of rc5t583 regulator support 2012-04-16 21:27:07 +02:00
rdc321x.h
sta2x11-mfd.h mfd: Add driver for STA2X11 MFD block 2012-05-09 15:34:28 +02:00
stmpe.h mfd: Allow for const stmpe keyboard data 2012-05-09 17:20:29 +02:00
t7l66xb.h
tc3589x.h device.h: audit and cleanup users in main include dir 2012-03-16 10:38:24 -04:00
tc6387xb.h
tc6393xb.h
ti_ssp.h
tmio.h mmc: tmio_mmc: power status flag doesn't have to be exposed in platform data 2012-03-27 12:20:16 -04:00
tps6105x.h
tps6507x.h
tps6586x.h
tps65090.h mfd: Add support for TPS65090 2012-03-20 16:56:33 +01:00
tps65217.h mfd: Add new mfd device for TPS65217 2012-03-06 18:46:29 +01:00
tps65910.h mfd: Register tps65910 gpios as an mfd device 2012-05-20 17:26:59 +02:00
tps65912.h
twl4030-audio.h
twl6040.h mfd: Add regulator support for twl6040 VIO, V2V1 supplies 2012-05-09 21:55:45 +02:00
ucb1x00.h MFD: ucb1x00-core: add wakeup support 2012-02-18 23:15:43 +00:00
wl1273-core.h
wm8400-audio.h
wm8400-private.h mfd: Remove wm8400 custom cache implementation 2012-05-20 17:27:01 +02:00
wm8400.h