linux/drivers/iio/adc
Linus Torvalds 2d945dde7f This is the usual collection of primarily clk driver updates. The big part of
the diff is all the new Qualcomm clk drivers added for a few SoCs they're
 working on. The other two vendors with significant work this cycle are Renesas
 and Amlogic. Renesas adds a bunch of clks to existing drivers and supports some
 new SoCs while Amlogic is starting a significant refactoring to simplify their
 code.
 
 The core framework gained a pair of helpers to get the 'struct device' or
 'struct device_node' associated with a 'struct clk_hw'. Some associated KUnit
 tests were added for these simple helpers as well. Beyond that core change
 there are lots of little fixes throughout the clk drivers for the stuff we see
 every day, wrong clk driver data that affects tree topology or supported
 frequencies, etc. They're not found until the clks are actually used by some
 consumer device driver.
 
 New Drivers:
  - Global, display, gpu, video, camera, tcsr, and rpmh clock controller for the
    Qualcomm Milos SoC
  - Camera, display, GPU, and video clock controllers for Qualcomm QCS615
  - Video clock controller driver for Qualcomm SM6350
  - Camera clock controller driver for Qualcomm SC8180X
  - I3C clocks and resets on Renesas RZ/G3E
  - Expanded Serial Peripheral Interface (xSPI) clocks and resets on
    Renesas RZ/V2H(P) and RZ/V2N
  - SPI (RSPI) clocks and resets on Renesas RZ/V2H(P)
  - SDHI and I2C clocks on Renesas RZ/T2H and RZ/N2H
  - Ethernet clocks and resets on Renesas RZ/G3E
  - Initial support for the Renesas RZ/T2H (R9A09G077) and RZ/N2H
    (R9A09G087) SoCs
  - Ethernet clocks and resets on Renesas RZ/V2H and RZ/V2N
  - Timer, I2C, watchdog, GPU, and USB2.0 clocks and resets on Renesas
    RZ/V2N
 
 Updates:
  - Support atomic PWMs in the PWM clk driver
  - clk_hw_get_dev() and clk_hw_get_of_node() helpers
  - Replace round_rate() with determine_rate() in various clk drivers
  - Convert clk DT bindings to DT schema format for DT validation
  - Various clk driver cleanups and refactorings from static analysis tools and
    possibly real humans
  - A lot of little fixes here and there to things like clk tree topology,
    missing frequencies, flagging clks as critical, etc. The full details are in
    the commits and sub-tree merge logs
 -----BEGIN PGP SIGNATURE-----
 
 iQJIBAABCAAyFiEE9L57QeeUxqYDyoaDrQKIl8bklSUFAmiLljkUHHN3Ym95ZEBj
 aHJvbWl1bS5vcmcACgkQrQKIl8bklSVR1BAAm5hnFdYvNX/AYK+bNNbb/YkbveGr
 wxrZFjd/1QEZii7UBBOENLjvbrxT4N93TGuwuHOy+iz53X4mWg1BST0RENtmks9v
 rys7suEkDVA7KoDEbcvbUhLbLObEQvr3sxurl2mvq563y02hkJ+rt3kDqdCn/MFK
 fUfqZ79oPLaMULy3XwFyrEQEcxqQTX7i+j1atCB4TPmBSu3R5WMsCS+IVKPCuxCF
 qcan5hCXakv4gBE/jF9x/u28j0m9v16uB2O/7sH3uDzHo/FxShBmC53Bj2Mtaf2w
 lSKhEngCAMItU2LtruO2szpsmoy9EZTIqzELr5GJGXFDQDHiTzcigRtD5MCWjdG1
 aapgWs47Yslh0M+d8Im81hu1YaLGDuoY7QiOVMN/htn0nPEozU1farKJbD3/gj9U
 C6648EXYa/dqDBRRHeqLi4n1RK0Fzb15VvsanKn1nLy+cOvzNI4bpJjEJlUQjZMN
 8MzvzBgLNsydDQC5I8JAPPK2Fcdpk3KpchphZrXLZY8iRco5kvx1mRjh90Lvr8N8
 rmpUC6p1BdEIGhL+NAh7qCz9DOKfsaFr13tHpqD/PItzfHIyd7mss+7GSD6WCa/b
 MduE9172Uq0mY8ZnWe0vV7/+s9GE7oTsxdMC6oF5yTXRIpog7evkUqNyXhpNTxgS
 C2DLCDhaqpHI28c=
 =S+dB
 -----END PGP SIGNATURE-----

Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux

