[PATCH v2 3/3] iio: hmc5843: Move hmc5843 out of staging

2016-02-14 Thread Cristina Moraru
This patch moves hmc5843 driver from staging/iio/magnetometer to iio/magnetometer, updates the corresponding Makefiles and moves the hmc5843* entries to the 'Industrial I/O support -> Magnetometer sensors' menu. Signed-off-by: Cristina Moraru Cc: Daniel Baluta --- Changes since v

[PATCH v2 1/3] iio: hmc5843: Add attributes for measurement config of bias current

2016-02-14 Thread Cristina Moraru
led. Temperature sensor is enabled. Signed-off-by: Cristina Moraru Cc: Daniel Baluta --- Changes since v1: Changed user interface for bias configuration from integer values to string values in order to make it more suggestive. Used iio_enum from implementat

[PATCH v2 0/3] iio: hmc5843: Fix issues and move out of staging

2016-02-14 Thread Cristina Moraru
drivers/iio/magnetometer updating corresponding Makefile and Kconfig files. Cristina Moraru (3): iio: hmc5843: Add attributes for measurement config of bias current iio: hmc5843: Add ABI documentation file for hmc5843 iio: hmc5843: Move hmc5843 out of staging .../ABI/testing/sysfs-bus-iio

[PATCH v2 2/3] iio: hmc5843: Add ABI documentation file for hmc5843

2016-02-14 Thread Cristina Moraru
Add ABI file documenting hmc5843 non-standard attributes meas_conf and meas_conf_available for bias current configuration. Signed-off-by: Cristina Moraru Cc: Daniel Baluta --- Changes since v1: Changed API from integer values to string values .../ABI/testing/sysfs-bus-iio-magnetometer

[PATCH 4/5] iio: hmc5843: Fix comment style warnings

2016-02-07 Thread Cristina Moraru
Fix comment style warnings in order to comply with Coding Style standard provided by Documentation/CodingStyle. This patch solves following issue found with checkpatch: WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Cristina Moraru --- drivers/staging/iio

[PATCH 5/5] iio: hmc5843: Move hmc5843 out of staging

2016-02-07 Thread Cristina Moraru
This patch moves hmc5843 driver from staging/iio/magnetometer to iio/magnetometer, updates the corresponding Makefiles and moves the hmc5843* entries to the 'Industrial I/O support -> Magnetometer sensors' menu. Signed-off-by: Cristina Moraru --- drivers/iio/magneto

[PATCH 1/5] iio: hmc5843: Add attribute for available measurement config

2016-02-07 Thread Cristina Moraru
resistive load on pins BP and BN. 3 - Only available on HMC5983. Magnetic sensor is disabled. Temperature sensor is enabled. Signed-off-by: Cristina Moraru --- drivers/staging/iio/magnetometer/hmc5843_core.c | 83 +++-- 1 file changed, 65 insertions(+), 18 deletions

[PATCH 2/5] iio: hmc5843: Swap suspend and resume implementations

2016-02-07 Thread Cristina Moraru
Swap implementations of hmc5843_common_suspend and hmc5843_common_resume functions for they have been inversed. Device should go on SLEEP mode on suspend and on CONTINUOUS mode on resume. Signed-off-by: Cristina Moraru --- drivers/staging/iio/magnetometer/hmc5843_core.c | 4 ++-- 1 file changed

[PATCH 0/5] iio: hmc5843: Fix issues and move out of staging

2016-02-07 Thread Cristina Moraru
drivers/iio/magnetometer updating corresponding Makefile and Kconfig files. Cristina Moraru (5): iio: hmc5843: Add attribute for available measurement config iio: hmc5843: Swap suspend and resume implementations iio: hmc5843: Add ABI documentation file for hmc5843 iio: hmc5843: Fix comment

[PATCH 3/5] iio: hmc5843: Add ABI documentation file for hmc5843

2016-02-07 Thread Cristina Moraru
Add ABI file documenting hmc5843 non-standard attributes meas_conf and meas_conf_available for bias current configuration. Signed-off-by: Cristina Moraru --- .../ABI/testing/sysfs-bus-iio-magnetometer-hmc5843| 15 +++ 1 file changed, 15 insertions(+) create mode 100644

[RFC PATCH 1/2] iio: hmc5843 Add channel attribute for bias configuration

2016-02-04 Thread Cristina Moraru
pins BP and BN. 3 - Only available on HMC5983. Magnetic sensor is disabled. Temperature sensor is enabled. With this in place, we can think of moving this driver out of staging. Signed-off-by: Cristina Moraru --- drivers/staging/iio/magnetometer/hmc5843_core.c | 62

[RFC PATCH 2/2] iio: hmc5843: Add attribute for available bias values

2016-02-04 Thread Cristina Moraru
resistive load on pins BP and BN. 3 - Only available on HMC5983. Magnetic sensor is disabled. Temperature sensor is enabled. Signed-off-by: Cristina Moraru --- drivers/staging/iio/magnetometer/hmc5843_core.c | 83 +++-- 1 file changed, 65 insertions(+), 18 deletions