public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] staging: iio: light: isl29018: Remove non-standard sysfs attributes
@ 2015-04-16 19:20 Roberta Dobrescu
  2015-04-16 19:20 ` [PATCH v2 1/3] " Roberta Dobrescu
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Roberta Dobrescu @ 2015-04-16 19:20 UTC (permalink / raw)
  To: linux-iio; +Cc: jic23, knaack.h, lars, pmeerw, daniel.baluta, Roberta Dobrescu

This set of patches removes non-standard sysfs attributes used
by isl29018 driver.

Integration time is used instead of adc resolution since these are
strongly connected. Also, full scale range is controlled by scale.
isl29018 driver code is refactored in order to use these standard attributes.

Additionally, it renames lux_scale to calibscale and lux_uscale to
ucalibscale since these parameters are used for hardware applied calibration.

The purpose of these patches is to change the isl29018 driver to use
standard IIO attributes in order to be moved out of staging.

Changes since v1:
	* Use integration time for controlling adc resolution
	* Use scale to control range instead of introducing IIO_CHAN_INFO_RANGE

Roberta Dobrescu (3):
  staging: iio: light: isl29018: Remove non-standard sysfs attributes
  staging: iio: light: isl29018: Rename lux_scale to calibscale
  staging: iio: light: isl29018: Use standard sysfs attributes for scale
    and integration time

 drivers/staging/iio/light/isl29018.c | 294 +++++++++++++++++++----------------
 1 file changed, 163 insertions(+), 131 deletions(-)

-- 
1.9.1


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

end of thread, other threads:[~2015-06-29  7:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-16 19:20 [PATCH v2 0/3] staging: iio: light: isl29018: Remove non-standard sysfs attributes Roberta Dobrescu
2015-04-16 19:20 ` [PATCH v2 1/3] " Roberta Dobrescu
2015-04-26 19:46   ` Jonathan Cameron
2015-04-16 19:20 ` [PATCH v2 2/3] staging: iio: light: isl29018: Rename lux_scale to calibscale Roberta Dobrescu
2015-04-26 19:46   ` Jonathan Cameron
2015-04-16 19:20 ` [PATCH v2 3/3] staging: iio: light: isl29018: Use standard sysfs attributes for scale and integration time Roberta Dobrescu
2015-04-26 19:51   ` Jonathan Cameron
2015-04-27 16:03     ` Rhyland Klein
2015-05-02 11:02       ` Jonathan Cameron
2015-05-02 15:55         ` Roberta Dobrescu
2015-06-27  9:34   ` Hartmut Knaack
2015-06-29  7:24     ` Daniel Baluta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox