Skip to content

Convert twl4030-madc to IIO API and add DT support

Sebastian Reichel linux-devicetree linux-iio lkml 6 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest posting 2/27 patches 9 repliesApplied
  2. v3 posting 2/29 patches 6 repliesApplied
  3. v4 RFC posting 1/27 patches 11 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v3 RFC posting 1/27 patches5 repliesSuperseded
v2 RFC5 patches2 repliesSuperseded
v1 RFC4 patches8 repliesSuperseded

Patches in v4 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/7mfd: twl4030-madc: Use managed resourcesdrivers/mfd/twl4030-madc.c+6 -91 reply
2/7mfd: twl4030-madc: Add DT support and convert to IIO frameworkdrivers/mfd/twl4030-madc.c+116 -111 reply
3/7mfd: twl4030-madc: Cleanup driverdrivers/mfd/twl4030-madc.c include/linux/i2c/twl4030-madc.h+73 -741 reply
4/7mfd: twl-core: Add twl_i2c_read/write_u16include/linux/i2c/twl.h+12 -01 reply
5/7mfd: twl4030-madc: Use twl_i2c_read/write_u16 for 16 bit registersdrivers/mfd/twl4030-madc.c+8 -311 reply
6/7Documentation: DT: Document twl4030-madc bindingDocumentation/devicetree/bindings/iio/adc/twl4030-madc.txt+24 -01 reply
7/7mfd: twl4030-madc: Move driver to drivers/iio/adcdrivers/iio/adc/Kconfig drivers/iio/adc/Makefile drivers/iio/adc/twl4030-madc.c +2 more+11 -111 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchLee JonesJonathan CameronMarek Belisko
1/7A-b A-b T-b
2/7A-b A-b T-b
3/7A-b A-b T-b
4/7A-b A-b T-b
5/7A-b A-b T-b
6/7A-b
7/7A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCHv4 0/7] Convert twl4030-madc to IIO API and add DT support

Hi,

This is PATCHv4 for converting twl4030-madc to the IIO API and adding DT support. The plan is to remove the private twl4030-madc API once all users have been removed or converted to the IIO API. The patchset compiles and has been tested on my Nokia N900.

Changes since PATCHv3 [0]:
* Dropped the following patches (applied in iio tree)
- iio: documentation: Add ABI documentation for *_mean_raw
- iio: inkern: add iio_read_channel_average_raw
* Added some more Acked-by from Jonathan Cameron
- one of them on the basis of "Reorder that and I'm happy".
* Changed some minor stuff requested by Jonathan
- reorder cleanup calls in driver's remove function
- convert another comment to kerneldoc

Status:
* Only feedback from DT binding maintainers is missing. side note: The binding & the corresponding binding documentation patch has not changed since 2014-02-13. So depending on when the time frame starts the three weeks are over already ;)
* It would be nice to see this patchset in 3.15.

[0] https://lkml.org/lkml/2014/3/10/727

-- Sebastian

Sebastian Reichel (7):
mfd: twl4030-madc: Use managed resources
mfd: twl4030-madc: Add DT support and convert to IIO framework
mfd: twl4030-madc: Cleanup driver
mfd: twl-core: Add twl_i2c_read/write_u16
mfd: twl4030-madc: Use twl_i2c_read/write_u16 for 16 bit registers
Documentation: DT: Document twl4030-madc binding
mfd: twl4030-madc: Move driver to drivers/iio/adc

 .../devicetree/bindings/iio/adc/twl4030-madc.txt   |  24 ++
 drivers/iio/adc/Kconfig                            |  10 +
 drivers/iio/adc/Makefile                           |   1 +
 drivers/{mfd => iio/adc}/twl4030-madc.c            | 320 +++++++++++++--------
 drivers/mfd/Kconfig                                |  10 -
 drivers/mfd/Makefile                               |   1 -
 include/linux/i2c/twl.h                            |  12 +
 include/linux/i2c/twl4030-madc.h                   |   2 +-
 8 files changed, 247 insertions(+), 133 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/twl4030-madc.txt
 rename drivers/{mfd => iio/adc}/twl4030-madc.c (74%)
Signature · 1 line
1.9.0