summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/debugfs-iio-backend
blob: 01ab94469432c8db3c98d85b216384f87e98a5de (plain)
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