[U-Boot] [PATCH v1 5/5] test: dm: Add tests for regmap managed API and regmap fields

Simon Glass sjg at chromium.org
Wed Oct 30 01:48:34 UTC 2019


On Fri, 27 Sep 2019 at 07:22, Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
>
> The tests rely on a dummy driver to allocate and initialize the regmap
> and the regmap fields using the managed API.
> The first test checks that the read/write callbacks are used.
> The second test checks if regmap fields behave properly (mask and shift
> are ok) by peeking into the regmap.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
>
> ---
>
>  arch/sandbox/dts/test.dts |  13 +++
>  test/dm/regmap.c          | 189 ++++++++++++++++++++++++++++++++++++++
>  2 files changed, 202 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list