On Mon, 10 Mar 2025 14:53:50 +0200
Matti Vaittinen <mazziesaccount@xxxxxxxxx> wrote:
Support ROHM BD79124 ADC.This probably wants an update. Also, 00/10? There are only 8 that I can see.
This series adds also couple of IIO ADC helper functions for parsing the
channel information from the device tree. There are also new helpers
included for iterating and counting firmware child nodes with a specific
name.
Series does also convert couple of drivers to use these helpers. The
rzg2l_adc and the sun20i-gpadc are converted to use the new ADC helper.
The gianfar driver under net and the thp7312 under media/i2c are added as
first users of the newly added "named child node" -helpers.
There has been some discussion about how useful these ADC helpers are,
and whether they should support also differential and single ended channel
configurations. This version does not include support for those - with the
benefit of reduced complexity and easier to use API.
NOTE: Patches 4,5,9 and 10 are untested as I lack of relevant HW.
They have been compile tested only.