7aa68dcce0
"make htmldocs" emits a warning of:
Documentation/ABI/testing/sysfs-bus-iio-sx9324:2: WARNING: Unexpected indentation.
This is due to a missing empty line in front of the bullet list.
Fix it.
Note: The line count of 2 in the warning is not exact in this case.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Fixes: 4c18a890df
("iio:proximity:sx9324: Add SX9324 support")
Link: https://lore.kernel.org/r/202207021703.lEW6FLT1-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Cc: Gwendal Grignou <gwendal@chromium.org>
Cc: Stephen Boyd <swboyd@chromium.org>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Link: https://lore.kernel.org/r/abcaa4f5-7a9b-56b5-c11a-a88fef9d1e0a@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
What: /sys/bus/iio/devices/iio:deviceX/in_proximity<id>_setup
|
|
Date: November 2021
|
|
KernelVersion: 5.17
|
|
Contact: Gwendal Grignou <gwendal@chromium.org>
|
|
Description:
|
|
SX9324 has 3 inputs, CS0, CS1 and CS2. Hardware layout
|
|
defines if the input is
|
|
|
|
+ not connected (HZ),
|
|
+ grounded (GD),
|
|
+ connected to an antenna where it can act as a base
|
|
(DS - data shield), or measured input (MI).
|
|
|
|
The sensor rotates measurement across 4 phases
|
|
(PH0, PH1, PH2, PH3), where the inputs are configured
|
|
and then measured.
|
|
|
|
By default, during the first phase, [PH0], CS0 is measured,
|
|
while CS1 and CS2 are used as shields.
|
|
`cat in_proximity0_setup` returns "MI,DS,DS".
|
|
[PH1], CS1 is measured, CS0 and CS2 are shield:
|
|
`cat in_proximity1_setup` returns "DS,MI,DS".
|
|
[PH2], CS2 is measured, CS0 and CS1 are shield:
|
|
`cat in_proximity1_setup` returns "DS,DS,MI".
|
|
[PH3], CS1 and CS2 are measured (combo mode):
|
|
`cat in_proximity1_setup` returns "DS,MI,MI".
|
|
|
|
Note, these are the chip default. Hardware layout will most
|
|
likely dictate different output. The entry is read-only.
|