linux/drivers/iio/adc
Greg Kroah-Hartman 315f7e15c2 1st set of IIO fixes for the 5.19 cycle.
Most of these have been in next for a long time. Unfortunately there
 was one stray patch in the branch (wasn't a fix), so I've just rebased
 to remove that.
 
 * testing
   - Fix a missing MODULE_LICENSE() warning by restricting possible build
     configs.
 * Various drivers
   - Fix ordering of iio_get_trigger() being called before
     iio_trigger_register()
 * adi,admv1014
   - Fix dubious x & !y warning.
 * adi,axi-adc
   - Fix missing of_node_put() in error and normal paths.
 * aspeed,adc
   - Add missing of_node_put()
 * fsl,mma8452
   - Fix broken probing from device tree.
   - Drop check on return value of i2c write to device to cause reset as
     ACK will be missing (device reset before sending it).
 * fsl,vf610
   - Fix documentation of in_conversion_mode ABI.
 * iio-trig-sysfs
   - Ensure irq work has finished before freeing the trigger.
 * invensense,mpu3050
  - Disable regulators in error path.
 * invensense,icm42600
   - Fix collision of enum value of 0 with error path where 0 is no match.
 * renesas,rzg2l_Adc
   - Add missing fwnode_handle_put() in error path.
 * rescale
   - Fix a boolean logic bug for detection of raw + scale affecting an
     obscure corner case.
 * semtech,sx9324
   - Check return value of read of pin_defs
 * st,stm32-adc:
   - Fix interaction across ADC instances for some supported devices.
   - Drop false spurious IRQ messages.
   - Fix calibration value handling.  If we can't calibrate don't expose the
     vref_int channel.
   - Fix maximum clock rate for stm32pm15x
 * ti,ads131e08
   - Add missing fwnode_handle_put() in error paths.
 * xilinx,ams
   - Fix variable checked for error from platform_get_irq()
 * x-powers,axp288
   - Overide TS_PIN bias current for boards where it is not correctly
     initialized.
 * yamaha,yas530
   - Fix inverted check on calibration data being all zeros.
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEbilms4eEBlKRJoGxVIU0mcT0FogFAmKvUOsRHGppYzIzQGtl
 cm5lbC5vcmcACgkQVIU0mcT0Foj9+BAAgT/0u5a8SNuu0Cwu9JrHt/d8PHX5ZKfz
 CDzagToCptHIYbJfXPnoVi0rGoUWaKG5Oo6Z+1vEQ9jRy4HyAWSR/MrInbSyYdc9
 hiHiHEyhycjbe+Dc/NLd859fnQNGXhg5bp32u+nO5JGAQBM93KF7r05salO/XT1O
 34D3waV1cWcyhA9JqQysD/xczkYaWsuwGU33N7D5hfe9Ws0UqoQESYoUrO7N+RMr
 6AwT2qMvmIeoKkIupVw+N58knaSRN8qUACN9+BiR4dQyL40iu1BSrVSH4RCvTlsc
 WBGDz4G50lmRg3bE/bI1T53lFGjMpvjgOXOOP025llazumOM5azhhHGlA/iPk7a7
 NMPd1Oxuo7fGqASZiR0I6X4pfo2UEtwwusfIb+QfNZQ2bgEExPKtk4F/20Tpi4JY
 OV37Q3tTFYx3Wn+rpmzN50GDjMprgNBwYewmE8yAsoXVpsgmkqTVMqDMkmvEQBav
 ajuoUNC/ncMtfjWhphEKOUw2L96acltfIM1PTnMWEUaQq2FyidJM2DcoBh8MOZaa
 ms7qO9Hbab/+qPZJJfEQ/O+SkVDP/SWZdGYiazJdda731LzpPdwlQM2oGJjsNeQE
 4F5TWgTVfG/gN47NXyp53zbxls0nkvLy09I1xiUPA23DKnhiD+dsGK72OWth6cd2
 DQ++coHl140=
 =AtPS
 -----END PGP SIGNATURE-----

Merge tag 'iio-fixes-for-5.19a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next

Jonathan writes:

1st set of IIO fixes for the 5.19 cycle.

Most of these have been in next for a long time. Unfortunately there
was one stray patch in the branch (wasn't a fix), so I've just rebased
to remove that.

* testing
  - Fix a missing MODULE_LICENSE() warning by restricting possible build
    configs.
* Various drivers
  - Fix ordering of iio_get_trigger() being called before
    iio_trigger_register()
* adi,admv1014
  - Fix dubious x & !y warning.
* adi,axi-adc
  - Fix missing of_node_put() in error and normal paths.
* aspeed,adc
  - Add missing of_node_put()
* fsl,mma8452
  - Fix broken probing from device tree.
  - Drop check on return value of i2c write to device to cause reset as
    ACK will be missing (device reset before sending it).
* fsl,vf610
  - Fix documentation of in_conversion_mode ABI.
* iio-trig-sysfs
  - Ensure irq work has finished before freeing the trigger.
* invensense,mpu3050
 - Disable regulators in error path.
* invensense,icm42600
  - Fix collision of enum value of 0 with error path where 0 is no match.
* renesas,rzg2l_Adc
  - Add missing fwnode_handle_put() in error path.
* rescale
  - Fix a boolean logic bug for detection of raw + scale affecting an
    obscure corner case.
* semtech,sx9324
  - Check return value of read of pin_defs
* st,stm32-adc:
  - Fix interaction across ADC instances for some supported devices.
  - Drop false spurious IRQ messages.
  - Fix calibration value handling.  If we can't calibrate don't expose the
    vref_int channel.
  - Fix maximum clock rate for stm32pm15x
* ti,ads131e08
  - Add missing fwnode_handle_put() in error paths.
* xilinx,ams
  - Fix variable checked for error from platform_get_irq()
* x-powers,axp288
  - Overide TS_PIN bias current for boards where it is not correctly
    initialized.
* yamaha,yas530
  - Fix inverted check on calibration data being all zeros.

* tag 'iio-fixes-for-5.19a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (26 commits)
  iio:proximity:sx9324: Check ret value of device_property_read_u32_array()
  iio: accel: mma8452: ignore the return value of reset operation
  iio: adc: stm32: fix maximum clock rate for stm32mp15x
  iio: adc: stm32: fix vrefint wrong calibration value handling
  iio: imu: inv_icm42600: Fix broken icm42600 (chip id 0 value)
  iio: adc: vf610: fix conversion mode sysfs node name
  iio: adc: adi-axi-adc: Fix refcount leak in adi_axi_adc_attach_client
  iio: test: fix missing MODULE_LICENSE for IIO_RESCALE=m
  iio:humidity:hts221: rearrange iio trigger get and register
  iio:chemical:ccs811: rearrange iio trigger get and register
  iio:accel:mxc4005: rearrange iio trigger get and register
  iio:accel:kxcjk-1013: rearrange iio trigger get and register
  iio:accel:bma180: rearrange iio trigger get and register
  iio: afe: rescale: Fix boolean logic bug
  iio: adc: aspeed: Fix refcount leak in aspeed_adc_set_trim_data
  iio: adc: stm32: Fix IRQs on STM32F4 by removing custom spurious IRQs message
  iio: adc: stm32: Fix ADCs iteration in irq handler
  iio: adc: ti-ads131e08: add missing fwnode_handle_put() in ads131e08_alloc_channels()
  iio: adc: rzg2l_adc: add missing fwnode_handle_put() in rzg2l_adc_parse_properties()
  iio: trigger: sysfs: fix use-after-free on remove
  ...
2022-06-20 09:49:52 +02:00
..
ab8500-gpadc.c iio:adc:ab8500: Switch from CONFIG_PM guards to pm_ptr() etc 2022-02-21 19:33:03 +00:00
ad799x.c iio: adc: ad799x: Implement selecting external reference voltage input on AD7991, AD7995 and AD7999. 2021-10-19 08:30:43 +01:00
ad7091r5.c iio:adc:ad7091r: Move exports into IIO_AD7091R namespace. 2022-02-18 11:42:26 +00:00
ad7091r-base.c iio:adc:ad7091r: Move exports into IIO_AD7091R namespace. 2022-02-18 11:42:26 +00:00
ad7091r-base.h
ad7124.c iio: adc: ad7124: add sequencer support 2022-04-04 09:11:25 +01:00
ad7192.c iio: Replace strtobool() with kstrtobool() 2022-04-28 19:22:54 +01:00
ad7266.c iio: adc: ad7266: convert probe to full device-managed 2022-04-28 19:22:54 +01:00
ad7280a.c First set of IIO new device support, features and cleanup for 5.19 2022-05-19 16:53:08 +02:00
ad7291.c iio: adc: ad7291: convert probe to device-managed only 2021-10-19 08:27:35 +01:00
ad7292.c iio: adc: ad7292: Modify the bool initialization assignment 2021-03-25 19:13:52 +00:00
ad7298.c iio: adc: ad7298: Enable on Intel Galileo Gen 1 2021-05-17 13:49:05 +01:00
ad7476.c iio: adc: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
ad7606_par.c iio:adc:ad76060: Move exports into IIO_AD7606 namespace. 2022-02-18 11:42:26 +00:00
ad7606_spi.c iio:adc:ad76060: Move exports into IIO_AD7606 namespace. 2022-02-18 11:42:26 +00:00
ad7606.c iio:adc:ad76060: Move exports into IIO_AD7606 namespace. 2022-02-18 11:42:26 +00:00
ad7606.h iio: adc: ad7606: Fix syntax errors in comments 2021-12-16 12:23:54 +00:00
ad7766.c iio: adc: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
ad7768-1.c iio: ad7768-1: Call iio_trigger_notify_done() on error 2021-11-17 17:52:36 +00:00
ad7780.c iio:adc:ad_sigma_delta: Move exports into IIO_AD_SIGMA_DELTA namespace 2022-02-18 11:42:26 +00:00
ad7791.c iio:adc:ad_sigma_delta: Move exports into IIO_AD_SIGMA_DELTA namespace 2022-02-18 11:42:26 +00:00
ad7793.c iio:adc:ad_sigma_delta: Move exports into IIO_AD_SIGMA_DELTA namespace 2022-02-18 11:42:26 +00:00
ad7887.c iio: adc: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
ad7923.c iio: adc: ad7923: Fix undersized rx buffer. 2021-05-22 08:32:36 +01:00
ad7949.c iio: adc: ad7949: use devm managed functions 2021-09-14 12:00:31 +01:00
ad9467.c iio: adc: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
ad_sigma_delta.c iio: adc: ad_sigma_delta: Add sequencer support 2022-04-04 09:11:25 +01:00
adi-axi-adc.c iio: adc: adi-axi-adc: Fix refcount leak in adi_axi_adc_attach_client 2022-06-19 17:22:49 +01:00
aspeed_adc.c iio: adc: aspeed: Fix refcount leak in aspeed_adc_set_trim_data 2022-06-19 17:22:48 +01:00
at91_adc.c iio:adc:at91-adc: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:43:11 +00:00
at91-sama5d2_adc.c iio: core: Hide read accesses to iio_dev->currentmode 2022-04-10 16:21:45 +01:00
axp20x_adc.c 1st set of IIO new device support, features and cleanup for 5.17 2021-12-22 12:33:01 +01:00
axp288_adc.c iio: adc: axp288: Override TS pin bias current for some models 2022-05-07 15:23:39 +01:00
bcm_iproc_adc.c iio:adc:bcm_iproc: Drop of_match_ptr protection and switch to mod_devicetable.h 2020-09-03 19:40:45 +01:00
berlin2-adc.c iio: adc: berlin2-adc: convert probe to device-managed only 2021-10-19 08:27:35 +01:00
cc10001_adc.c
cpcap-adc.c iio: adc: cpcap-adc: remove redundant assignment to variable cal_data_diff 2022-02-07 20:40:39 +00:00
da9150-gpadc.c iio: adc: da9150-gpadc: convert probe to full-device managed 2021-10-19 08:27:34 +01:00
dln2-adc.c iio: dln2: Check return value of devm_iio_trigger_register() 2021-11-17 17:52:35 +00:00
envelope-detector.c iio:adc:envelope-detector: Switch from of headers to mod_devicetable.h 2021-12-12 17:13:11 +00:00
ep93xx_adc.c iio: ep93xx: Make use of the helper function devm_platform_ioremap_resource() 2021-10-17 11:05:53 +01:00
exynos_adc.c iio:adc:exynos_adc: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() 2022-02-18 11:43:11 +00:00
fsl-imx25-gcq.c iio: adc: fsl-imx25-gcq: initialize regulators as needed 2021-10-19 08:27:34 +01:00
hi8435.c iio:adc:hi8435: Tidy up white space around {} in id tables 2022-01-23 18:03:35 +00:00
hx711.c iio: adc: hx711: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-06-14 11:42:41 +01:00
imx7d_adc.c iio: imx7d_adc: Don't pass IIO device to imx7d_adc_{enable,disable}() 2021-11-17 17:51:33 +00:00
imx8qxp-adc.c iio: imx8qxp-adc: mark PM functions as __maybe_unused 2021-10-19 08:31:33 +01:00
ina2xx-adc.c iio: Replace strtobool() with kstrtobool() 2022-04-28 19:22:54 +01:00
ingenic-adc.c iio/adc: ingenic: add JZ4760B support to the sadc driver 2021-07-31 18:14:53 +01:00
intel_mrfld_adc.c iio: adc: intel_mrfld_adc: convert probe to full device-managed 2021-10-19 08:27:34 +01:00
Kconfig iio: adc: Kconfig: Make RZG2L_ADC depend on ARCH_RZG2L 2022-04-28 19:22:55 +01:00
lp8788_adc.c iio: adc: lp8788_adc: convert probe to full-device managed 2021-10-19 08:27:34 +01:00
lpc18xx_adc.c iio: adc: lpc18xx_adc: Reorder clk_get_rate() function call 2021-11-17 17:51:31 +00:00
lpc32xx_adc.c
ltc2471.c
ltc2485.c
ltc2496.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ltc2497-core.c iio: adc: ltc2497: Simplify with dev_err_probe() 2020-09-03 19:40:49 +01:00
ltc2497.c
ltc2497.h
Makefile iio:adc:ad7280a: Move out of staging 2022-02-21 19:33:05 +00:00
max1027.c First set of IIO new device and feature support for the 5.16 cycle 2021-10-19 11:44:28 +02:00
max1118.c iio: adc: max1118: Make use of the helper function dev_err_probe() 2021-10-20 14:43:52 +01:00
max1241.c iio: adc: max1241: Make use of the helper function dev_err_probe() 2021-10-20 14:43:52 +01:00
max1363.c iio: adc: max1363: convert probe to full device-managed 2021-10-19 08:27:35 +01:00
max9611.c iio: max9611: Use sysfs_emit() 2022-01-23 18:03:36 +00:00
max11100.c iio: adc: max11100: Use devm_ functions for rest of probe() 2021-06-03 18:24:14 +01:00
mcp320x.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
mcp3422.c iio: adc: mcp3422: fix locking on error path 2020-09-01 16:08:07 +02:00
mcp3911.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
men_z188_adc.c iio: adc: men_z188_adc: Fix a resource leak in an error handling path 2022-01-30 13:51:24 +00:00
meson_saradc.c iio: adc: meson_saradc: Make use of the helper function dev_err_probe() 2021-10-20 14:43:52 +01:00
mp2629_adc.c iio: adc: mp2629: Drop duplicate setting iio_dev.dev.parent 2021-05-17 13:49:12 +01:00
mt6360-adc.c iio: adc: mt6360: Drop duplicate setting of iio_dev.dev.parent 2021-05-17 13:49:12 +01:00
mt6577_auxadc.c iio: adc: mt8186: Add compatible node for mt8186 2022-01-23 18:03:35 +00:00
mxs-lradc-adc.c iio: adc: mxs-lradc: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-06-14 11:42:41 +01:00
nau7802.c iio: adc: nau7802: convert probe to full device-managed 2021-10-19 08:27:34 +01:00
npcm_adc.c iio: adc: npcm_adc: Replace indio_dev->mlock with own device lock 2021-03-25 19:13:49 +00:00
palmas_gpadc.c iio: palmas: shut up warning about calibration mismatch (due to noise) 2022-04-04 09:11:25 +01:00
qcom-pm8xxx-xoadc.c iio: adc: qcom-vadc-common: Re-use generic struct u32_fract 2022-01-30 12:21:25 +00:00
qcom-spmi-adc5.c iio: adc: qcom-spmi-adc5: use of_device_get_match_data 2021-01-16 18:23:36 +00:00
qcom-spmi-iadc.c
qcom-spmi-vadc.c iio: adc: qcom-vadc-common: Re-use generic struct u32_fract 2022-01-30 12:21:25 +00:00
qcom-vadc-common.c iio: adc: qcom-vadc-common: add reverse scaling for PMIC5 Gen2 ADC_TM 2022-05-19 12:11:51 +02:00
rcar-gyroadc.c iio:adc:rcar: Switch from CONFIG_PM guards to pm_ptr() etc 2022-02-21 19:33:03 +00:00
rn5t618-adc.c iio: adc: rn5t618: Re-use generic struct u16_fract 2022-01-30 12:21:25 +00:00
rockchip_saradc.c iio:adc:rockchip: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:43:12 +00:00
rzg2l_adc.c iio: adc: rzg2l_adc: add missing fwnode_handle_put() in rzg2l_adc_parse_properties() 2022-06-19 17:22:48 +01:00
sc27xx_adc.c iio: adc: sc27xx: add support for PMIC sc2730 2022-04-28 19:22:56 +01:00
sd_adc_modulator.c
spear_adc.c iio: adc: spear_adc: Replace indio_dev->mlock with own device lock 2021-03-25 19:13:49 +00:00
stm32-adc-core.c iio: adc: stm32: fix maximum clock rate for stm32mp15x 2022-06-19 17:22:49 +01:00
stm32-adc-core.h iio: adc: stm32-adc: add support of internal channels 2021-10-20 14:43:54 +01:00
stm32-adc.c iio: adc: stm32: fix vrefint wrong calibration value handling 2022-06-19 17:22:49 +01:00
stm32-dfsdm-adc.c iio: adc: stm32-dfsdm: Avoid dereferencing ->currentmode 2022-04-10 16:15:02 +01:00
stm32-dfsdm-core.c iio:adc:stm32*: Use pm[_sleep]_ptr() etc to avoid need to make pm __maybe_unused 2022-02-21 19:33:04 +00:00
stm32-dfsdm.h ASoC: stm32: dfsdm: add actual resolution trace 2020-10-08 20:44:41 +01:00
stmpe-adc.c iio: stmpe-adc: use of_device_id for OF matching 2022-05-01 19:01:13 +01:00
stx104.c
sun4i-gpadc-iio.c iio:adc:sun4i-gpadc: Use new IRQF_NO_AUTOEN flag instead of request then disable 2021-04-07 08:36:39 +01:00
ti_am335x_adc.c iio: core: Simplify the registration of kfifo buffers 2022-04-10 16:25:46 +01:00
ti-adc081c.c iio: adc: ti-adc081c: Partial revert of removal of ACPI IDs 2021-12-21 15:13:29 +00:00
ti-adc084s021.c iio:adc:ti-adc084s021: Tidy up white space around {} 2022-01-23 18:03:35 +00:00
ti-adc108s102.c iio: adc: ti-adc108s102: Fix alignment of buffer pushed to iio buffers. 2021-10-19 08:29:22 +01:00
ti-adc128s052.c iio: adc: adc128s052: Simplify adc128_probe() 2021-10-21 20:03:01 +01:00
ti-adc161s626.c iio: adc: ti-adc161s626: Use devm managed functions for all of probe. 2021-06-03 18:24:14 +01:00
ti-adc0832.c iio: adc: ti-adc0832: Use devm managed functions for all of probe() 2021-06-03 18:24:14 +01:00
ti-adc12138.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ti-ads124s08.c iio:adc:ti-ads124s08: Drop dependency on OF. 2021-12-12 17:13:14 +00:00
ti-ads131e08.c iio: adc: ti-ads131e08: add missing fwnode_handle_put() in ads131e08_alloc_channels() 2022-06-19 17:22:48 +01:00
ti-ads1015.c iio: adc: ti-ads1015: Switch to read_avail 2022-04-04 09:11:26 +01:00
ti-ads7950.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ti-ads8344.c iio: adc: ti-ads8344: convert probe to device-managed 2021-09-14 12:00:34 +01:00
ti-ads8688.c iio: ti-ads8688: use of_device_id for OF matching 2022-05-01 19:01:13 +01:00
ti-tlc4541.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ti-tsc2046.c First set of new device support, fixes, cleanups and features for IIO in 5.18 2022-03-18 12:41:32 +01:00
twl4030-madc.c iio: adc: twl4030-madc: Re-use generic struct s16_fract 2022-01-30 12:21:25 +00:00
twl6030-gpadc.c iio: adc: Add check for devm_request_threaded_irq 2022-02-26 18:43:59 +00:00
vf610_adc.c iio:adc:vf610: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:43:12 +00:00
viperboard_adc.c
xilinx-ams.c iio: adc: xilinx-ams: fix return error variable 2022-05-14 14:48:26 +01:00
xilinx-xadc-core.c iio: xilinx-xadc-core: Use local variable in xadc_read_raw 2021-11-17 17:51:44 +00:00
xilinx-xadc-events.c iio: xilinx-xadc: Add basic support for Ultrascale System Monitor 2021-01-09 14:25:24 +00:00
xilinx-xadc.h iio: xilinx-xadc: Remove irq field from state struct 2021-10-20 14:43:53 +01:00