diff options
| author | Michael Hennerich <michael.hennerich@analog.com> | 2012-05-21 08:30:31 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-05 00:15:31 -0400 |
| commit | d802bf6f098c134181397496cac8dbc80f441a75 (patch) | |
| tree | 20c6cd57e4ccf16e4b072745c67e3838e1e26a02 | |
| parent | f8f5701bdaf9134b1f90e5044a82c66324d2073f (diff) | |
iio: documentation: Add out_altvoltage and friends
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | 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 5bc8a476c15e..cfedf63cce15 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 | |||
| 219 | What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale | 219 | What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale |
| 220 | What: /sys/bus/iio/devices/iio:deviceX/in_voltage_scale | 220 | What: /sys/bus/iio/devices/iio:deviceX/in_voltage_scale |
| 221 | What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_scale | 221 | What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_scale |
| 222 | What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale | ||
| 222 | What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale | 223 | What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale |
| 223 | What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale | 224 | What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale |
| 224 | What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale | 225 | 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 | |||
| 273 | What: /sys/.../iio:deviceX/in_voltageX_scale_available | 274 | What: /sys/.../iio:deviceX/in_voltageX_scale_available |
| 274 | What: /sys/.../iio:deviceX/in_voltage-voltage_scale_available | 275 | What: /sys/.../iio:deviceX/in_voltage-voltage_scale_available |
| 275 | What: /sys/.../iio:deviceX/out_voltageX_scale_available | 276 | What: /sys/.../iio:deviceX/out_voltageX_scale_available |
| 277 | What: /sys/.../iio:deviceX/out_altvoltageX_scale_available | ||
| 276 | What: /sys/.../iio:deviceX/in_capacitance_scale_available | 278 | What: /sys/.../iio:deviceX/in_capacitance_scale_available |
| 277 | KernelVersion: 2.635 | 279 | KernelVersion: 2.635 |
| 278 | Contact: linux-iio@vger.kernel.org | 280 | Contact: linux-iio@vger.kernel.org |
| @@ -298,14 +300,19 @@ Description: | |||
| 298 | gives the 3dB frequency of the filter in Hz. | 300 | gives the 3dB frequency of the filter in Hz. |
| 299 | 301 | ||
| 300 | What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw | 302 | What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw |
| 303 | What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw | ||
| 301 | KernelVersion: 2.6.37 | 304 | KernelVersion: 2.6.37 |
| 302 | Contact: linux-iio@vger.kernel.org | 305 | Contact: linux-iio@vger.kernel.org |
| 303 | Description: | 306 | Description: |
| 304 | Raw (unscaled, no bias etc.) output voltage for | 307 | Raw (unscaled, no bias etc.) output voltage for |
| 305 | channel Y. The number must always be specified and | 308 | channel Y. The number must always be specified and |
| 306 | unique if the output corresponds to a single channel. | 309 | unique if the output corresponds to a single channel. |
| 310 | While DAC like devices typically use out_voltage, | ||
| 311 | a continuous frequency generating device, such as | ||
| 312 | a DDS or PLL should use out_altvoltage. | ||
| 307 | 313 | ||
| 308 | What: /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw | 314 | What: /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw |
| 315 | What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw | ||
| 309 | KernelVersion: 2.6.37 | 316 | KernelVersion: 2.6.37 |
| 310 | Contact: linux-iio@vger.kernel.org | 317 | Contact: linux-iio@vger.kernel.org |
| 311 | Description: | 318 | Description: |
| @@ -316,6 +323,8 @@ Description: | |||
| 316 | 323 | ||
| 317 | What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode | 324 | What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode |
| 318 | What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode | 325 | What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode |
| 326 | What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode | ||
| 327 | What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode | ||
| 319 | KernelVersion: 2.6.38 | 328 | KernelVersion: 2.6.38 |
| 320 | Contact: linux-iio@vger.kernel.org | 329 | Contact: linux-iio@vger.kernel.org |
| 321 | Description: | 330 | Description: |
| @@ -330,6 +339,8 @@ Description: | |||
| 330 | 339 | ||
| 331 | What: /sys/.../iio:deviceX/out_votlageY_powerdown_mode_available | 340 | What: /sys/.../iio:deviceX/out_votlageY_powerdown_mode_available |
| 332 | What: /sys/.../iio:deviceX/out_voltage_powerdown_mode_available | 341 | What: /sys/.../iio:deviceX/out_voltage_powerdown_mode_available |
| 342 | What: /sys/.../iio:deviceX/out_altvotlageY_powerdown_mode_available | ||
| 343 | What: /sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available | ||
| 333 | KernelVersion: 2.6.38 | 344 | KernelVersion: 2.6.38 |
| 334 | Contact: linux-iio@vger.kernel.org | 345 | Contact: linux-iio@vger.kernel.org |
| 335 | Description: | 346 | Description: |
| @@ -338,6 +349,8 @@ Description: | |||
| 338 | 349 | ||
| 339 | What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown | 350 | What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown |
| 340 | What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown | 351 | What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown |
| 352 | What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown | ||
| 353 | What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown | ||
| 341 | KernelVersion: 2.6.38 | 354 | KernelVersion: 2.6.38 |
| 342 | Contact: linux-iio@vger.kernel.org | 355 | Contact: linux-iio@vger.kernel.org |
| 343 | Description: | 356 | Description: |
| @@ -346,6 +359,24 @@ Description: | |||
| 346 | normal operation. Y may be suppressed if all outputs are | 359 | normal operation. Y may be suppressed if all outputs are |
| 347 | controlled together. | 360 | controlled together. |
| 348 | 361 | ||
| 362 | What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency | ||
| 363 | KernelVersion: 3.4.0 | ||
| 364 | Contact: linux-iio@vger.kernel.org | ||
| 365 | Description: | ||
| 366 | Output frequency for channel Y in Hz. The number must always be | ||
| 367 | specified and unique if the output corresponds to a single | ||
| 368 | channel. | ||
| 369 | |||
| 370 | What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase | ||
| 371 | KernelVersion: 3.4.0 | ||
| 372 | Contact: linux-iio@vger.kernel.org | ||
| 373 | Description: | ||
| 374 | Phase in radians of one frequency/clock output Y | ||
| 375 | (out_altvoltageY) relative to another frequency/clock output | ||
| 376 | (out_altvoltageZ) of the device X. The number must always be | ||
| 377 | specified and unique if the output corresponds to a single | ||
| 378 | channel. | ||
| 379 | |||
| 349 | What: /sys/bus/iio/devices/iio:deviceX/events | 380 | What: /sys/bus/iio/devices/iio:deviceX/events |
| 350 | KernelVersion: 2.6.35 | 381 | KernelVersion: 2.6.35 |
| 351 | Contact: linux-iio@vger.kernel.org | 382 | Contact: linux-iio@vger.kernel.org |
