Skip to content

iio:adc:ad7124: Convert to generic firmware handling

Jonathan Cameron linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio:adc:ad7124: Parse configuration into correct local config structure.drivers/iio/adc/ad7124.c+2 -10 replies
2/2iio:adc:ad7124: Convert to fwnode handling of child node parsing.drivers/iio/adc/ad7124.c+18 -177 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] iio:adc:ad7124: Convert to generic firmware handling

From: Jonathan Cameron <[email protected]>

The fix was something noticed whilst editing adjacent code.

Testing (minimal) done with hacked QEMU and a the device ID checks commented out. The driver handling of channel subnodes could be made more forgiving than it currently is, but this series doesn't attempt to change that and I'd be wary doing so without hardware.

Andy pointed out we had a bunch of this of_ specific stuff still in IIO and it would be good to reduce this. I'm not that bothered about cases tied directly to specific SoCs but for general SPI / I2C devices it would be nice if ACPI uses of PRP0001 worked for all of them and we ensure there are no 'bad' examples for people to base new drivers on.

Jonathan Cameron (2):
iio:adc:ad7124: Parse configuration into correct local config
structure.
iio:adc:ad7124: Convert to fwnode handling of child node parsing.

 drivers/iio/adc/ad7124.c | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)
Signature · 1 line
2.32.0