summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/debugfs-iio-backend
blob: 2a2f2e5508c05ead84e29c3b82f9b12e57b70611 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
What:		/sys/kernel/debug/iio/iio:deviceX/backendY/name
KernelVersion:	6.11
Contact:	linux-iio@vger.kernel.org
Description:
		Name of Backend Y connected to device X.

What:		/sys/kernel/debug/iio/iio:deviceX/backendY/direct_reg_access
KernelVersion:	6.11
Contact:	linux-iio@vger.kernel.org
Description:
		Directly access the registers of backend Y. Typical usage is::

		  # Reading address 0x50
		  echo 0x50 > direct_reg_access
		  cat direct_reg_access

		  # Writing address 0x50
		  echo 0x50 0x3 > direct_reg_access
		  # readback address 0x50
		  cat direct_reg_access