[U-Boot] [PATCH] drivers: gpio: omap: add support for parsing additional gpio parameters

Simon Glass sjg at chromium.org
Thu Oct 15 15:24:14 CEST 2015


On 13 October 2015 at 02:27, Mugunthan V N <mugunthanvnm at ti.com> wrote:
> With DM_GPIO, gpio parameters like ACTIVE_(LOW/HIGH) are to be
> parsed in xlate gpio drivers-ops. Since xlate is not implemented
> in omap_gpio driver, the driver considers all gpio to be
> ACTIVE_HIGH which is the default case and fails to return actual
> gpio status for ACTIVE_LOW gpios. So adding .xlate ops to
> omap_gpio.
>
> Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
> ---
>  drivers/gpio/omap_gpio.c | 11 +++++++++++
>  1 file changed, 11 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list