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
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
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
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
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
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
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
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
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
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
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
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
12 matches
Mail list logo