Re: [PATCH 2/2] sandbox: add test of wdt_gpio driver

2021-05-10 Thread Simon Glass
On Mon, 10 May 2021 at 09:47, Rasmus Villemoes wrote: > > 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 to UCLASS_WDT > instances in play, so it's a little mo

[PATCH 2/2] sandbox: add test of wdt_gpio driver

2021-05-10 Thread Rasmus Villemoes
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 to UCLASS_WDT instances in play, so it's a little more robust to fetch the device by driver and not merely uclass+inde