[PATCH 11/11] test: pinmux: add test for 'pinctrl-single' driver
Simon Glass
sjg at chromium.org
Sun Jan 24 03:03:43 CET 2021
On Sat, 23 Jan 2021 at 11:27, Dario Binacchi <dariobin at libero.it> wrote:
>
> The test adds two pinmux nodes to the device tree, one to test when a
> register changes only one pin's mux (pinctrl-single,pins), and the other
> to test when more than one pin's mux is changed (pinctrl-single,bits).
> This required replacing the controller's register access functions when
> the driver is used on sandbox.
>
> Signed-off-by: Dario Binacchi <dariobin at libero.it>
>
> ---
>
> arch/sandbox/dts/test.dts | 65 +++++++++++++++++++++++++
> configs/sandbox_defconfig | 1 +
> drivers/pinctrl/pinctrl-single.c | 62 +++++++++++++++++++-----
> test/dm/pinmux.c | 81 ++++++++++++++++++++++++++++++--
> 4 files changed, 193 insertions(+), 16 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list