u-boot/test/dm
Sean Anderson 7f0f1806e3 test: pinmux: Add test for pin muxing
This extends the pinctrl-sandbox driver to support pin muxing, and adds a
test for that behaviour. The test is done in C and not python (like the
existing tests for the pinctrl uclass) because it needs to call
pinctrl_select_state.  Another option could be to add a command that
invokes pinctrl_select_state and then test everything in
test/py/tests/test_pinmux.py.

The pinctrl-sandbox driver now mimics the way that many pinmux devices
work.  There are two groups of pins which are muxed together, as well as
four pins which are muxed individually. I have tried to test all normal
paths. However, very few error cases are explicitly checked for.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-10-08 11:42:36 -04:00
..
acpi.c cmd: acpi: Print revisions in hex format 2020-09-21 16:41:35 +08:00
acpi.h acpi: Support generation of a scope 2020-07-17 14:32:24 +08:00
acpi_dp.c dm: acpi: Use correct GPIO polarity type in acpi_dp_add_gpio() 2020-09-25 11:27:14 +08:00
acpigen.c acpi: Add more support for generating processor tables 2020-09-25 11:27:18 +08:00
adc.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
audio.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
axi.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
blk.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
board.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
bootcount.c i2c: eeprom: Use reg property instead of offset and size 2020-08-20 09:49:20 +02:00
bus.c test: gpio: Add tests for the managed API 2020-09-30 11:55:22 -04:00
button.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
cache.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
clk.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
clk_ccf.c clk: do not disable clock if it is critical 2020-09-22 11:27:18 +03:00
core.c dm: core: add support for device re-parenting 2020-09-22 11:27:18 +03:00
cpu.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
devres.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
dma.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
dsi_host.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
eth.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
fdtdec.c test: fdtdec: Add test for new no-map fdtdec_add_reserved_memory() parameter 2020-09-22 12:54:13 -06:00
firmware.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
gpio.c test: gpio: Add tests for the managed API 2020-09-30 11:55:22 -04:00
hwspinlock.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
i2c.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
i2s.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
irq.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
k210_pll.c clk: Add K210 pll support 2020-07-01 15:01:21 +08:00
Kconfig test: Move the unit tests to their own menu 2015-05-21 09:16:17 -04:00
led.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
mailbox.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
Makefile test: pinmux: Add test for pin muxing 2020-10-08 11:42:36 -04:00
mdio.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
mdio_mux.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
misc.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
mmc.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
nop.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
ofnode.c test: dm: add test for phandle access functions 2020-10-06 09:07:54 -06:00
ofread.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
osd.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
p2sb.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
panel.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
pch.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
pci.c pci: pci-uclass: Add multi entry support for memory regions 2020-08-25 08:01:16 +02:00
pci_ep.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
phy.c sandbox: dts: Add compatible string for bind-test node 2020-08-22 07:58:39 -06:00
pinmux.c test: pinmux: Add test for pin muxing 2020-10-08 11:42:36 -04:00
pmc.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
pmic.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
power-domain.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
pwm.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
ram.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
regmap.c test: dm: Add tests for regmap managed API and regmap fields 2020-09-30 11:55:23 -04:00
regulator.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
remoteproc.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
reset.c test: reset: Add tests for the managed API 2020-09-30 11:55:22 -04:00
rng.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
rtc.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
scmi.c firmware: smci: sandbox test for SCMI reset controllers 2020-09-30 11:55:24 -04:00
serial.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
sf.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
simple-pm-bus.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
smem.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
soc.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
sound.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
spi.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
spmi.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
syscon-reset.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
syscon.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
sysreset.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
tee.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
test-driver.c dm: core: Drop header files from dm/test.h 2020-08-03 22:19:54 -04:00
test-fdt.c test: dm: add test for phandle access functions 2020-10-06 09:07:54 -06:00
test-main.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
test-uclass.c dm: core: Drop header files from dm/test.h 2020-08-03 22:19:54 -04:00
timer.c timer: Add a test for timer_timebase_fallback 2020-09-30 08:54:45 +08:00
usb.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
video.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
virtio.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
wdt.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00