Skip to content

stagging:iio:meter: Add essential IIO API structures for ADE7854

Rodrigo Siqueira linux-iio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3stagging:iio:meter: Add iio_chan_specdrivers/staging/iio/meter/ade7854.c+42 -01 reply
2/3stagging:iio:meter: Add ade7854_read_raw functiondrivers/staging/iio/meter/ade7854.c+34 -71 reply
3/3stagging:iio:meter: Add ade7854_write_raw functiondrivers/staging/iio/meter/ade7854.c+25 -354 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/3] stagging:iio:meter: Add essential IIO API structures for ADE7854

This patchset aims to update ADE7854 by adding the required IIO API components. The first patch adds the iio_chan_spec for handling seven different registers (all of them with a similar behavior). The second patch appends the read_raw function defined by the IIO API. Finally, the third patch adds the write_raw function and remove the attributes used for handling the seven registers. This patchset has the contribution of John Syne, which was responsible for mapping the correct ABI name per element in the ADE7854; additionally, John provided codes that helped to shape these patches.

Rodrigo Siqueira (3):
stagging:iio:meter: Add iio_chan_spec stagging:iio:meter: Add ade7854_read_raw function stagging:iio:meter: Add ade7854_write_raw function

 drivers/staging/iio/meter/ade7854.c | 129 ++++++++++++++++++++--------
 1 file changed, 94 insertions(+), 35 deletions(-)
Signature · 1 line
2.17.0