Skip to content

Rework for AFE440x drivers to prepare for AFE4405

Andrew F. Davis linux-api linux-iio lkml 1 version Applied

Status from this message: Applied to the togreg branch of iio.git - to be pushed out in a day or two

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 18 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/13iio: health/afe440x: Fix kernel-doc formatdrivers/iio/health/afe4403.c drivers/iio/health/afe4404.c+17 -171 reply
2/13iio: health/afe440x: Remove of_match_ptr and ifdefsdrivers/iio/health/afe4403.c drivers/iio/health/afe4404.c+2 -61 reply
3/13iio: health/afe440x: Remove unneeded initializersdrivers/iio/health/afe4403.c drivers/iio/health/afe4404.c+1 -101 reply
4/13iio: health/afe440x: Always use separate gain valuesDocumentation/ABI/testing/sysfs-bus-iio-health-afe440x drivers/iio/health/afe4403.c drivers/iio/health/afe4404.c +1 more+37 -1073 replies
5/13iio: health/afe440x: Fix scan_index assignmentdrivers/iio/health/afe440x.h+1 -11 reply
6/13iio: health/afe440x: Remove unneeded offset handlingdrivers/iio/health/afe4403.c+0 -171 reply
7/13iio: health/afe4404: Remove LED3 input channeldrivers/iio/health/afe4404.c+0 -31 reply
8/13iio: health/afe440x: Remove channel namesDocumentation/ABI/testing/sysfs-bus-iio-health-afe440x drivers/iio/health/afe4403.c drivers/iio/health/afe4404.c +1 more+51 -542 replies
9/13iio: health/afe440x: Use regmap fieldsdrivers/iio/health/afe4403.c drivers/iio/health/afe4404.c drivers/iio/health/afe440x.h+144 -1552 replies
10/13iio: health/afe440x: Make gain settings a modifier for the stagesDocumentation/ABI/testing/sysfs-bus-iio-health-afe440x drivers/iio/health/afe4403.c drivers/iio/health/afe4404.c+53 -341 reply
11/13iio: health/afe440x: Match LED currents to stagesdrivers/iio/health/afe4403.c drivers/iio/health/afe4404.c+10 -151 reply
12/13iio: health/afe440x: Remove unused definitionsdrivers/iio/health/afe4403.c drivers/iio/health/afe4404.c+0 -571 reply
13/13iio: health/afe4404: ENSEPGAIN is part of CONTROL2 registerdrivers/iio/health/afe4404.c+3 -31 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/13] Rework for AFE440x drivers to prepare for AFE4405

Hello all,

I will be posting a driver for the AFE4405 soon and in preparation for this I have made some changes to the existing drivers to better align them with the new part. Some of these changes are trivial, others change the sysfs entries, I understand these are considered ABIs and changes to even testing ABIs should not be made lightly, but my hope is that these changes will more accurately reflect the devices intended use and improve functionality as the first users begin to appear.

Thanks,
Andrew

Andrew F. Davis (13):
iio: health/afe440x: Fix kernel-doc format
iio: health/afe440x: Remove of_match_ptr and ifdefs
iio: health/afe440x: Remove unneeded initializers
iio: health/afe440x: Always use separate gain values
iio: health/afe440x: Fix scan_index assignment
iio: health/afe440x: Remove unneeded offset handling
iio: health/afe4404: Remove LED3 input channel
iio: health/afe440x: Remove channel names
iio: health/afe440x: Use regmap fields
iio: health/afe440x: Make gain settings a modifier for the stages
iio: health/afe440x: Match LED currents to stages
iio: health/afe440x: Remove unused definitions
iio: health/afe4404: ENSEPGAIN is part of CONTROL2 register

 .../ABI/testing/sysfs-bus-iio-health-afe440x       |  95 +++----
 drivers/iio/health/afe4403.c                       | 299 ++++++++------------
 drivers/iio/health/afe4404.c                       | 308 +++++++++------------
 drivers/iio/health/afe440x.h                       |  48 +---
 4 files changed, 295 insertions(+), 455 deletions(-)

rewrite Documentation/ABI/testing/sysfs-bus-iio-health-afe440x (72%)

Signature · 1 line
2.8.1