linux_dsm_epyc7002/include/linux/platform_data
Arnd Bergmann b9a1a74381 ASoC: samsung: pass DMA channels as pointers
ARM64 allmodconfig produces a bunch of warnings when building the
samsung ASoC code:

sound/soc/samsung/dmaengine.c: In function 'samsung_asoc_init_dma_data':
sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   playback_data->filter_data = (void *)playback->channel;
sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   capture_data->filter_data = (void *)capture->channel;

We could easily shut up the warning by adding an intermediate cast,
but there is a bigger underlying problem: The use of IORESOURCE_DMA
to pass data from platform code to device drivers is dubious to start
with, as what we really want is a pointer that can be passed into
a filter function.

Note that on s3c64xx, the pl08x DMA data is already a pointer, but
gets cast to resource_size_t so we can pass it as a resource, and it
then gets converted back to a pointer. In contrast, the data we pass
for s3c24xx is an index into a device specific table, and we artificially
convert that into a pointer for the filter function.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-11-18 17:51:46 +00:00
..
ad5449.h iio:dac: Add support for the ad5449 2012-10-19 18:46:51 +01:00
ad5755.h
ad7266.h
ad7291.h staging:iio:ad7291: Move out of staging 2014-07-08 21:17:30 +01:00
ad7298.h staging:iio: Move the ad7298 driver out of staging 2012-11-19 22:22:15 +00:00
ad7303.h iio:dac: Add support for the AD7303 2013-06-11 20:25:58 +01:00
ad7791.h
ad7793.h staging:iio: Move ad7793 driver out of staging 2012-11-30 12:57:08 +00:00
ad7887.h staging:iio: Move the ad7887 driver out of staging 2012-11-05 20:39:54 +00:00
adau17x1.h ASoC: Add ADAU1381/ADAU1781 audio CODEC support 2014-05-27 20:54:51 +01:00
adau1977.h ASoC: Add ADAU1977 CODEC driver 2014-02-19 13:36:15 +09:00
ads7828.h hwmon: (ads7828) driver cleanup 2012-12-05 10:55:54 -08:00
arm-ux500-pm.h ARM: ux500: move PM-related PRCMU functions to machine 2013-04-08 13:57:53 +02:00
asoc-imx-ssi.h ARM: imx: remove header file mach/irqs.h 2012-10-15 10:05:43 +08:00
asoc-kirkwood.h
asoc-mx27vis.h
asoc-palm27x.h
asoc-s3c24xx_simtec.h ASoC: s3c24xx: Remove invalid file reference 2014-02-25 21:29:31 +09:00
asoc-s3c.h ASoC: samsung: pass DMA channels as pointers 2015-11-18 17:51:46 +00:00
asoc-ti-mcbsp.h ASoC: mcbsp: Trivial cleanup in asoc-ti-mcbsp.h 2013-12-30 11:50:16 +00:00
asoc-ux500-msp.h ARM: ux500: Don't use enums for MSP IDs - for easy DT conversion 2014-01-07 15:36:09 +00:00
at24.h misc: (at24) move header to linux/platform_data/ 2013-09-30 06:02:34 +02:00
at91_adc.h iio: adc: at91_adc: Add support for touchscreens without TSMR 2014-05-07 18:28:40 +02:00
ata-pxa.h
ata-samsung_cf.h ata: pata_samsung_cf: removes s5pc100 related ata codes 2014-06-30 10:48:08 -04:00
atmel_mxt_ts.h Input: atmel_mxt_ts - use deep sleep mode when stopped 2015-08-04 17:03:52 -07:00
atmel.h ARM: SoC platform updates for v4.4 2015-11-10 14:56:23 -08:00
bcmgenet.h net: bcmgenet: enable driver to work without a device tree 2014-12-08 20:26:59 -05:00
bd6107.h backlight: Add ROHM BD6107 backlight driver 2013-07-16 13:01:19 +09:00
bfin_rotary.h Input: bfin_rotary - move pin lists into into platform data 2015-02-15 16:06:27 -08:00
brcmfmac-sdio.h brcmfmac: abstract tx packet processing functions 2013-08-15 16:07:55 -04:00
bt-nokia-h4p.h staging/bluetooth: Add hci_h4p driver 2014-02-07 10:13:53 -08:00
camera-mx2.h
camera-mx3.h [media] V4L2: mx3_camera: add support for asynchronous subdevice registration 2013-08-18 09:06:37 -03:00
camera-pxa.h
camera-rcar.h [media] V4L2: soc_camera: Renesas R-Car VIN driver 2013-08-18 09:01:10 -03:00
clk-integrator.h ARM: integrator: switch to fetch clocks from device tree 2014-02-13 11:20:42 +01:00
clk-lpss.h ACPI / LPSS: register clock device for Lynxpoint DMA properly 2013-05-14 10:23:58 +05:30
clk-realview.h
clk-u300.h
clk-ux500.h clk/ARM: move Ux500 PRCC bases to the device tree 2015-08-24 16:49:14 -07:00
coda.h media: coda: use genalloc API 2013-04-29 18:28:13 -07:00
cpuidle-exynos.h cpuidle: exynos: add coupled cpuidle support for exynos4210 2015-01-30 08:39:15 +09:00
crypto-atmel.h ARM: AT91SAM9G45: same platform data structure for all crypto peripherals 2013-03-10 16:46:41 +08:00
crypto-ux500.h ARM: plat-nomadik: move DMA40 header to <linux/platform_data> 2012-11-05 09:55:32 +01:00
cyttsp4.h Input: cyttsp4 - add core driver for Cypress TMA4XX touchscreen devices 2013-06-30 21:24:21 -07:00
davinci_asp.h ASoC: davinci-mcasp: Rename platform data struct 2014-02-03 18:26:59 +00:00
db8500_thermal.h Thermal: Add ST-Ericsson DB8500 thermal driver. 2012-11-15 20:50:34 +08:00
dma-atmel.h dmaengine: at_hdmac: extend hardware handshaking interface identification 2013-07-05 11:40:29 +05:30
dma-coh901318.h dma: coh901318: create a proper platform data file 2013-01-07 17:35:57 +01:00
dma-dw.h dmaengine: dw: some Intel devices has no memcpy support 2015-10-31 07:32:43 +05:30
dma-ep93xx.h
dma-hsu.h dmaengine: hsu: remove platform data 2015-10-17 21:22:08 -07:00
dma-imx-sdma.h dmaengine: imx-sdma: Add support for version 3 firmware 2015-03-18 13:53:33 +05:30
dma-imx.h dmaengine: imx-sdma: Add a new DMATYPE for SAI 2014-11-17 13:50:43 +05:30
dma-mmp_tdma.h dma: mmp_tdma: Fix build for ARM64 2015-02-03 17:47:35 -08:00
dma-mv_xor.h dma: mv_xor: Cleanup in dma-mv_xor.h header 2014-01-13 13:30:31 +05:30
dma-rcar-hpbdma.h dma: add driver for R-Car HPB-DMAC 2013-09-02 17:35:55 +05:30
dma-s3c24xx.h ARM: S3C24XX: add dma pdata for s3c2410, s3c2440 and s3c2442 2013-10-21 05:32:48 +09:00
dma-ste-dma40.h dmaengine: ste_dma40: Allow memcpy channels to be configured from DT 2013-06-04 11:12:11 +02:00
dmtimer-omap.h ARM: OMAP: Add platform data header for DMTIMERs 2012-11-16 10:35:08 -06:00
drv260x-pdata.h Input: drv260x - add TI drv260x haptics driver 2014-08-19 22:19:28 -07:00
dwc3-omap.h usb: dwc3: omap: remove platform data associated with dwc3-omap 2013-03-18 11:16:38 +02:00
edma.h dmaengine: edma: New device tree binding 2015-10-27 10:22:45 +09:00
efm32-spi.h spi: new controller driver for efm32 SoCs 2013-08-09 17:32:57 +01:00
efm32-uart.h
ehci-sh.h
elm.h nand: omap2: Remove horrible ifdefs to fix module probe 2014-09-22 11:37:51 -07:00
emif_plat.h memory: emif: Handle devices which are not rated for >85C 2013-03-25 13:18:12 -07:00
eth-netx.h net: Cleanup in eth-netx.h 2014-01-02 03:30:35 -05:00
fsa9480.h
g762.h Add support for GMT G762/G763 PWM fan controllers 2013-06-27 10:31:42 -07:00
gpio_backlight.h backlight: Add GPIO-based backlight driver 2013-07-16 13:01:05 +09:00
gpio-ath79.h MIPS: ath79: Add OF support to the GPIO driver 2015-06-21 21:54:09 +02:00
gpio-davinci.h gpio: remove obsolete tnetv107x driver 2014-03-05 10:44:44 +08:00
gpio-dwapb.h GPIO: gpio-dwapb: Enable platform driver binding to MFD driver 2014-09-23 17:51:37 +02:00
gpio-lpc32xx.h ARM: lpc32xx: move custom GPIO header 2013-12-03 11:26:06 +01:00
gpio-omap.h gpio: omap: Allow building as a loadable module 2015-05-06 15:23:03 +02:00
gpio-rcar.h gpio-rcar: Add RCAR_GP_PIN macro 2013-06-04 21:03:56 +09:00
gpio-ts5500.h gpio: add TS-5500 DIO blocks support 2012-12-10 11:23:25 +01:00
hsmmc-omap.h ARM: OMAP2: HSMMC: explicit fields to declare cover/card detect pin 2015-03-27 12:19:37 +01:00
hwmon-s3c.h hwmon: (s3c) Trivial cleanup in hwmon-s3c.h 2014-01-14 21:36:52 -08:00
i2c-cbus-gpio.h i2c: i2c-cbus-gpio: introduce driver 2012-11-19 09:57:16 +01:00
i2c-davinci.h i2c: davinci: use ICPFUNC to toggle I2C as gpio for bus recovery 2015-04-10 17:57:28 +02:00
i2c-designware.h i2c: designware: add support of platform data to set I2C mode 2014-09-29 22:41:17 +02:00
i2c-imx.h
i2c-mux-reg.h i2c: mux: Add register-based mux i2c-mux-reg 2015-08-24 14:05:18 +02:00
i2c-nuc900.h
i2c-s3c2410.h i2c: s3c2410: Trivial cleanup in header file 2014-03-10 17:32:28 +01:00
ina2xx.h
intel-mid_wdt.h watchdog: add Intel MID watchdog driver support 2014-06-10 21:48:16 +02:00
invensense_mpu6050.h Invensense MPU6050 Device Driver. 2013-02-10 17:42:43 +00:00
iommu-omap.h iommu/omap: Remove platform data da_start and da_end fields 2014-07-29 12:39:56 +02:00
irda-pxaficp.h
irda-sa11x0.h arm: sa1100: move irda header to linux/platform_data 2014-12-30 18:44:07 -05:00
irq-renesas-intc-irqpin.h irqchip: intc-irqpin: GPL header for platform data 2013-03-18 21:26:06 +09:00
isl9305.h regulator: isl9305: Add Intersil ISL9305/H driver 2014-09-06 12:43:05 +01:00
itco_wdt.h mfd: watchdog: iTCO_wdt: Expose watchdog properties using platform data 2015-08-11 15:03:21 +01:00
keyboard-pxa930_rotary.h
keyboard-spear.h Input: update email-id of Rajeev Kumar 2015-05-22 10:59:55 -07:00
keypad-ep93xx.h Input: keypad-ep93xx - cleanup header file 2013-12-27 17:20:21 -08:00
keypad-nomadik-ske.h
keypad-omap.h Input: keypad-omap - cleanup header file 2013-12-27 17:20:22 -08:00
keypad-pxa27x.h Input: pxa27x-keypad - use matrix_keymap for matrix keys 2013-06-18 22:56:51 -07:00
keypad-w90p910.h
keyscan-davinci.h
lcd-mipid.h
leds-kirkwood-netxbig.h leds: netxbig: add device tree binding 2015-11-03 08:59:25 +01:00
leds-kirkwood-ns2.h leds: leds-ns2: move LED modes mapping outside of the driver 2015-08-28 14:06:06 +02:00
leds-lm355x.h
leds-lm3642.h
leds-lp55xx.h leds: lp55xx: handle enable pin in driver 2013-10-25 10:13:25 -07:00
leds-omap.h ARM: OMAP: Move plat/led.h to include/linux/platform_data 2012-10-17 12:03:18 -07:00
leds-pca963x.h leds-pca9633: Rename to leds-pca963x 2013-08-26 17:22:14 -07:00
leds-s3c24xx.h leds: leds-s3c24xx: Trivial cleanup in header file 2014-02-27 09:57:11 -08:00
lm3630a_bl.h backlight: lm3630: apply chip revision 2013-11-13 12:09:15 +09:00
lm3639_bl.h
lp855x.h backlight: lp855x: Use private data for regulator control 2015-08-25 08:40:44 +01:00
lp8727.h
lp8755.h regulator: lp8755: new driver for LP8755 2012-12-24 16:32:34 +00:00
lv5207lp.h backlight: Add Sanyo LV5207LP backlight driver 2013-07-16 13:01:10 +09:00
macb.h net/macb: convert to kernel doc 2015-07-27 01:10:29 -07:00
mailbox-omap.h ARM: OMAP2+: add user and fifo info to mailbox platform data 2013-06-11 11:41:30 -05:00
max197.h hwmon: (max197) add include guard 2014-01-14 21:36:53 -08:00
max3421-hcd.h usb: host: max3421-hcd: Allow platform-data to specify Vbus polarity 2014-05-29 11:19:30 -07:00
max6697.h hwmon: Driver for Maxim MAX6697 and compatibles 2013-02-06 09:57:56 -08:00
mdio-gpio.h net: mdio-gpio: move platform data header 2015-10-21 19:50:44 -07:00
mfd-mcp-sa11x0.h mfd: Cleanup mfd-mcp-sa11x0.h header 2014-01-21 08:28:59 +00:00
microread.h NFC: Initial support for Inside Secure microread 2013-02-03 20:37:42 +01:00
mmc-atmel-mci.h mmc: atmel-mci: move mach header to platform_data 2014-11-10 12:40:37 +01:00
mmc-davinci.h ARM: davinci: mmc: derive version information from device name 2013-04-03 09:42:16 +05:30
mmc-esdhc-imx.h mmc: sdhci-esdhc-imx: add tuning-step setting support 2015-08-27 14:50:50 +02:00
mmc-mvsdio.h mmc: mvsdio: Cleanup mmc-mvsdio.h header 2014-02-25 15:43:23 -05:00
mmc-mxcmmc.h
mmc-omap.h mmc: omap_hsmmc: remove prepare/complete system suspend support. 2015-01-19 09:56:08 +01:00
mmc-pxamci.h ARM: pxa: propagate errors from regulator_enable() to pxamci 2013-07-23 12:15:15 -07:00
mmc-s3cmci.h
mmc-sdhci-s3c.h mmc: sdhci-s3c: remove platform dependencies 2013-04-19 13:51:23 +02:00
mmp_audio.h
mmp_dma.h
mouse-pxa930_trkball.h
mtd-davinci-aemif.h ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif 2014-02-23 20:33:18 +05:30
mtd-davinci.h
mtd-mxc_nand.h
mtd-nand-omap2.h nand: omap2: Add support for flash-based bad block table 2014-09-17 01:02:48 -07:00
mtd-nand-pxa3xx.h mtd: pxa3xx_nand: Remove unused platform-data flash specification 2015-09-02 14:11:40 -07:00
mtd-nand-s3c2410.h mtd: nand: s3c2410: Trivial cleanup in header file 2014-03-10 22:42:26 -07:00
mtd-onenand-omap2.h mtd: omap2: Cleanup header files 2014-01-11 11:39:18 -08:00
mtd-orion_nand.h mtd: orion: Cleanup mtd-orion_nand.h header 2014-01-11 11:39:23 -08:00
mv_usb.h usb: mv_usb: remove clock name from pdata 2013-04-02 11:42:47 +03:00
net-cw1200.h cw1200: rename the cw1200 platform definition header 2013-06-03 15:54:56 -04:00
nfcmrvl.h NFC: nfcmrvl: add i2c driver 2015-10-27 04:21:14 +01:00
ntc_thermistor.h hwmon: (ntc_thermistor) Add support for ncpXXwf104 2015-05-31 22:58:36 -07:00
nxp-nci.h NFC: nxp-nci: Add support for NXP NCI chips 2015-03-26 11:07:50 +01:00
omap1_bl.h
omap_drm.h staging: drm/omap: add support for ARCH_MULTIPLATFORM 2012-10-30 11:10:00 -07:00
omap-twl4030.h ASoC: omap-twl4030: Update the header file to support more boards 2012-12-07 12:54:31 +09:00
omap-wd-timer.h ARM: OMAP2+: WDT: move init; add read_reset_sources pdata function pointer 2012-10-29 20:49:44 -06:00
pca953x.h gpio: (gpio-pca953x) move header to linux/platform_data/ 2013-08-29 12:33:52 -07:00
pcmcia-pxa2xx_viper.h
pinctrl-adi2.h pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x. 2013-09-19 14:37:27 +02:00
pinctrl-single.h pinctrl: single: Add support for auxdata 2013-10-10 15:30:47 -07:00
pixcir_i2c_ts.h Input: pixcir_i2c_ts - switch the device over to gpiod 2015-07-11 17:28:08 -07:00
pn544.h nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
pxa2xx_udc.h ARM: move udc_pxa2xx.h to linux/platform_data 2012-11-16 11:35:30 +00:00
pxa_sdhci.h mmc: sdhci-pxav3: Move private driver data to driver source 2014-11-10 12:40:31 +01:00
regulator-haptic.h Input: add regulator haptic driver 2014-12-21 18:59:20 -08:00
remoteproc-omap.h remoteproc/omap: fix a sparse warning 2013-07-01 15:30:51 +03:00
s3c-hsotg.h usb: dwc2: rename all s3c_* to dwc2_* 2015-09-27 10:54:31 -05:00
s3c-hsudc.h
sa11x0-serial.h ARM: move serial_sa1100.h header file to linux/platform_data 2012-11-16 11:35:29 +00:00
sc18is602.h
serial-imx.h serial: imx: drop support for IRDA 2015-03-07 03:26:32 +01:00
serial-omap.h ARM: OMAP: serial: remove last vestige of DTR_gpio support. 2014-11-10 09:06:44 -08:00
serial-sccnxp.h Revert "serial: sccnxp: Add DT support" 2013-08-02 15:25:19 +08:00
sh_ipmmu.h iommu/shmobile: Add iommu driver for Renesas IPMMU modules 2013-02-06 10:57:25 +01:00
shmob_drm.h
sht15.h hwmon: (sht15) add include guard 2014-01-14 21:36:53 -08:00
shtc1.h hwmon: add support for Sensirion SHTC1 sensor 2014-06-12 08:36:48 -07:00
si5351.h clk: si5351: Do not pass struct clk in platform_data 2015-05-08 11:22:30 -07:00
simplefb.h fbdev changes for 3.12: 2013-09-05 09:49:32 -07:00
sky81452-backlight.h backlight: Add support Skyworks SKY81452 backlight driver 2015-03-12 09:08:19 +00:00
spi-clps711x.h spi/clps711x: New SPI master driver 2012-12-05 23:14:38 +00:00
spi-davinci.h spi: davinci: Choose correct pre-scaler limit based on SOC 2015-07-24 17:35:51 +01:00
spi-ep93xx.h
spi-imx.h
spi-mt65xx.h spi: mediatek: fix spi incorrect endian usage 2015-08-20 11:09:47 -07:00
spi-nuc900.h spi: nuc900: Cleanup spi-nuc900.h header 2013-12-30 12:46:20 +00:00
spi-omap2-mcspi.h spi: spi-omap2-mcspi.c: Toggle CS after each word 2013-01-26 17:00:04 +08:00
spi-s3c64xx.h spi/s3c64xx: Trivial cleanup in header file 2014-02-16 09:59:13 +08:00
ssm2518.h ASoC: Add ssm2518 support 2013-05-25 10:33:30 -04:00
st21nfca.h NFC: st21nfca: Adding support for secure element 2015-01-28 00:03:36 +01:00
st33zp24.h tpm/tpm_i2c_stm_st33: Split tpm_i2c_tpm_st33 in 2 layers (core + phy) 2015-03-18 22:43:06 +01:00
st1232_pdata.h Input: st1232 - add reset pin handling 2013-04-15 10:00:44 -07:00
st_sensors_pdata.h iio: Added ST-sensors platform data to select the DRDY interrupt pin 2013-08-03 18:40:28 +01:00
st-nci.h NFC: st-nci: Add ese-present/uicc-present dts properties 2015-10-27 03:55:10 +01:00
syscon.h mfd: syscon: Add platform data with a regmap config name 2014-05-15 17:02:19 +01:00
touchscreen-s3c2410.h Input: s3c2410 - trivial cleanup in header file 2014-02-14 00:09:43 -08:00
tsl2563.h iio:light:tsl2563 move out of staging 2013-01-27 17:37:24 +00:00
uio_dmem_genirq.h Add new uio device for dynamic memory allocation 2012-10-24 15:39:08 -07:00
uio_pruss.h uio: uio_pruss: replace private SRAM API with genalloc 2012-10-27 16:28:32 +05:30
usb3503.h usb: misc: usb3503: Add to select the ports to disable 2013-05-30 21:32:52 +09:00
usb-davinci.h
usb-ehci-mxc.h ARM: imx: move EHCI platform defines out of platform_data header 2014-07-18 16:10:04 +08:00
usb-ehci-orion.h usb: ehci: Cleanup usb-ehci-orion.h header 2014-01-03 12:37:57 -08:00
usb-musb-ux500.h usb: musb: ux500: move channel number knowledge into the driver 2013-06-04 11:12:02 +02:00
usb-mx2.h
usb-ohci-pxa27x.h
usb-ohci-s3c2410.h
usb-omap1.h usb: omap1: add extcon to platform data 2013-12-06 14:36:37 -06:00
usb-omap.h mfd: omap-usb-host: override number of ports from platform data 2013-02-13 13:22:49 +02:00
usb-pxa3xx-ulpi.h
usb-rcar-phy.h phy-rcar-usb: add R8A7778 support 2013-06-11 16:11:16 +09:00
usb-s3c2410_udc.h
ux500_wdt.h watchdog: Add support for ux500_wdt watchdog 2013-02-14 00:22:53 +01:00
video_s3c.h video/s3c: move platform_data out of arch/arm 2013-04-11 14:49:20 +03:00
video-clcd-versatile.h video: fix up versatile CLCD helper move 2014-07-23 17:41:00 +02:00
video-ep93xx.h ARM/fb: ep93xx: switch framebuffer to use modedb only 2015-08-13 12:25:44 +02:00
video-imxfb.h video: imxfb: Remove unused fields from platform data structure 2014-02-28 12:35:22 +02:00
video-mx3fb.h
video-nuc900fb.h
video-pxafb.h video: pxa: Cleanup video-pxafb.h header 2014-01-17 10:57:42 +02:00
voltage-omap.h
wiznet.h
wkup_m3.h remoteproc/wkup_m3: add a remoteproc driver for TI Wakeup M3 2015-06-17 09:58:08 +03:00
zforce_ts.h Input: zforce_ts - convert to use the gpiod interface 2015-07-08 21:50:57 -07:00