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 master in 69 minutes and 45 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Testsuites
passed Build envtools #275234

00:00:13

passed Build tools-only #275233

00:00:14

passed Check for configs without MAINTAINERS entry #275232

00:00:11

passed cppcheck #275228

00:00:30

passed grep TODO/FIXME/HACK #275229

00:00:11

passed htmldocs #275230

00:00:54

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

00:01:06

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

00:03:04

passed sloccount #275231

00:00:37

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

00:00:39

passed integratorcp_cm926ejs test.py #275243

00:00:39

passed qemu_arm64 test.py #275245

00:01:21

passed qemu_arm test.py #275244

00:01:41

passed qemu_malta64el test.py #275249

00:01:02

passed qemu_malta64 test.py #275248

00:00:38

passed qemu_maltael test.py #275247

00:00:59

passed qemu_malta test.py #275246

00:01:02

passed qemu-ppce500 test.py #275250

00:00:38

passed qemu-riscv32_spl test.py #275253

00:00:47

passed qemu-riscv32 test.py #275251

00:01:19

passed qemu-riscv64_spl test.py #275254

00:01:10

passed qemu-riscv64 test.py #275252

00:01:25

passed qemu-x86_64 test.py #275256

00:01:42

passed qemu-x86 test.py #275255

00:01:18

passed r2dplus_i82557c test.py #275257

00:00:59

passed r2dplus_pcnet test.py #275258

00:00:38

passed r2dplus_rtl8139 test.py #275259

00:00:43

passed r2dplus_tulip test.py #275260

00:01:00

passed sandbox_flattree test.py #275242

00:01:41

passed sandbox_noinst_test.py #275240

00:01:19

passed sandbox_spl test.py #275239

00:00:59

passed sandbox test.py #275237

00:03:56

passed sandbox with clang test.py #275238

00:04:14

passed xilinx_versal_virt test.py #275262

00:00:40

passed xilinx_zynq_virt test.py #275261

00:01:07

passed xtfpga test.py #275263

00:00:57

 
  World Build
passed build all 32bit ARM platforms #275264

00:48:49

passed build all 64bit ARM platforms #275265

00:17:28

passed build all other platforms #275267

00:05:30

passed build all PowerPC platforms #275266

00:05:53