[PATCH v2 00/15] staging:iio:hmc5843 cleanup

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

 



updated v2 patch series of the hmc5843 cleanup, addressnig comments by 
Jonathan Cameron

patch 1: correctly dereferencing dev, fixed suspend/resume
patch 7: checked CALIBSCALE, output is as follows

  # cat calibscale_available 
  0.880000 1.300000 1.900000 2.500000 4.0 4.700000 5.600000 8.100000
  # cat in_magn_calibscale 
  1.300000
  # cat in_magn_scale 
  0.000009174
  # cat in_magn_x_raw 
  252
  # echo 1.900000 > in_magn_calibscale
  # cat in_magn_scale 
  0.000012195
  # cat in_magn_x_raw 
  198
  # echo 0.88 > in_magn_calibscale
  # cat in_magn_scale 
  0.000007299
  # cat in_magn_x_raw
  318

  calibscale adjusts the measurement range and scale is used to keep Gauss
  reading the same
  
patch 9: buffer is now part of hmc5843_data, using IIO core demux as suggested

remaining patches should not have changed

Peter Meerwald (15):
  staging:iio:hmc5843: Add pointer to i2c client to data struct
  staging:iio:hmc5843: Rewrite init function
  staging:iio:hmc5843: Use INFO_SAMP_FREQ
  staging:iio:hmc5843: Remove unused LSB register #defines
  staging:iio:hmc5843: Tighten comments
  staging:iio:hmc5843: Introduce helper functions to show/check list of
    int pairs
  staging:iio:hmc5843: Use CALIBSCALE instead of magn_range
  staging:iio:hmc5843: Always read all channels values otherwise no
    updates
  staging:iio:hmc5843: Add trigger handling
  staging:iio:hmc5843: Remove ability to change operating mode
  staging:iio:hmc5843: Rename _configure() to _set_mode()
  staging:iio:hmc5843: Reorganize _set_meas_conf()
  staging:iio:hmc5843: Rename _set_rate() to _set_samp_freq()
  staging:iio:hmc5843: Introduce _set_range_gain()
  staging:iio:hmc5843: Check initialization and chip identifier

 drivers/staging/iio/magnetometer/hmc5843.c | 612 ++++++++++++++---------------
 1 file changed, 287 insertions(+), 325 deletions(-)

-- 
1.8.4

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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