[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210109190802.4c4fcbc2@archlinux>
Date: Sat, 9 Jan 2021 19:08:02 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Cristian Pop <cristian.pop@...log.com>
Cc: <linux-iio@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<devicetree@...r.kernel.org>
Subject: Re: [PATCH v5 2/3] Documentation/ABI/testing: Add documentation for
AD5766 new ABI
On Fri, 8 Jan 2021 20:37:38 +0200
Cristian Pop <cristian.pop@...log.com> wrote:
> New interface is proposed for dither functionality. This future allows
> composing an external signals to the selected output channel.
> The dither signal can be turned on/off, scaled, inverted, or it can be
> selected from different sources.
>
> Signed-off-by: Cristian Pop <cristian.pop@...log.com>
Hi Cristian,
One trivial inline to fix if you need to respin. Otherwise I can tidy up whilst
applying.
Jonathan
> ---
> Changelog v5:
> - Rename property to: "in_voltageY_dither_enable"
> - Change scale values to: "1 0.75 0.5 0.25"
> - Specify KernelVersion
> .../ABI/testing/sysfs-bus-iio-dac-ad5766 | 31 +++++++++++++++++++
> 1 file changed, 31 insertions(+)
> create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-dac-ad5766
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio-dac-ad5766 b/Documentation/ABI/testing/sysfs-bus-iio-dac-ad5766
> new file mode 100644
> index 000000000000..6e5e383b2c53
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-bus-iio-dac-ad5766
> @@ -0,0 +1,31 @@
> +What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_dither_ennable
Typo, enable but I can fix that whilst applying if there is nothing else.
Jonathan
> +KernelVersion: 5.12
> +Contact: linux-iio@...r.kernel.org
> +Description:
> + Dither enable. Write 1 to enable dither or 0 to disable it.
> +
> +What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_dither_invert
> +KernelVersion: 5.12
> +Contact: linux-iio@...r.kernel.org
> +Description:
> + Inverts the dither applied to the selected DAC channel. Dither is not
> + inverted by default. Write "1" to invert dither.
> +
> +What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_dither_scale_available
> +KernelVersion: 5.12
> +Contact: linux-iio@...r.kernel.org
> +Description:
> + Returns possible scalings available for the current channel.
> +
> +What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_dither_scale
> +KernelVersion: 5.12
> +Contact: linux-iio@...r.kernel.org
> +Description:
> + Scales the dither before it is applied to the selected channel.
> +
> +What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_dither_source
> +KernelVersion: 5.12
> +Contact: linux-iio@...r.kernel.org
> +Description:
> + Selects dither source applied to the selected channel. Write "0" to
> + select N0 source, write "1" to select N1 source.
Powered by blists - more mailing lists