[U-Boot] [PATCH 04/18] dm: test: Add tests for the pinctrl uclass

Simon Glass sjg at chromium.org
Sat Jul 18 01:58:30 CEST 2015


On 6 July 2015 at 12:54, Simon Glass <sjg at chromium.org> wrote:
> Add tests of each API call using a sandbox pinctrl device.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  arch/sandbox/dts/test.dts               | 11 ++++-
>  configs/sandbox_defconfig               |  1 +
>  drivers/pinctrl/Makefile                |  1 +
>  drivers/pinctrl/pinctrl_sandbox.c       | 80 +++++++++++++++++++++++++++++++++
>  include/dt-bindings/clock/sandbox-clk.h | 10 +++++
>  test/dm/Makefile                        |  1 +
>  test/dm/pinctrl.c                       | 63 ++++++++++++++++++++++++++
>  7 files changed, 166 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/pinctrl/pinctrl_sandbox.c
>  create mode 100644 include/dt-bindings/clock/sandbox-clk.h
>  create mode 100644 test/dm/pinctrl.c

Applied to u-boot-dm.


More information about the U-Boot mailing list