linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: michael.hennerich@analog.com
Cc: linux-iio@vger.kernel.org, device-drivers-devel@blackfin.uclinux.org
Subject: Re: [PATCH 1/3] iio: documentation: Add out_altvoltage and friends
Date: Fri, 11 May 2012 13:35:42 +0100	[thread overview]
Message-ID: <4FAD079E.6050905@kernel.org> (raw)
In-Reply-To: <1336138266-25480-1-git-send-email-michael.hennerich@analog.com>

On 5/4/2012 2:31 PM, michael.hennerich@analog.com wrote:
> From: Michael Hennerich<michael.hennerich@analog.com>
>
> Continuous frequency/clock generating devices, such as DDSs or PLLs
> should use out_altvoltage.
>
> Signed-off-by: Michael Hennerich<michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
> ---
>   Documentation/ABI/testing/sysfs-bus-iio |   31 +++++++++++++++++++++++++++++++
>   1 files changed, 31 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> index 2ce4dad..ccd8c84 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -219,6 +219,7 @@ What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_scale
>   What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale
>   What:		/sys/bus/iio/devices/iio:deviceX/in_voltage_scale
>   What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_scale
> +What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale
>   What:		/sys/bus/iio/devices/iio:deviceX/in_accel_scale
>   What:		/sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
>   What:		/sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
> @@ -273,6 +274,7 @@ What:		/sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
>   What:		/sys/.../iio:deviceX/in_voltageX_scale_available
>   What:		/sys/.../iio:deviceX/in_voltage-voltage_scale_available
>   What:		/sys/.../iio:deviceX/out_voltageX_scale_available
> +What:		/sys/.../iio:deviceX/out_altvoltageX_scale_available
>   What:		/sys/.../iio:deviceX/in_capacitance_scale_available
>   KernelVersion:	2.635
>   Contact:	linux-iio@vger.kernel.org
> @@ -291,14 +293,19 @@ Description:
>   		gives the 3dB frequency of the filter in Hz.
>
>   What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
> +What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw
>   KernelVersion:	2.6.37
>   Contact:	linux-iio@vger.kernel.org
>   Description:
>   		Raw (unscaled, no bias etc.) output voltage for
>   		channel Y.  The number must always be specified and
>   		unique if the output corresponds to a single channel.
> +		While DAC like devices typically use out_voltage,
> +		a continuous frequency generating device, such as
> +		a DDS or PLL should use out_altvoltage.
>
>   What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
> +What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw
>   KernelVersion:	2.6.37
>   Contact:	linux-iio@vger.kernel.org
>   Description:
> @@ -309,6 +316,8 @@ Description:
>
>   What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
>   What:		/sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
> +What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
> +What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
>   KernelVersion:	2.6.38
>   Contact:	linux-iio@vger.kernel.org
>   Description:
> @@ -323,6 +332,8 @@ Description:
>
>   What:		/sys/.../iio:deviceX/out_votlageY_powerdown_mode_available
>   What:		/sys/.../iio:deviceX/out_voltage_powerdown_mode_available
> +What:		/sys/.../iio:deviceX/out_altvotlageY_powerdown_mode_available
> +What:		/sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available
>   KernelVersion:	2.6.38
>   Contact:	linux-iio@vger.kernel.org
>   Description:
> @@ -331,6 +342,8 @@ Description:
>
>   What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
>   What:		/sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
> +What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
> +What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown
>   KernelVersion:	2.6.38
>   Contact:	linux-iio@vger.kernel.org
>   Description:
> @@ -339,6 +352,24 @@ Description:
>   		normal operation. Y may be suppressed if all outputs are
>   		controlled together.
>
> +What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency
> +KernelVersion:	3.4.0
> +Contact:	linux-iio@vger.kernel.org
> +Description:
> +		Output frequency for channel Y in Hz. The number must always be
> +		specified and unique if the output corresponds to a single
> +		channel.
> +
> +What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase
> +KernelVersion:	3.4.0
> +Contact:	linux-iio@vger.kernel.org
> +Description:
> +		Phase in radians of one frequency/clock output Y
> +		(out_altvoltageY) relative to another frequency/clock output
> +		(out_altvoltageZ) of the device X. The number must always be
> +		specified and unique if the output corresponds to a single
> +		channel.
> +
>   What:		/sys/bus/iio/devices/iio:deviceX/events
>   KernelVersion:	2.6.35
>   Contact:	linux-iio@vger.kernel.org


      parent reply	other threads:[~2012-05-11 12:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-04 13:31 [PATCH 1/3] iio: documentation: Add out_altvoltage and friends michael.hennerich
2012-05-04 13:31 ` [PATCH 2/3] iio: documentation: create frequency sub-folder and move dds docs michael.hennerich
2012-05-11 12:34   ` Jonathan Cameron
2012-05-04 13:31 ` [PATCH 3/3] iio: frequency: New driver for AD9523 SPI Low Jitter Clock Generator michael.hennerich
2012-05-04 13:50   ` Jonathan Cameron
2012-05-04 14:00     ` Hennerich, Michael
2012-05-04 14:42       ` Jonathan Cameron
2012-05-12 18:19   ` Jonathan Cameron
2012-05-14 14:09     ` Michael Hennerich
2012-05-14 17:36       ` Jonathan Cameron
2012-05-11 12:35 ` Jonathan Cameron [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FAD079E.6050905@kernel.org \
    --to=jic23@kernel.org \
    --cc=device-drivers-devel@blackfin.uclinux.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=michael.hennerich@analog.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).