diff mbox series

[V4,1/4] iio: adc: ad7192: Add sysfs ABI documentation

Message ID 20190902130831.23057-1-mircea.caprioru@analog.com (mailing list archive)
State New, archived
Headers show
Series [V4,1/4] iio: adc: ad7192: Add sysfs ABI documentation | expand

Commit Message

Mircea Caprioru Sept. 2, 2019, 1:08 p.m. UTC
Add initial ABI documentation for ad7192 adc sysfs interfaces.

Signed-off-by: Mircea Caprioru <mircea.caprioru@analog.com>
---
Changelog V2:
- no changes here

Changelog V3:
- no changes here

Changelog V4:
- added sysfs ABI documentation

 .../ABI/testing/sysfs-bus-iio-adc-ad7192          | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192

Comments

Jonathan Cameron Sept. 8, 2019, 9:35 a.m. UTC | #1
On Mon, 2 Sep 2019 16:08:28 +0300
Mircea Caprioru <mircea.caprioru@analog.com> wrote:

> Add initial ABI documentation for ad7192 adc sysfs interfaces.
> 
> Signed-off-by: Mircea Caprioru <mircea.caprioru@analog.com>
Applied to the togreg branch of iio.git and pushed out as testing for the
autobuilders to ignore ;)

Thanks,

Jonathan

> ---
> Changelog V2:
> - no changes here
> 
> Changelog V3:
> - no changes here
> 
> Changelog V4:
> - added sysfs ABI documentation
> 
>  .../ABI/testing/sysfs-bus-iio-adc-ad7192          | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192
> 
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 b/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192
> new file mode 100644
> index 000000000000..74a2873045bf
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192
> @@ -0,0 +1,15 @@
> +What:		/sys/bus/iio/devices/iio:deviceX/ac_excitation_en
> +KernelVersion:
> +Contact:	linux-iio@vger.kernel.org
> +Description:
> +		Reading gives the state of AC excitation.
> +		Writing '1' enables AC excitation.
> +
> +What:		/sys/bus/iio/devices/iio:deviceX/bridge_switch_en
> +KernelVersion:
> +Contact:	linux-iio@vger.kernel.org
> +Description:
> +		This bridge switch is used to disconnect it when there is a
> +		need to minimize the system current consumption.
> +		Reading gives the state of the bridge switch.
> +		Writing '1' enables the bridge switch.
diff mbox series

Patch

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 b/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192
new file mode 100644
index 000000000000..74a2873045bf
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192
@@ -0,0 +1,15 @@ 
+What:		/sys/bus/iio/devices/iio:deviceX/ac_excitation_en
+KernelVersion:
+Contact:	linux-iio@vger.kernel.org
+Description:
+		Reading gives the state of AC excitation.
+		Writing '1' enables AC excitation.
+
+What:		/sys/bus/iio/devices/iio:deviceX/bridge_switch_en
+KernelVersion:
+Contact:	linux-iio@vger.kernel.org
+Description:
+		This bridge switch is used to disconnect it when there is a
+		need to minimize the system current consumption.
+		Reading gives the state of the bridge switch.
+		Writing '1' enables the bridge switch.