commit | 2b67387dca655fb91e9d802a4aac81b997270629 | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | Thu Aug 19 11:57:05 2021 +0200 |
committer | Stefan Roese <sr@denx.de> | Tue Aug 31 12:04:03 2021 +0200 |
tree | 3b6fb1964336febe5e76982d7b5680f77fa8644e | |
parent | 0866760de69c113b9110b4171670ca3972907538 [diff] |
sandbox: add test of wdt_gpio driver It seems that no other test has claimed gpio_a:7 yet, so use that. The only small wrinkle is modifying the existing wdt test to use uclass_get_device_by_driver() since we now have two UCLASS_WDT instances in play, so it's a little more robust to fetch the device by driver and not merely uclass+index. Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>