[U-Boot] [PATCH V3 1/6] dm: gpio: add a default gpio xlate routine
Purna Chandra Mandal
purna.mandal at microchip.com
Tue Apr 12 05:49:58 CEST 2016
On 04/11/2016 11:01 PM, Eric Nelson wrote:
> Many drivers use a common form of offset + flags for device
> tree nodes. e.g.:
> <&gpio1 2 GPIO_ACTIVE_LOW>
>
> This patch adds a common implementation of this type of parsing
> and calls it when a gpio driver doesn't supply its' own xlate
> routine.
>
> This will allow removal of the driver-specific versions in a
> handful of drivers and simplify the addition of new drivers.
>
> Signed-off-by: Eric Nelson <eric at nelint.com>
> Acked-by: Stephen Warren <swarren at wwwdotorg.org>
Reviewed-by: Purna Chandra Mandal <purna.mandal at microchip.com>
More information about the U-Boot
mailing list