From: Laxman Dewangan Date: Wed, 7 Mar 2012 10:28:33 +0000 (+0530) Subject: regulator: fixed: Support for open drain gpio pin X-Git-Tag: v3.5-rc1~177^2~58^3~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4d9f179cc788b7f4b735d32c2e4a3b2562e8240;p=pandora-kernel.git regulator: fixed: Support for open drain gpio pin Adding flag on fixed regulator board configuration structure to specify whether gpio is open drain type or not. Passing this information to gpio library when requesting gpio so that gpio driver can set the pin state accordingly, for open drain type: - Pin can be set HIGH as setting as input, PULL UP on pin make this as HIGH. - Pin can be set LOW as setting it as output and drive to LOW. The non-open drain pin can be set HIGH/LOW by setting it to output and driving it to HIGH/LOW. Signed-off-by: Laxman Dewangan Signed-off-by: Mark Brown --- Reading git-diff-tree failed