u-boot-brain/arch/sandbox/dts
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
..
include Makefile: Support include files for .dts files 2014-06-20 11:55:03 -06:00
cros-ec-keyboard.dtsi sandbox: avoid duplicate backslash input 2020-10-06 09:07:54 -06:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox_pmic.dtsi dm: sandbox: i2c: Use new emulator parent uclass 2018-11-29 09:30:05 -07:00
sandbox.dts sandbox: add reserved-memory node in device tree 2020-04-16 08:07:58 -06:00
sandbox.dtsi sandbox: dtsi: add buttons 2020-07-28 19:30:39 -06:00
sandbox64.dts sandbox: add reserved-memory node in device tree 2020-04-16 08:07:58 -06:00
test.dts test: pinmux: Add test for pin muxing 2020-10-08 11:42:36 -04:00