Pull clk updates from Stephen Boyd:
 "This is the usual collection of primarily clk driver updates.

  The big part of the diff is all the new Qualcomm clk drivers added for
  a few SoCs they're working on. The other two vendors with significant
  work this cycle are Renesas and Amlogic. Renesas adds a bunch of clks
  to existing drivers and supports some new SoCs while Amlogic is
  starting a significant refactoring to simplify their code.

  The core framework gained a pair of helpers to get the 'struct device'
  or 'struct device_node' associated with a 'struct clk_hw'. Some
  associated KUnit tests were added for these simple helpers as well.

  Beyond that core change there are lots of little fixes throughout the
  clk drivers for the stuff we see every day, wrong clk driver data that
  affects tree topology or supported frequencies, etc. They're not found
  until the clks are actually used by some consumer device driver.

  New Drivers:
   - Global, display, gpu, video, camera, tcsr, and rpmh clock
     controller for the Qualcomm Milos SoC
   - Camera, display, GPU, and video clock controllers for Qualcomm
     QCS615
   - Video clock controller driver for Qualcomm SM6350
   - Camera clock controller driver for Qualcomm SC8180X
   - I3C clocks and resets on Renesas RZ/G3E
   - Expanded Serial Peripheral Interface (xSPI) clocks and resets on
     Renesas RZ/V2H(P) and RZ/V2N
   - SPI (RSPI) clocks and resets on Renesas RZ/V2H(P)
   - SDHI and I2C clocks on Renesas RZ/T2H and RZ/N2H
   - Ethernet clocks and resets on Renesas RZ/G3E
   - Initial support for the Renesas RZ/T2H (R9A09G077) and RZ/N2H
     (R9A09G087) SoCs
   - Ethernet clocks and resets on Renesas RZ/V2H and RZ/V2N
   - Timer, I2C, watchdog, GPU, and USB2.0 clocks and resets on Renesas
     RZ/V2N

  Updates:
   - Support atomic PWMs in the PWM clk driver
   - clk_hw_get_dev() and clk_hw_get_of_node() helpers
   - Replace round_rate() with determine_rate() in various clk drivers
   - Convert clk DT bindings to DT schema format for DT validation
   - Various clk driver cleanups and refactorings from static analysis
     tools and possibly real humans
   - A lot of little fixes here and there to things like clk tree
     topology, missing frequencies, flagging clks as critical, etc"

* tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (216 commits)
  clk: clocking-wizard: Fix the round rate handling for versal
  clk: Fix typos
  clk: spacemit: ccu_pll: fix error return value in recalc_rate callback
  clk: tegra: periph: Make tegra_clk_periph_ops static
  clk: tegra: periph: Fix error handling and resolve unsigned compare warning
  clk: imx: scu: convert from round_rate() to determine_rate()
  clk: imx: pllv4: convert from round_rate() to determine_rate()
  clk: imx: pllv3: convert from round_rate() to determine_rate()
  clk: imx: pllv2: convert from round_rate() to determine_rate()
  clk: imx: pll14xx: convert from round_rate() to determine_rate()
  clk: imx: pfd: convert from round_rate() to determine_rate()
  clk: imx: frac-pll: convert from round_rate() to determine_rate()
  clk: imx: fracn-gppll: convert from round_rate() to determine_rate()
  clk: imx: fixup-div: convert from round_rate() to determine_rate()
  clk: imx: cpu: convert from round_rate() to determine_rate()
  clk: imx: busy: convert from round_rate() to determine_rate()
  clk: imx: composite-93: remove round_rate() in favor of determine_rate()
  clk: imx: composite-8m: remove round_rate() in favor of determine_rate()
  clk: qcom: Remove redundant pm_runtime_mark_last_busy() calls
  clk: imx: Remove redundant pm_runtime_mark_last_busy() calls
  ...
