Move more drivers to using samp_freq element of info_mask.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | iio:st sensors: remove custom sampling frequence attribute in favour of core support.drivers/ drivers/ drivers/ +3 more | +56 | 2 replies | |
| 2/7 | iio: gyro: itg3200 switch sampling frequency attr to core support.drivers/ | +43 | 2 replies | |
| 3/7 | iio: imu: mpu6050 switch sampling frequency attr to core support.drivers/ | +58 | 1 reply | |
| 4/7 | iio: gyro: adis16136 switch sampling frequency attr to core support.drivers/ | +8 | 1 reply | |
| 5/7 | iio: adis: Switch sampling frequency attr to core support.drivers/ drivers/ drivers/ +4 more | +99 | 3 replies | |
| 6/7 | iio: imu: adis16400 switch sampling frequency attr to core support.drivers/ | +25 | 3 replies | |
| 7/7 | iio: imu: adis16480 switch sampling frequency attr to core supportdrivers/ | +22 | 3 replies |
Reviews trailers per patch
5 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Hartmut Knaack | Lars-Peter Clausen |
|---|---|---|
| 1/7 | R-b | |
| 2/7 | R-b | |
| 3/7 | ||
| 4/7 | ||
| 5/7 | R-b | A-b |
| 6/7 | R-b | A-b |
| 7/7 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] Move more drivers to using samp_freq element of info_mask.
This is all part of a slow campaign to use the (relatively new) core support for info_mask elements applying to all channels.
The advantages are:
1) This element of device configuration is exposed for in kernel consumers of IIO channels to use.
2) Reduced code repitition.
Note this process is a precursor to reintroducing the patch set for core handing of _available attributes as posted a while back. At the time it was observed that this cleanup was in fact separate from that new functionality and made sense to do first.
Lots more drivers to do (if anyone else wants to do any then let me know).
Note, this will clash with the st magnetometer driver work from Reyad Attiyat. One of use will end up with an easy rebase depending on what order the patches hit in (or I'll sort it out at merge time).
Jonathan
Jonathan Cameron (7):
iio:st sensors: remove custom sampling frequence attribute in favour
of core support.
iio: gyro: itg3200 switch sampling frequency attr to core support.
iio: imu: mpu6050 switch sampling frequency attr to core support.
iio: gyro: adis16136 switch sampling frequency attr to core support.
iio: adis: Switch sampling frequency attr to core support.
iio: imu: adis16400 switch sampling frequency attr to core support.
iio: imu: adis16480 switch sampling frequency attr to core support
drivers/iio/accel/st_accel_core.c | 12 +- drivers/iio/common/st_sensors/st_sensors_core.c | 29 ----- drivers/iio/gyro/adis16136.c | 58 ++------- drivers/iio/gyro/adis16260.c | 124 ++++++++------------ drivers/iio/gyro/itg3200_core.c | 101 +++++++--------- drivers/iio/gyro/st_gyro_core.c | 12 +- drivers/iio/imu/adis16400_core.c | 78 ++++--------- drivers/iio/imu/adis16480.c | 82 ++++--------- drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 149 +++++++++--------------- drivers/iio/magnetometer/st_magn_core.c | 12 +- drivers/iio/pressure/st_pressure_core.c | 27 ++++- drivers/staging/iio/accel/adis16201_core.c | 14 +-- drivers/staging/iio/accel/adis16203_core.c | 11 +- drivers/staging/iio/accel/adis16204_core.c | 12 +- drivers/staging/iio/accel/adis16209_core.c | 18 +-- drivers/staging/iio/accel/adis16240_core.c | 12 +- include/linux/iio/common/st_sensors.h | 12 +- include/linux/iio/imu/adis.h | 33 +++--- 18 files changed, 311 insertions(+), 485 deletions(-)
Signature · 1 line
2.0.0