Skip to contentSkip to conversation

iio: add ABI documentation for scaled pressure

PATCH Superseded Vlad Dogaru 2 participants 3 messages Oct 13, 2014 IIO

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: add ABI documentation for scaled pressure

---

There's at least one user of in_pressure_input, the bmg280 driver I submitted earlier.

 Documentation/ABI/testing/sysfs-bus-iio | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/ABI/testing/sysfs-bus-iio +7 -0
index d760b02..0b771f8 100644
@@ -200,6 +200,13 @@ Description:
 		Raw pressure measurement from channel Y. Units after
 		application of scale and offset are kilopascal.
 
+What:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_input
+What:		/sys/bus/iio/devices/iio:deviceX/in_pressure_input
+KernelVersion:	3.8
+Contact:	[email protected]
+Description:
+		Scaled pressure measurement in kilopascal.
+
 What:		/sys/bus/iio/devices/iio:deviceX/in_humidityrelative_raw
 KernelVersion:	3.14
 Contact:	[email protected]
Signature · 1 line
1.9.1
#1 lore raw
Quoted 5 lines · Vlad Dogaru

---

There's at least one user of in_pressure_input, the bmg280 driver I submitted earlier.

Sorry, I meant bmp280, the temperature and pressure chip.

Thanks,
Vlad

#2 lore raw
In reply to Vlad Dogaru
Quoted 14 lines · Vlad Dogaru

---

There's at least one user of in_pressure_input, the bmg280 driver I submitted earlier.

  Documentation/ABI/testing/sysfs-bus-iio | 7 +++++++
  1 file changed, 7 insertions(+)
Documentation/ABI/testing/sysfs-bus-iio +0 -0
index d760b02..0b771f8 100644

Documentation/ABI/testing/sysfs-bus-iio Description: · line 208

Quoted 9 lines
Documentation/ABI/testing/sysfs-bus-iio +6 -0
@@ -200,6 +200,13 @@ Description:
  		Raw pressure measurement from channel Y. Units after
  		application of scale and offset are kilopascal.
 
+What:		/sys/bus/iio/devices/iio:deviceX/in_pressureY_input
+What:		/sys/bus/iio/devices/iio:deviceX/in_pressure_input
+KernelVersion:	3.8
+Contact:	[email protected]
+Description:
+		Scaled pressure measurement in kilopascal.

For consistency, with the pressure raw entry description, this should be:
Scaled pressure measurement from channel Y, in kilopascal.

Another user for this is EPCOS T5403 (pressure/t5403.c).

thanks,
Daniel.