162306a36Sopenharmony_ciWhat:		/sys/bus/iio/devices/iio:deviceX/in_proximity<id>_setup
262306a36Sopenharmony_ciDate:		November 2021
362306a36Sopenharmony_ciKernelVersion:	5.17
462306a36Sopenharmony_ciContact:	Gwendal Grignou <gwendal@chromium.org>
562306a36Sopenharmony_ciDescription:
662306a36Sopenharmony_ci		SX9324 has 3 inputs, CS0, CS1 and CS2. Hardware layout
762306a36Sopenharmony_ci		defines if the input is
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci		+ not connected (HZ),
1062306a36Sopenharmony_ci		+ grounded (GD),
1162306a36Sopenharmony_ci		+ connected to an antenna where it can act as a base
1262306a36Sopenharmony_ci		  (DS - data shield), or measured input (MI).
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci		The sensor rotates measurement across 4 phases
1562306a36Sopenharmony_ci		(PH0, PH1, PH2, PH3), where the inputs are configured
1662306a36Sopenharmony_ci		and then measured.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci		By default,  during the first phase, [PH0], CS0 is measured,
1962306a36Sopenharmony_ci		while CS1 and CS2 are used as shields.
2062306a36Sopenharmony_ci		`cat in_proximity0_setup` returns "MI,DS,DS".
2162306a36Sopenharmony_ci		[PH1], CS1 is measured, CS0 and CS2 are shield:
2262306a36Sopenharmony_ci		`cat in_proximity1_setup` returns "DS,MI,DS".
2362306a36Sopenharmony_ci		[PH2], CS2 is measured, CS0 and CS1 are shield:
2462306a36Sopenharmony_ci		`cat in_proximity1_setup` returns "DS,DS,MI".
2562306a36Sopenharmony_ci		[PH3], CS1 and CS2 are measured (combo mode):
2662306a36Sopenharmony_ci		`cat in_proximity1_setup` returns "DS,MI,MI".
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci		Note, these are the chip default. Hardware layout will most
2962306a36Sopenharmony_ci		likely dictate different output. The entry is read-only.
30