[PATCH 8/8] test: dm: Add tests for regmap managed API and regmap fields
Simon Glass
sjg at chromium.org
Sun May 31 16:08:51 CEST 2020
On Wed, 27 May 2020 at 06:52, Pratyush Yadav <p.yadav at ti.com> wrote:
>
> From: Jean-Jacques Hiblot <jjhiblot at ti.com>
>
> The tests rely on a dummy driver to allocate and initialize the regmaps
> and the regmap fields using the managed API. The first test checks if
> the regmap config fields like width, reg_offset_shift, range specifiers,
> etc work. 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>
> Signed-off-by: Pratyush Yadav <p.yadav at ti.com>
> ---
> arch/sandbox/dts/test.dts | 13 +++
> test/dm/regmap.c | 198 ++++++++++++++++++++++++++++++++++++++
> 2 files changed, 211 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list