test: add dm_test_read_resource

Add a test of dev_read_resource with translation or without translation

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
40 jobs for dm-pull-6jun21 in 42 minutes and 15 seconds (queued for 2 seconds)
latest
Status Name Job ID Coverage
  Testsuites
passed Build envtools #275275

00:00:26

passed Build tools-only #275274

00:00:28

passed Check for configs without MAINTAINERS entry #275273

00:00:24

passed cppcheck #275269

00:00:32

passed grep TODO/FIXME/HACK #275270

00:00:38

passed htmldocs #275271

00:01:07

passed Run binman, buildman, dtoc, Kconfig and patman testsuites #275276

00:01:08

passed Run tests for Nokia RX-51 (aka N900) #275277

00:03:24

passed sloccount #275272

00:00:37

 
  Test.Py
passed evb-ast2500 test.py #275282

00:00:39

passed integratorcp_cm926ejs test.py #275284

00:01:02

passed qemu_arm64 test.py #275286

00:01:43

passed qemu_arm test.py #275285

00:01:21

passed qemu_malta64el test.py #275290

00:01:02

passed qemu_malta64 test.py #275289

00:01:00

passed qemu_maltael test.py #275288

00:00:41

passed qemu_malta test.py #275287

00:01:00

passed qemu-ppce500 test.py #275291

00:00:39

passed qemu-riscv32_spl test.py #275294

00:01:14

passed qemu-riscv32 test.py #275292

00:01:01

passed qemu-riscv64_spl test.py #275295

00:00:49

passed qemu-riscv64 test.py #275293

00:01:23

passed qemu-x86_64 test.py #275297

00:01:40

passed qemu-x86 test.py #275296

00:01:35

passed r2dplus_i82557c test.py #275298

00:00:39

passed r2dplus_pcnet test.py #275299

00:00:38

passed r2dplus_rtl8139 test.py #275300

00:01:00

passed r2dplus_tulip test.py #275301

00:00:38

passed sandbox_flattree test.py #275283

00:00:57

passed sandbox_noinst_test.py #275281

00:00:57

passed sandbox_spl test.py #275280

00:00:58

passed sandbox test.py #275278

00:02:50

passed sandbox with clang test.py #275279

00:04:16

passed xilinx_versal_virt test.py #275303

00:00:42

passed xilinx_zynq_virt test.py #275302

00:01:26

passed xtfpga test.py #275304

00:00:59

 
  World Build
passed build all 32bit ARM platforms #275305

00:25:56

passed build all 64bit ARM platforms #275306

00:25:32

passed build all other platforms #275308

00:06:40

passed build all PowerPC platforms #275307

00:07:04