test: gpio: Add tests for the managed API
Add a test to verify that GPIOs can be acquired/released using the managed API. Also check that the GPIOs are released when the consumer device is removed. Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NPratyush Yadav <p.yadav@ti.com>
Showing
想要评论请 注册 或 登录