sysfs-bus-iio-sx9324 (1088B)
1What: /sys/bus/iio/devices/iio:deviceX/in_proximity<id>_setup 2Date: November 2021 3KernelVersion: 5.17 4Contact: Gwendal Grignou <gwendal@chromium.org> 5Description: 6 SX9324 has 3 inputs, CS0, CS1 and CS2. Hardware layout 7 defines if the input is 8 + not connected (HZ), 9 + grounded (GD), 10 + connected to an antenna where it can act as a base 11 (DS - data shield), or measured input (MI). 12 13 The sensor rotates measurement across 4 phases 14 (PH0, PH1, PH2, PH3), where the inputs are configured 15 and then measured. 16 17 By default, during the first phase, [PH0], CS0 is measured, 18 while CS1 and CS2 are used as shields. 19 `cat in_proximity0_setup` returns "MI,DS,DS". 20 [PH1], CS1 is measured, CS0 and CS2 are shield: 21 `cat in_proximity1_setup` returns "DS,MI,DS". 22 [PH2], CS2 is measured, CS0 and CS1 are shield: 23 `cat in_proximity1_setup` returns "DS,DS,MI". 24 [PH3], CS1 and CS2 are measured (combo mode): 25 `cat in_proximity1_setup` returns "DS,MI,MI". 26 27 Note, these are the chip default. Hardware layout will most 28 likely dictate different output. The entry is read-only.