Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1333930 > unrolled thread

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

Started byCristina Moraru <cristina.moraru09@gmail.com>
First post2016-02-15 01:10 +0100
Last post2016-02-21 21:30 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 0/3] iio: hmc5843: Fix issues and move out of staging Cristina Moraru <cristina.moraru09@gmail.com> - 2016-02-15 01:10 +0100
    [PATCH v2 2/3] iio: hmc5843: Add ABI documentation file for hmc5843 Cristina Moraru <cristina.moraru09@gmail.com> - 2016-02-15 01:20 +0100
      Re: [PATCH v2 2/3] iio: hmc5843: Add ABI documentation file for  hmc5843 Jonathan Cameron <jic23@kernel.org> - 2016-02-21 21:30 +0100

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

FromCristina Moraru <cristina.moraru09@gmail.com>
Date2016-02-15 01:10 +0100
Subject[PATCH v2 0/3] iio: hmc5843: Fix issues and move out of staging
Message-ID<r2duG-zw-11@gated-at.bofh.it>
Fix driver issues and add completions.
Add custom attribute to display available values for bias
current, changed implementation to iio_enum in order to make
it more suggestive to the user, add documentation for undocumented
custom attributes and move the driver from the staging directory to
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-magnetometer-hmc5843 |  15 +
 drivers/iio/magnetometer/Kconfig                   |  33 +
 drivers/iio/magnetometer/Makefile                  |   4 +
 drivers/iio/magnetometer/hmc5843.h                 |  65 ++
 drivers/iio/magnetometer/hmc5843_core.c            | 686 +++++++++++++++++++++
 drivers/iio/magnetometer/hmc5843_i2c.c             | 103 ++++
 drivers/iio/magnetometer/hmc5843_spi.c             | 100 +++
 drivers/staging/iio/magnetometer/Kconfig           |  32 -
 drivers/staging/iio/magnetometer/Makefile          |   4 +-
 drivers/staging/iio/magnetometer/hmc5843.h         |  65 --
 drivers/staging/iio/magnetometer/hmc5843_core.c    | 645 -------------------
 drivers/staging/iio/magnetometer/hmc5843_i2c.c     | 103 ----
 drivers/staging/iio/magnetometer/hmc5843_spi.c     | 100 ---
 13 files changed, 1007 insertions(+), 948 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843
 create mode 100644 drivers/iio/magnetometer/hmc5843.h
 create mode 100644 drivers/iio/magnetometer/hmc5843_core.c
 create mode 100644 drivers/iio/magnetometer/hmc5843_i2c.c
 create mode 100644 drivers/iio/magnetometer/hmc5843_spi.c
 delete mode 100644 drivers/staging/iio/magnetometer/hmc5843.h
 delete mode 100644 drivers/staging/iio/magnetometer/hmc5843_core.c
 delete mode 100644 drivers/staging/iio/magnetometer/hmc5843_i2c.c
 delete mode 100644 drivers/staging/iio/magnetometer/hmc5843_spi.c

-- 
1.9.1

[toc] | [next] | [standalone]


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

FromCristina Moraru <cristina.moraru09@gmail.com>
Date2016-02-15 01:20 +0100
Subject[PATCH v2 2/3] iio: hmc5843: Add ABI documentation file for hmc5843
Message-ID<r2f3s-1Hd-1@gated-at.bofh.it>
In reply to#1333930
Add ABI file documenting hmc5843 non-standard attributes
meas_conf and meas_conf_available for bias current
configuration.

Signed-off-by: Cristina Moraru <cristina.moraru09@gmail.com>
Cc: Daniel Baluta <daniel.baluta@intel.com>
---
Changes since v1:
        Changed API from integer values to string values
 .../ABI/testing/sysfs-bus-iio-magnetometer-hmc5843        | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843 b/Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843
new file mode 100644
index 0000000..6275e9f
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843
@@ -0,0 +1,15 @@
+What:           /sys/bus/iio/devices/iio:deviceX/meas_conf
+What:           /sys/bus/iio/devices/iio:deviceX/meas_conf_available
+KernelVersion:  4.5
+Contact:        linux-iio@vger.kernel.org
+Description:
+                Current configuration and available configurations
+		for the bias current.
+		normal		- Normal measurement configurations (default)
+		positivebias	- Positive bias configuration
+		negativebias	- Negative bias configuration
+		disabled	- Only available on HMC5983. Disables magnetic
+				  sensor and enables temperature sensor.
+		Note: The effect of this configuration may vary
+		according to the device. For exact documentation
+		check the device's datasheet.
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1338973 — Re: [PATCH v2 2/3] iio: hmc5843: Add ABI documentation file for hmc5843

FromJonathan Cameron <jic23@kernel.org>
Date2016-02-21 21:30 +0100
SubjectRe: [PATCH v2 2/3] iio: hmc5843: Add ABI documentation file for hmc5843
Message-ID<r4INH-2ZD-5@gated-at.bofh.it>
In reply to#1333947
On 14/02/16 22:37, Cristina Moraru wrote:
> Add ABI file documenting hmc5843 non-standard attributes
> meas_conf and meas_conf_available for bias current
> configuration.
> 
> Signed-off-by: Cristina Moraru <cristina.moraru09@gmail.com>
> Cc: Daniel Baluta <daniel.baluta@intel.com>
Applied.
> ---
> Changes since v1:
>         Changed API from integer values to string values
>  .../ABI/testing/sysfs-bus-iio-magnetometer-hmc5843        | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843
> 
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843 b/Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843
> new file mode 100644
> index 0000000..6275e9f
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843
> @@ -0,0 +1,15 @@
> +What:           /sys/bus/iio/devices/iio:deviceX/meas_conf
> +What:           /sys/bus/iio/devices/iio:deviceX/meas_conf_available
> +KernelVersion:  4.5
> +Contact:        linux-iio@vger.kernel.org
> +Description:
> +                Current configuration and available configurations
> +		for the bias current.
> +		normal		- Normal measurement configurations (default)
> +		positivebias	- Positive bias configuration
> +		negativebias	- Negative bias configuration
> +		disabled	- Only available on HMC5983. Disables magnetic
> +				  sensor and enables temperature sensor.
> +		Note: The effect of this configuration may vary
> +		according to the device. For exact documentation
> +		check the device's datasheet.
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web