[PATCH 14/20] dm: Add a test for of-platdata parent information
Simon Glass
sjg at chromium.org
Fri Oct 30 04:34:34 CET 2020
Add a simple test that we can obtain the correct parent for an I2C
device. This requires updating the driver names to match the compatible
strings, adding them to the devicetree and enabling a few options.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/sandbox/dts/sandbox.dts | 1 +
arch/sandbox/dts/sandbox.dtsi | 1 +
configs/sandbox_spl_defconfig | 4 +++-
drivers/i2c/sandbox_i2c.c | 4 ++--
drivers/rtc/sandbox_rtc.c | 4 ++--
test/dm/of_platdata.c | 15 +++++++++++++++
6 files changed, 24 insertions(+), 5 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list