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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>

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(-)

-- 
2.32.0




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux