linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/15] staging:iio:hmc5843 cleanup
@ 2013-09-19 19:35 Peter Meerwald
  2013-09-19 19:35 ` [PATCH v2 01/15] staging:iio:hmc5843: Add pointer to i2c client to data struct Peter Meerwald
                   ` (15 more replies)
  0 siblings, 16 replies; 29+ messages in thread
From: Peter Meerwald @ 2013-09-19 19:35 UTC (permalink / raw)
  To: linux-iio

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


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2013-10-01  9:10 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-19 19:35 [PATCH v2 00/15] staging:iio:hmc5843 cleanup Peter Meerwald
2013-09-19 19:35 ` [PATCH v2 01/15] staging:iio:hmc5843: Add pointer to i2c client to data struct Peter Meerwald
2013-09-21 10:46   ` Jonathan Cameron
2013-10-01  9:40     ` Jonathan Cameron
2013-10-01  8:44       ` Peter Meerwald
2013-10-01 10:10         ` Jonathan Cameron
2013-09-19 19:35 ` [PATCH v2 02/15] staging:iio:hmc5843: Rewrite init function Peter Meerwald
2013-10-01  9:41   ` Jonathan Cameron
2013-09-19 19:35 ` [PATCH v2 03/15] staging:iio:hmc5843: Use INFO_SAMP_FREQ Peter Meerwald
2013-10-01  9:44   ` Jonathan Cameron
2013-09-19 19:35 ` [PATCH v2 04/15] staging:iio:hmc5843: Remove unused LSB register #defines Peter Meerwald
2013-10-01  9:55   ` Jonathan Cameron
2013-09-19 19:35 ` [PATCH v2 05/15] staging:iio:hmc5843: Tighten comments Peter Meerwald
2013-09-19 19:35 ` [PATCH v2 06/15] staging:iio:hmc5843: Introduce helper functions to show/check list of int pairs Peter Meerwald
2013-10-01  9:55   ` Jonathan Cameron
2013-10-01  9:58     ` Jonathan Cameron
2013-09-19 19:35 ` [PATCH v2 07/15] staging:iio:hmc5843: Use CALIBSCALE instead of magn_range Peter Meerwald
2013-09-20 19:57   ` Jonathan Cameron
2013-09-20 20:12     ` Peter Meerwald
2013-09-20 21:54       ` Jonathan Cameron
2013-09-19 19:35 ` [PATCH v2 08/15] staging:iio:hmc5843: Always read all channels values otherwise no updates Peter Meerwald
2013-09-19 19:35 ` [PATCH v2 09/15] staging:iio:hmc5843: Add trigger handling Peter Meerwald
2013-09-19 19:35 ` [PATCH v2 10/15] staging:iio:hmc5843: Remove ability to change operating mode Peter Meerwald
2013-09-19 19:35 ` [PATCH v2 11/15] staging:iio:hmc5843: Rename _configure() to _set_mode() Peter Meerwald
2013-09-19 19:35 ` [PATCH v2 12/15] staging:iio:hmc5843: Reorganize _set_meas_conf() Peter Meerwald
2013-09-19 19:35 ` [PATCH v2 13/15] staging:iio:hmc5843: Rename _set_rate() to _set_samp_freq() Peter Meerwald
2013-09-19 19:35 ` [PATCH v2 14/15] staging:iio:hmc5843: Introduce _set_range_gain() Peter Meerwald
2013-09-19 19:36 ` [PATCH v2 15/15] staging:iio:hmc5843: Check initialization and chip identifier Peter Meerwald
2013-09-20 20:05 ` [PATCH v2 00/15] staging:iio:hmc5843 cleanup Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).