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

Tom Rini trini at konsulko.com
Thu Oct 22 23:23:48 CEST 2015


On Tue, Oct 13, 2015 at 01:57:16PM +0530, Mugunthan V N 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>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151022/6fa17d28/attachment-0001.sig>


More information about the U-Boot mailing list