mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
7f0f1806e3
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> |
||
---|---|---|
.. | ||
am33xx.h | ||
am43xx.h | ||
at91.h | ||
bcm2835.h | ||
brcm,pinctrl-ns3.h | ||
dra.h | ||
hisi.h | ||
k3.h | ||
omap.h | ||
pads-imx8qm.h | ||
pads-imx8qxp.h | ||
pinctrl-snapdragon.h | ||
pinctrl-tegra-xusb.h | ||
pinctrl-tegra.h | ||
pins-imx8mq.h | ||
pins-imxrt1020.h | ||
pins-imxrt1050.h | ||
r7s72100-pinctrl.h | ||
rockchip.h | ||
sandbox-pinmux.h | ||
stm32-pinfunc.h | ||
sun4i-a10.h |