From: Tom Rini Date: Thu, 22 Oct 2015 17:23:48 -0400 Subject: [U-Boot] drivers: gpio: omap: add support for parsing additional gpio parameters In-Reply-To: <1444724836-31029-1-git-send-email-mugunthanvnm@ti.com> References: <1444724836-31029-1-git-send-email-mugunthanvnm@ti.com> Message-ID: <20151022212348.GR23893@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Tom Rini > Reviewed-by: Simon Glass 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: