
1 Oct
2020
1 Oct
'20
4:08 p.m.
On Fri, Sep 11, 2020 at 01:43:34PM +0530, Pratyush Yadav wrote:
From: Jean-Jacques Hiblot jjhiblot@ti.com
Add managed functions to get a gpio from the devce-tree, based on a property name (minus the '-gpios' suffix) and optionally an index.
When the device is unbound, the GPIO is automatically released and the data structure is freed.
Signed-off-by: Jean-Jacques Hiblot jjhiblot@ti.com Reviewed-by: Simon Glass sjg@chromium.org Signed-off-by: Pratyush Yadav p.yadav@ti.com
Applied to u-boot/next, thanks!
--
Tom