Skip to contentSkip to conversation

iio: Add ABI documentation for out_voltage scan_elements

PATCH In review Haneen Mohammed 3 participants 4 messages Mar 17, 2015 – Mar 27, 2015 IIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: Add ABI documentation for out_voltage scan_elements

This patch adds ABI documentation entries for out_voltageY_en, out_voltageY_type, and out_voltageY_index.
At least one user for these is preset:
AD8366 SPI Dual-Digital VGA.

---
 Documentation/ABI/testing/sysfs-bus-iio | 3 +++
 1 file changed, 3 insertions(+)
Documentation/ABI/testing/sysfs-bus-iio +3 -0
index fd026d9..bbb0bfd 100644
@@ -994,6 +994,7 @@ What:		/sys/.../iio:deviceX/scan_elements/in_timestamp_en
 What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_supply_en
 What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_en
 What:		/sys/.../iio:deviceX/scan_elements/in_voltageY-voltageZ_en
+What:		/sys/.../iio:deviceX/scan_elements/out_voltageY_en
 What:		/sys/.../iio:deviceX/scan_elements/in_incli_x_en
 What:		/sys/.../iio:deviceX/scan_elements/in_incli_y_en
 What:		/sys/.../iio:deviceX/scan_elements/in_pressureY_en
@@ -1011,6 +1012,7 @@ What:		/sys/.../iio:deviceX/scan_elements/in_magn_type
 What:		/sys/.../iio:deviceX/scan_elements/in_incli_type
 What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_type
 What:		/sys/.../iio:deviceX/scan_elements/in_voltage_type
+What:		/sys/.../iio:deviceX/scan_elements/out_voltageY_type
 What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_supply_type
 What:		/sys/.../iio:deviceX/scan_elements/in_timestamp_type
 What:		/sys/.../iio:deviceX/scan_elements/in_pressureY_type
@@ -1049,6 +1051,7 @@ Description:
 
 What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_index
 What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_supply_index
+What:		/sys/.../iio:deviceX/scan_elements/out_voltageY_index
 What:		/sys/.../iio:deviceX/scan_elements/in_accel_x_index
 What:		/sys/.../iio:deviceX/scan_elements/in_accel_y_index
 What:		/sys/.../iio:deviceX/scan_elements/in_accel_z_index
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 6 lines · Haneen Mohammed

This patch adds ABI documentation entries for out_voltageY_en, out_voltageY_type, and out_voltageY_index.
At least one user for these is preset:
AD8366 SPI Dual-Digital VGA.

These aren't used in the mainline driver. We don't have buffered support for output channels yet. Looking at Analog's tree I don't think they have support for this driver doing buffered output either (I think they may have some internal support or maybe it's just a plan on how to do it!)

Quoted 33 lines
---
 Documentation/ABI/testing/sysfs-bus-iio | 3 +++
 1 file changed, 3 insertions(+)
Documentation/ABI/testing/sysfs-bus-iio +3 -0
index fd026d9..bbb0bfd 100644
@@ -994,6 +994,7 @@ What:		/sys/.../iio:deviceX/scan_elements/in_timestamp_en
 What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_supply_en
 What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_en
 What:		/sys/.../iio:deviceX/scan_elements/in_voltageY-voltageZ_en
+What:		/sys/.../iio:deviceX/scan_elements/out_voltageY_en
 What:		/sys/.../iio:deviceX/scan_elements/in_incli_x_en
 What:		/sys/.../iio:deviceX/scan_elements/in_incli_y_en
 What:		/sys/.../iio:deviceX/scan_elements/in_pressureY_en
@@ -1011,6 +1012,7 @@ What:		/sys/.../iio:deviceX/scan_elements/in_magn_type
 What:		/sys/.../iio:deviceX/scan_elements/in_incli_type
 What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_type
 What:		/sys/.../iio:deviceX/scan_elements/in_voltage_type
+What:		/sys/.../iio:deviceX/scan_elements/out_voltageY_type
 What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_supply_type
 What:		/sys/.../iio:deviceX/scan_elements/in_timestamp_type
 What:		/sys/.../iio:deviceX/scan_elements/in_pressureY_type
@@ -1049,6 +1051,7 @@ Description:
 
 What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_index
 What:		/sys/.../iio:deviceX/scan_elements/in_voltageY_supply_index
+What:		/sys/.../iio:deviceX/scan_elements/out_voltageY_index
 What:		/sys/.../iio:deviceX/scan_elements/in_accel_x_index
 What:		/sys/.../iio:deviceX/scan_elements/in_accel_y_index
 What:		/sys/.../iio:deviceX/scan_elements/in_accel_z_index
#2 lore raw
Quoted 11 lines · Jonathan Cameron
Quoted 6 lines · Haneen Mohammed

This patch adds ABI documentation entries for out_voltageY_en, out_voltageY_type, and out_voltageY_index.
At least one user for these is preset:
AD8366 SPI Dual-Digital VGA.

These aren't used in the mainline driver. We don't have buffered support for output channels yet. Looking at Analog's tree I don't think they have support for this driver doing buffered output either (I think they may have some internal support or maybe it's just a plan on how to do it!)

We do have support for output buffers in our tree, but obviously not for a VGA. I think we should add the upstream documentation for these attributes at the same time we add the infrastructure support.

- Lars

author
#3 lore raw
Quoted 13 lines · Lars-Peter Clausen
Quoted 11 lines · Jonathan Cameron
Quoted 6 lines · Haneen Mohammed

This patch adds ABI documentation entries for out_voltageY_en, out_voltageY_type, and out_voltageY_index.
At least one user for these is preset:
AD8366 SPI Dual-Digital VGA.

These aren't used in the mainline driver. We don't have buffered support for output channels yet. Looking at Analog's tree I don't think they have support for this driver doing buffered output either (I think they may have some internal support or maybe it's just a plan on how to do it!)

Quoted 5 lines

We do have support for output buffers in our tree, but obviously not for a VGA. I think we should add the upstream documentation for these attributes at the same time we add the infrastructure support.

- Lars

Sorry my bad. I used the iio dummy to check that out, and I didn't know I had to specify no buffer support through the scan_index since the driver I checked didn't have that. I will be more carefull next time!

Haneen