u-boot/drivers/pinctrl
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
..
aspeed common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ath79 treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
broadcom pinctrl: bcm283x: Store the return value of dev_read_u32_default to int 2020-10-02 17:32:28 +02:00
exynos treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
intel x86: pinctrl: Fix 'relatove' typo 2020-09-01 17:00:27 +08:00
mediatek pinctrl: mediatek: mt8512: fix the wrong start address of ranges 2020-08-19 17:37:37 -04:00
meson pinctrl: meson-axg: add missing GPIOA_18 2020-10-05 18:01:40 +02:00
mscc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mtmips dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
mvebu treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
nexell pinctrl: add nexell driver 2020-07-29 08:43:40 -04:00
nxp drivers: rename more drivers to match compatible string 2020-08-02 14:51:08 +02:00
renesas pinctrl: renesas: Fix PINCTRL_PFC_R8A774A1 help description 2020-09-26 17:25:43 +02:00
rockchip drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
uniphier treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
Kconfig powerpc, qe: add DTS support for parallel I/O ports 2020-09-17 06:09:53 +02:00
Makefile powerpc, qe: add DTS support for parallel I/O ports 2020-09-17 06:09:53 +02:00
pinctrl-at91-pio4.c pinctrl: at91-pio4: add compatible for sama7g5 pinctrl block 2020-09-25 10:39:22 +03:00
pinctrl-at91.c core: add support for U_BOOT_DRIVER_ALIAS 2020-07-09 18:57:22 -06:00
pinctrl-generic.c pinctrl: Add pinmux property support to pinctrl-generic 2020-10-08 11:42:36 -04:00
pinctrl-qe-io.c powerpc, qe: add DTS support for parallel I/O ports 2020-09-17 06:09:53 +02:00
pinctrl-sandbox.c test: pinmux: Add test for pin muxing 2020-10-08 11:42:36 -04:00
pinctrl-single.c dm: pinctrl: Use right device pointer for configuring pinctrl 2020-04-23 08:25:37 -04:00
pinctrl-sti.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
pinctrl-stmfx.c pinctrl: stmfx: add information on pin configuration 2020-07-07 16:01:23 +02:00
pinctrl-uclass.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
pinctrl_pic32.c pinmux: pic32: add SDHCI pin config 2020-09-23 00:08:52 +02:00
pinctrl_stm32.c pinctrl: stm32: Add header with SPDX licence 2020-10-02 15:05:14 +02:00