
30 Sep
2021
30 Sep
'21
6:08 a.m.
On Sat, 11 Sept 2021 at 16:06, Samuel Holland samuel@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 samuel@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 sjg@chromium.org