linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Meerwald <pmeerw@pmeerw.net>
To: linux-iio@vger.kernel.org
Subject: [PATCH v2 00/15] staging:iio:hmc5843 cleanup
Date: Thu, 19 Sep 2013 21:35:45 +0200	[thread overview]
Message-ID: <1379619360-8150-1-git-send-email-pmeerw@pmeerw.net> (raw)

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


             reply	other threads:[~2013-09-19 19:36 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-19 19:35 Peter Meerwald [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1379619360-8150-1-git-send-email-pmeerw@pmeerw.net \
    --to=pmeerw@pmeerw.net \
    --cc=linux-iio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).