linux/tools/testing
Jianqun Xu f8e84013a5 tools: testing: selftests: add iomux instance
Add a new instance for rockchip pinctrl to do selftest, and the userland
can set or get the iomux to one pin directly.

Build the iomux by gcc:
    xx-gcc tools/testing/selftests/rkpinctrl/iomux.c -o iomux

Tested on rk3588-evb1:

[root@RK3588:/]# iomux 1 15 1
[root@RK3588:/]# iomux 1 15
mux get (GPIO1-15) = 1

[root@RK3588:/]# iomux 1 15 2
[root@RK3588:/]# iomux 1 15
mux get (GPIO1-15) = 2

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: Ic5271b25e55e1023caa5580346ffb82fe7a4cb65
2022-03-19 18:45:46 +08:00
..
fault-injection
ktest tweewide: Fix most Shebang lines 2021-05-22 11:40:55 +02:00
kunit UPSTREAM: kunit: tool: Disable PAGE_POISONING under --alltests 2021-06-10 20:26:23 -07:00
nvdimm device-dax: add dis-contiguous resource support 2020-10-13 18:38:28 -07:00
radix-tree idr test suite: Create anchor before launching throbber 2021-04-16 11:43:21 +02:00
scatterlist tools/testing/scatterlist: Fix test to compile and run 2020-11-17 20:02:20 -04:00
selftests tools: testing: selftests: add iomux instance 2022-03-19 18:45:46 +08:00
vsock