On Sat, 11 Sept 2021 at 16:06, Samuel Holland <sam...@sholland.org> wrote: > > The generic GPIO flags binding is shared across many drivers, some of > which need their own xlate function. Factor out the flag translation > code from gpio_xlate_offs_flags so it does not need to be duplicated. > > Signed-off-by: Samuel Holland <sam...@sholland.org> > --- > > drivers/gpio/gpio-uclass.c | 50 ++++++++++++++++++++++---------------- > include/asm-generic/gpio.h | 8 ++++++ > 2 files changed, 37 insertions(+), 21 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org>