[PATCH v2 1/2] drivers: gpio: Add a managed API to get a GPIO from the device-tree
Simon Glass
sjg at chromium.org
Wed Jun 17 01:37:15 CEST 2020
Hi Pratyush,
On Fri, 29 May 2020 at 15:38, Pratyush Yadav <p.yadav at ti.com> wrote:
>
> From: Jean-Jacques Hiblot <jjhiblot at 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 at 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?
Regards,
Simon
More information about the U-Boot
mailing list