OpenCloudOS-Kernel/drivers/iio/adc
Andy Shevchenko fb4b6f92d1 iio: adc: ti-ads7950: Add OF device ID table
The driver doesn't have a struct of_device_id table but supported devices
are registered via Device Trees. This is working on the assumption that a
SPI device registered via OF will always match a legacy SPI device ID and
that the MODALIAS reported will always be of the form spi:<device>.

There is an ACPI method to enumerate such devices via specific ACPI ID
and use of compatible strings. It will not work for the drivers which
have no OF match ID table present.

Besides this could change in the future so the correct approach is to
have an OF device ID table if the devices are registered via OF.

Tested-by: David Lechner <david@lechnology.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-08-09 14:26:28 +01:00
..
Kconfig iio: adc: New driver for Cirrus Logic EP93xx ADC 2017-07-25 19:56:23 +01:00
Makefile iio: adc: New driver for Cirrus Logic EP93xx ADC 2017-07-25 19:56:23 +01:00
ad799x.c iio: adc: ad799x: constify attribute_group structures 2017-03-29 22:12:41 +01:00
ad7266.c iio: devm_regulator_get_optional never returns NULL 2016-09-05 21:09:38 +01:00
ad7291.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ad7298.c iio: adc: ad7298: use iio helper function to guarantee direct mode 2016-07-24 19:58:42 +01:00
ad7476.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ad7766.c iio: adc: ad7766: Remove unneeded gpiod NULL check 2017-07-17 21:47:31 +01:00
ad7791.c iio: adc: ad7791: Use sysfs_match_string() helper 2017-06-11 15:07:35 +01:00
ad7793.c iio: adc: ad7793: use iio helper function to guarantee direct mode 2016-07-24 19:58:41 +01:00
ad7887.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ad7923.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ad_sigma_delta.c
aspeed_adc.c iio: Aspeed ADC - Handle return value of clk_prepare_enable 2017-06-11 15:08:20 +01:00
at91-sama5d2_adc.c iio:adc:at91-sama5d2: make array startup_lookup static to reduce code size 2017-07-09 19:14:05 +01:00
at91_adc.c iio: adc: at91: make array startup_lookup static 2017-07-10 22:00:17 +01:00
axp20x_adc.c iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs 2017-04-27 09:25:07 +01:00
axp288_adc.c iio: adc: axp288: Drop bogus AXP288_ADC_TS_PIN_CTRL register modifications 2017-01-10 19:54:57 +00:00
bcm_iproc_adc.c iio: adc: bcm_iproc_adc: swap primary and secondary isr handler's 2017-05-21 13:01:17 +01:00
berlin2-adc.c iio:adc:berlin2-adc: coding style cleanup 2015-08-12 22:13:57 +01:00
cc10001_adc.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
cpcap-adc.c iio: adc: cpcap: Remove hung interrupt quirk 2017-06-03 08:43:17 +01:00
da9150-gpadc.c
dln2-adc.c iio: adc: Add support for DLN2 ADC 2017-07-09 18:17:18 +01:00
envelope-detector.c iio: envelope-detector: ADC driver based on a DAC and a comparator 2016-11-13 13:07:17 +00:00
ep93xx_adc.c iio: adc: New driver for Cirrus Logic EP93xx ADC 2017-07-25 19:56:23 +01:00
exynos_adc.c iio: adc: Remove unnecessary cast on void pointer 2017-04-02 09:46:25 +01:00
fsl-imx25-gcq.c iio: adc: imx25-gcq: Fix module autoload 2017-01-10 19:54:56 +00:00
hi8435.c Revert "iio: hi8435: cleanup reset gpio" 2017-06-03 09:55:24 +01:00
hx711.c iio: adc: hx711: constify attribute_group structures 2017-04-01 11:39:04 +01:00
imx7d_adc.c iio: adc: Remove unnecessary cast on void pointer 2017-04-02 09:46:25 +01:00
ina2xx-adc.c iio: adc: Fix polling of INA219 conversion ready flag 2017-07-01 10:16:47 +01:00
lp8788_adc.c
lpc18xx_adc.c iio: adc: add NXP LPC18xx ADC driver 2016-03-12 18:11:48 +00:00
lpc32xx_adc.c iio:adc:lpc32xx Handle return value of clk_prepare_enable 2017-06-03 09:55:25 +01:00
ltc2471.c iio: Add LTC2471/LTC2473 driver 2017-07-04 20:50:04 +01:00
ltc2485.c iio: adc: ltc2485: add support for Linear Technology LTC2485 ADC 2016-08-29 16:57:40 +01:00
ltc2497.c iio:adc:ltc2497: Add support for board file based iio consumer mapping. 2017-07-02 10:24:53 +01:00
max1027.c iio: adc: Remove unnecessary cast on void pointer 2017-04-02 09:46:25 +01:00
max1118.c iio: adc: add max1117/max1118/max1119 ADC driver 2017-04-14 15:09:06 +01:00
max1363.c iio: adc: max1363: constify attribute_group structures 2017-03-29 22:10:58 +01:00
max9611.c iio: Convert to using %pOF instead of full_name 2017-07-22 22:00:43 +01:00
max11100.c iio: adc: replace comma with a semicolon 2017-03-30 19:11:27 +01:00
mcp320x.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
mcp3422.c iio: adc: mcp3422: Checking for error on probe 2017-07-02 10:24:52 +01:00
men_z188_adc.c iio: adc: men_z188_adc: constify iio_info structures 2016-09-18 11:58:31 +01:00
meson_saradc.c iio: Convert to using %pOF instead of full_name 2017-07-22 22:00:43 +01:00
mt6577_auxadc.c iio: adc: mt7622: Add compatible node for mt7622. 2017-07-01 10:20:28 +01:00
mxs-lradc-adc.c Second set of IIO new device support, features and cleanups for the 4.13 cycle. 2017-06-26 07:09:23 +02:00
nau7802.c iio: adc: Use complete() instead of complete_all() 2016-08-15 18:01:27 +01:00
palmas_gpadc.c iio: adc: palmas_gpadc: retrieve a valid iio_dev in suspend/resume 2017-01-21 14:26:03 +00:00
qcom-pm8xxx-xoadc.c iio: adc: add a driver for Qualcomm PM8xxx HK/XOADC 2017-04-08 17:42:26 +01:00
qcom-spmi-iadc.c
qcom-spmi-vadc.c iio: adc: break out common code from SPMI VADC 2017-04-08 17:40:49 +01:00
qcom-vadc-common.c iio: adc: break out common code from SPMI VADC 2017-04-08 17:40:49 +01:00
qcom-vadc-common.h iio: adc: break out common code from SPMI VADC 2017-04-08 17:40:49 +01:00
rcar-gyroadc.c iio: adc: rcar-gyroadc: Derive interface clock speed from fck clock 2017-04-27 05:58:03 +01:00
rockchip_saradc.c iio: adc: rockchip_saradc: add NULL check on of_match_device() return value 2017-07-09 19:09:50 +01:00
spear_adc.c staging:iio:adc:spear Move out of staging. 2017-02-11 11:17:33 +00:00
stm32-adc-core.c iio: adc: stm32: make array stm32h7_adc_ckmodes_spec static 2017-07-02 10:24:52 +01:00
stm32-adc-core.h iio: adc: stm32: add support for STM32H7 2017-06-11 15:07:29 +01:00
stm32-adc.c iio: adc: stm32: add optional st,min-sample-time-nsecs 2017-08-09 14:14:10 +01:00
stx104.c Annotation of module parameters that specify device settings 2017-05-10 19:13:03 -07:00
sun4i-gpadc-iio.c iio: adc: sun4i-gpadc-iio: fix parent device being used in devm function 2017-05-21 15:17:40 +01:00
ti-adc081c.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ti-adc084s021.c iio: adc: add driver for the ti-adc084s021 chip 2017-05-14 16:34:11 +01:00
ti-adc108s102.c iio: adc: Add support for TI ADC108S102 and ADC128S102 2017-05-21 15:11:14 +01:00
ti-adc128s052.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ti-adc161s626.c iio: adc: ti-adc161s626: add regulator support 2016-09-27 20:33:03 +01:00
ti-adc0832.c iio: ti-adc0832: add triggered buffer support 2016-10-23 19:34:25 +01:00
ti-adc12138.c iio: adc: add ADC12130/ADC12132/ADC12138 ADC driver 2016-08-31 18:10:36 +01:00
ti-ads1015.c First round of IIO new device support, features and cleanups for the 4.14 cycle. 2017-07-27 21:29:49 -07:00
ti-ads7950.c iio: adc: ti-ads7950: Add OF device ID table 2017-08-09 14:26:28 +01:00
ti-ads8688.c iio: devm_regulator_get_optional never returns NULL 2016-09-05 21:09:38 +01:00
ti-tlc4541.c iio: adc: tlc4541: add support for TI tlc4541 adc 2017-01-22 13:21:28 +00:00
ti_am335x_adc.c iio: adc: ti_am335x_adc: allocating too much in probe 2017-05-14 16:21:13 +01:00
twl4030-madc.c iio: adc: twl4030: Fold twl4030-madc.h into driver 2017-06-11 15:07:33 +01:00
twl6030-gpadc.c iio: adc: twl6030-gpadc: Fix module autoload for OF platform driver 2015-09-23 20:23:24 +01:00
vf610_adc.c iio: adc: Remove unnecessary cast on void pointer 2017-04-02 09:46:25 +01:00
viperboard_adc.c
xilinx-xadc-core.c iio: adc: xilinx: Handle return value of clk_prepare_enable 2017-06-03 09:55:23 +01:00
xilinx-xadc-events.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
xilinx-xadc.h iio: adc: xilinx-xadc: Push interrupts into hardirq context 2015-08-16 10:51:27 +01:00