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

Daniel Baluta daniel.baluta at gmail.com
Sun Feb 14 18:25:16 EET 2016


On Sun, Feb 14, 2016 at 12:24 PM, Cristina Moraru
<cristina.moraru09 at gmail.com> 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 at gmail.com>
> CC:             Daniel Baluta <daniel.baluta at intel.co
> ---
> Changes since v1:
>         No changes since v1
>  .../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..7c3fc4c
> --- /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.3.0

This will be most likely 4.5

> +Contact:        linux-iio at vger.kernel.org
> +Description:
> +                Current configuration and available configurations
> +               for the bias current.

Here you should update the available configs with the strings defined
in previous patch.

> +               0 - Normal measurement configurations (default)
> +               1 - Positive bias configuration
> +               2 - Negative bias configuration
> +               3 - 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
>


More information about the firefly mailing list