
17 Jun
2020
17 Jun
'20
9:59 a.m.
On 16/06/20 05:37PM, Simon Glass wrote:
Hi Pratyush,
On Fri, 29 May 2020 at 15:38, Pratyush Yadav p.yadav@ti.com 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
drivers/gpio/gpio-uclass.c | 70 ++++++++++++++++++++++++++++++++++++++ include/asm-generic/gpio.h | 47 +++++++++++++++++++++++++ 2 files changed, 117 insertions(+)
Is there a change log for this one?
No changes to this patch from v1 other than adding a couple #include to fix compilation errors.
--
Regards,
Pratyush Yadav
Texas Instruments India