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