2025-07-31 13:36:27 -07:00
..
ab8500-gpadc.c
ad799x.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
ad4000.c iio: adc: ad4000: don't use shift_right() 2025-07-13 15:36:25 +01:00
ad4030.c iio: adc: ad4030: remove bits_per_word = 8 2025-05-21 14:20:30 +01:00
ad4080.c iio: adc: ad4080: add driver support 2025-06-09 07:45:35 +01:00
ad4130.c iio: adc: ad4130: use new GPIO line value setter callbacks 2025-04-22 19:10:02 +01:00
ad4170-4.c iio: adc: ad4170-4: Add support for weigh scale, thermocouple, and RTD sens 2025-07-14 19:20:53 +01:00
ad4695.c iio: adc: ad4695: rename AD4695_MAX_VIN_CHANNELS 2025-05-21 14:20:31 +01:00
ad4851.c iio: adc: ad4851: add spi 3-wire support 2025-07-06 10:37:51 +01:00
ad7091r-base.c iio: adc: ad7091r-base: Remove duplicate code on volatile reg check 2025-05-21 14:20:29 +01:00
ad7091r-base.h
ad7091r5.c iio: adc: ad7091r5: make ad7091r5_init_info const 2025-07-06 10:37:51 +01:00
ad7091r8.c iio: adc: ad7091r8: make ad7091r_init_info const 2025-07-06 10:37:52 +01:00
ad7124.c iio: adc: ad7124: Use separate structures rather than array for chip info 2025-07-13 15:36:24 +01:00
ad7173.c iio: adc: ad7173: fix setting ODR in probe 2025-07-16 08:47:50 +01:00
ad7191.c iio: adc: ad7191: add AD7191 2025-03-11 19:08:56 +00:00
ad7192.c IIO: New device support, features and cleanup for the 6.15 cycle. 2025-03-14 07:15:12 +01:00
ad7266.c IIO: New device support, features and cleanup for 6.16 - take 2 2025-05-22 15:54:52 +02:00
ad7280a.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
ad7291.c
ad7292.c
ad7298.c iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
ad7380.c Char / Misc / IIO / other driver updates for 6.17-rc1 2025-07-29 09:52:01 -07:00
ad7405.c iio: adc: ad7405: add ad7405 driver 2025-06-26 19:32:52 +01:00
ad7476.c iio: adc: ad7476: Support ROHM BU79100G 2025-06-09 07:45:36 +01:00
ad7606.c iio: adc: ad7606: add gain calibration support 2025-06-09 07:45:37 +01:00
ad7606.h iio: adc: ad7606: add gain calibration support 2025-06-09 07:45:37 +01:00
ad7606_bus_iface.h iio: adc: adi-axi-adc: add platform children support 2025-02-11 19:56:25 +00:00
ad7606_par.c iio: adc: ad7606_par: add ad7606c chips 2025-04-22 19:09:54 +01:00
ad7606_spi.c IIO: New device support, features and cleanup for 6.16 - take 2 2025-05-22 15:54:52 +02:00
ad7625.c iio: adc: ad7625: Stop using iio_device_claim_direct_scoped() 2025-02-17 13:01:43 +00:00
ad7766.c
ad7768-1.c iio: adc: ad7768-1: add low pass -3dB cutoff attribute 2025-07-13 15:36:24 +01:00
ad7779.c iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
ad7780.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
ad7791.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
ad7793.c iio: adc: ad7793: Switch to sparse friendly iio_device_claim/release_direct() 2025-03-04 13:17:49 +00:00
ad7887.c iio: adc: Switch to sparse friendly iio_device_claim/release_direct() 2025-03-04 13:17:50 +00:00
ad7923.c iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
ad7944.c IIO: New device support, features and cleanup for 6.16 - take 2 2025-05-22 15:54:52 +02:00
ad7949.c iio: adc: ad7949: use spi_is_bpw_supported() 2025-06-29 17:15:39 +01:00
ad9467.c iio: adc: ad9467: Stop using iio_device_claim_direct_scoped() 2025-02-17 13:01:55 +00:00
ad_sigma_delta.c iio: adc: ad_sigma_delta: change to buffer predisable 2025-07-16 08:47:12 +01:00
adi-axi-adc.c This is the usual collection of primarily clk driver updates. The big part of 2025-07-31 13:36:27 -07:00
aspeed_adc.c
at91-sama5d2_adc.c iio: adc: at91-sama5d2: use IIO_DECLARE_BUFFER_WITH_TS 2025-05-21 14:20:32 +01:00
at91_adc.c iio: adc: at91_adc: make at91_adc_caps const 2025-07-06 10:37:52 +01:00
axp20x_adc.c Char / Misc / IIO / other driver updates for 6.17-rc1 2025-07-29 09:52:01 -07:00
axp288_adc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
bcm_iproc_adc.c
berlin2-adc.c
cc10001_adc.c
cpcap-adc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
da9150-gpadc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
dln2-adc.c iio: adc: dln2-adc: use = { } instead of memset() 2025-06-26 19:32:55 +01:00
envelope-detector.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
ep93xx_adc.c
exynos_adc.c
fsl-imx25-gcq.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
gehc-pmc-adc.c
hi8435.c iio: Remove single use of macro definition for driver name 2025-06-09 07:45:36 +01:00
hx711.c iio: adc: hx711: use struct with aligned_s64 timestamp 2025-05-21 14:20:27 +01:00
imx7d_adc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
imx8qxp-adc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
imx93_adc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
ina2xx-adc.c iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
industrialio-adc.c iio: adc: add helpers for parsing ADC nodes 2025-04-22 19:09:52 +01:00
ingenic-adc.c
intel_mrfld_adc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
Kconfig iio: adc: ad_sigma_delta: Select IIO_BUFFER_DMAENGINE and SPI_OFFLOAD 2025-07-16 08:50:41 +01:00
lp8788_adc.c
lpc18xx_adc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
lpc32xx_adc.c
ltc2309.c
ltc2471.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
ltc2485.c
ltc2496.c
ltc2497-core.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
ltc2497.c
ltc2497.h module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
Makefile iio: adc: Add basic support for AD4170-4 2025-07-14 19:20:51 +01:00
max1027.c iio: adc: max1027: Switch to sparse friendly iio_device_claim/release_direct() 2025-03-04 13:17:50 +00:00
max1118.c iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
max1241.c
max1363.c iio: adc: max1363: Reorder mode_list[] entries 2025-06-09 07:45:19 +01:00
max9611.c iio: Remove single use of macro definition for driver name 2025-06-09 07:45:36 +01:00
max11100.c
max11205.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
max11410.c iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
max34408.c iio: adc: Include cleanup.h when using guard() 2025-03-04 13:17:51 +00:00
max77541-adc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
mcp320x.c
mcp3422.c
mcp3564.c
mcp3911.c iio: adc: mcp3911: add reset management 2025-05-21 14:20:30 +01:00
men_z188_adc.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
meson_saradc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
mp2629_adc.c iio: adc: mp2629_adc: make mp2629_channels const 2025-07-06 10:37:52 +01:00
mt6359-auxadc.c iio: adc: mt6359: Add support for MediaTek MT6373 PMIC AUXADC 2025-07-13 15:36:26 +01:00
mt6360-adc.c iio: adc: mt6360-adc: use = { } instead of memset() 2025-06-26 19:32:55 +01:00
mt6370-adc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
mt6577_auxadc.c
mxs-lradc-adc.c iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
nau7802.c
nct7201.c iio: adc: add support for Nuvoton NCT7201 2025-05-21 14:22:32 +01:00
npcm_adc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
pac1921.c iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
pac1934.c iio: adc: PAC1934: fix typo in documentation link 2025-05-21 14:20:28 +01:00
palmas_gpadc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
qcom-pm8xxx-xoadc.c
qcom-spmi-adc5.c
qcom-spmi-iadc.c iio: adc: qcom-spmi-iadc: Fix wakeup source leaks on device unbind 2025-04-12 12:24:00 +01:00
qcom-spmi-rradc.c mailmap: update and consolidate Casey Connolly's name and email 2025-05-21 10:48:24 -07:00
qcom-spmi-vadc.c
qcom-vadc-common.c iio: adc: qcom-vadc: make scale_adc5_fn const 2025-07-06 10:37:52 +01:00
rcar-gyroadc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
rn5t618-adc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
rockchip_saradc.c iio: adc: rockchip_saradc: use = { } instead of memset() 2025-06-26 19:32:55 +01:00
rohm-bd79124.c iio: bd79124: Use set_rv and set_multiple_rv 2025-04-22 19:10:02 +01:00
rtq6056.c iio: adc: rtq6056: use = { } instead of memset() 2025-06-26 19:32:55 +01:00
rzg2l_adc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
sc27xx_adc.c
sd_adc_modulator.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
sophgo-cv1800b-adc.c
spear_adc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
stm32-adc-core.c Char / Misc / IIO / other driver updates for 6.17-rc1 2025-07-29 09:52:01 -07:00
stm32-adc-core.h iio: adc: stm32: add oversampling support 2025-05-21 14:20:28 +01:00
stm32-adc.c iio: adc: stm32-adc: make stm32_adc_trig_info const 2025-07-06 10:37:52 +01:00
stm32-dfsdm-adc.c iio: adc: stm32-dfsdm: Fix build warnings about export.h 2025-06-26 19:32:52 +01:00
stm32-dfsdm-core.c iio: adc: stm32-dfsdm: Fix build warnings about export.h 2025-06-26 19:32:52 +01:00
stm32-dfsdm.h
stmpe-adc.c
sun4i-gpadc-iio.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
sun20i-gpadc-iio.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
ti-adc081c.c iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
ti-adc084s021.c iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
ti-adc108s102.c iio: adc: Switch to sparse friendly iio_device_claim/release_direct() 2025-03-04 13:17:50 +00:00
ti-adc128s052.c iio: ti-adc128s052: Drop variable vref 2025-05-21 14:20:30 +01:00
ti-adc161s626.c iio: adc: ti-adc161s626: Stop using iio_device_claim_direct_scoped() 2025-02-17 13:02:16 +00:00
ti-adc0832.c iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
ti-adc12138.c iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
ti-ads124s08.c iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
ti-ads131e08.c iio: adc: ti-ads131e08: Fix spelling mistake "tweek" -> "tweak" 2025-06-26 19:32:51 +01:00
ti-ads1015.c iio: adc: ti-ads1015: use = { } instead of memset() 2025-06-26 19:32:56 +01:00
ti-ads1100.c iio: adc: ti-ads1100: Switch to sparse friendly iio_device_claim/release_direct() 2025-04-22 19:09:55 +01:00
ti-ads1119.c iio: adc: ti-ads1119: use = { } instead of memset() 2025-06-26 19:32:56 +01:00
ti-ads1298.c iio: adc: Switch to sparse friendly iio_device_claim/release_direct() 2025-03-04 13:17:50 +00:00
ti-ads7138.c iio: adc: Add driver for ADS7128 / ADS7138 2025-02-16 15:52:22 +00:00
ti-ads7924.c iio: adc: ti-ads7924 Drop unnecessary function parameters 2025-03-11 19:09:17 +00:00
ti-ads7950.c iio: adc: ti-ads7950: use new GPIO line value setter callbacks 2025-04-22 19:10:02 +01:00
ti-ads8344.c
ti-ads8688.c iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
ti-lmp92064.c iio: adc: ti-lmp92064: use = { } instead of memset() 2025-06-26 19:32:56 +01:00
ti-tlc4541.c iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks. 2025-05-21 14:20:26 +01:00
ti-tsc2046.c iio: adc: ti-tsc2046: use = { } instead of memset() 2025-06-26 19:32:56 +01:00
ti_am335x_adc.c
twl4030-madc.c
twl6030-gpadc.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
vf610_adc.c iio: Remove single use of macro definition for driver name 2025-06-09 07:45:36 +01:00
viperboard_adc.c
xilinx-ams.c
xilinx-xadc-core.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
xilinx-xadc-events.c
xilinx-xadc.h