From: Rabin Vincent Date: Fri, 3 Dec 2010 15:05:37 +0000 (+0530) Subject: nomadik-gpio: allow sleep mode dir/pull to differ from normal mode X-Git-Tag: v2.6.38-rc1~471^2^2~1^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dacdc96cd33dee876c704aaed78f41515abe8a81;p=pandora-kernel.git nomadik-gpio: allow sleep mode dir/pull to differ from normal mode In the nomadik GPIO pin configuration, allow the sleep mode direction and pull configurations to differ from the ones for the normal state. PIN_SLPM_PULL_*, PIN_SLPM_INPUT, PIN_SLPM_OUTPUT* macros are provided for this. Since the hardware does not allow seperate configurations for sleep mode and normal mode, this is implemented by having software remux the configurations as necessary. Reviewed-by: Srinidhi KASAGAR Signed-off-by: Rabin Vincent Signed-off-by: Mian Yousaf Kaukab Signed-off-by: Linus Walleij --- Reading git-diff-tree failed