lkml.org 
[lkml]   [2020]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v4 2/3] Documentation: ABI: testing: mt6360: Add ADC sysfs guideline
Date
From: Gene Chen <gene_chen@richtek.com>

Add ABI documentation for mt6360 ADC sysfs interfaces.

Signed-off-by: Gene Chen <gene_chen@richtek.com>
---
Documentation/ABI/testing/sysfs-bus-iio-adc-mt6360 | 83 ++++++++++++++++++++++
1 file changed, 83 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-adc-mt6360

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-adc-mt6360 b/Documentation/ABI/testing/sysfs-bus-iio-adc-mt6360
new file mode 100644
index 0000000..4b1c270
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-adc-mt6360
@@ -0,0 +1,83 @@
+What: /sys/bus/iio/devices/iio:deviceX/in_voltage_USBID_input
+KernelVersion: 5.8.0
+Contact: gene_chen@richtek.com
+Description:
+ Indicated MT6360 USBID ADC which connected to connector ID pin.
+ Reading returns voltage in uV
+
+What: /sys/bus/iio/devices/iio:deviceX/in_voltage_VBUSDIV5_input
+KernelVersion: 5.8.0
+Contact: gene_chen@richtek.com
+Description:
+ Indicated MT6360 VBUS ADC with high accuracy
+ Reading returns voltage in uV
+
+What: /sys/bus/iio/devices/iio:deviceX/in_voltage_VBUSDIV2_input
+KernelVersion: 5.8.0
+Contact: gene_chen@richtek.com
+Description:
+ Indicated MT6360 VBUS ADC with low accuracy
+ Reading returns voltage in uV
+
+What: /sys/bus/iio/devices/iio:deviceX/in_voltage_VSYS_input
+KernelVersion: 5.8.0
+Contact: gene_chen@richtek.com
+Description:
+ Indicated MT6360 VSYS ADC
+ Reading returns voltage in uV
+
+What: /sys/bus/iio/devices/iio:deviceX/in_voltage_VBAT_input
+KernelVersion: 5.8.0
+Contact: gene_chen@richtek.com
+Description:
+ Indicated MT6360 VBAT ADC
+ Reading returns voltage in uV
+
+What: /sys/bus/iio/devices/iio:deviceX/in_current_IBUS_input
+KernelVersion: 5.8.0
+Contact: gene_chen@richtek.com
+Description:
+ Indicated MT6360 IBUS ADC
+ Reading returns current in uA
+
+What: /sys/bus/iio/devices/iio:deviceX/in_current_IBAT_input
+KernelVersion: 5.8.0
+Contact: gene_chen@richtek.com
+Description:
+ Indicated MT6360 IBAT ADC
+ Reading returns current in uA
+
+What: /sys/bus/iio/devices/iio:deviceX/in_voltage_CHG_VDDP_input
+KernelVersion: 5.8.0
+Contact: gene_chen@richtek.com
+Description:
+ Indicated MT6360 CHG_VDDP ADC
+ Reading returns voltage in uV
+
+What: /sys/bus/iio/devices/iio:deviceX/in_temp_TEMP_JC_input
+KernelVersion: 5.8.0
+Contact: gene_chen@richtek.com
+Description:
+ Indicated MT6360 IC junction temperature
+ Reading returns temperature in degree
+
+What: /sys/bus/iio/devices/iio:deviceX/in_voltage_VREF_TS_input
+KernelVersion: 5.8.0
+Contact: gene_chen@richtek.com
+Description:
+ Indicated MT6360 VREF_TS ADC
+ Reading returns voltage in uV
+
+What: /sys/bus/iio/devices/iio:deviceX/in_voltage_TS_input
+KernelVersion: 5.8.0
+Contact: gene_chen@richtek.com
+Description:
+ Indicated MT6360 TS ADC
+ Reading returns voltage in uV
+
+What: /sys/bus/iio/devices/iio:deviceX/timestamp
+KernelVersion: 5.8.0
+Contact: gene_chen@richtek.com
+Description:
+ Indicated MT6360 timestamp
+ Reading returns current timestamp in ms
--
2.7.4
\
 
 \ /
  Last update: 2020-09-15 20:43    [W:0.100 / U:2.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site