From: Shawn Guo Date: Sun, 4 Aug 2013 13:39:23 +0000 (+0800) Subject: pinctrl: imx: work around select input quirk X-Git-Tag: v3.12-rc1~151^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94176faf279ba96394f77cde62b1fdb8304ed30d;p=pandora-kernel.git pinctrl: imx: work around select input quirk The select input for some pin may not be implemented using the regular select input register but the general purpose register. A real example is that imx6q designers found the select input for USB OTG ID pin is missing at the very late stage, and can not add a new select input register but have to use a general purpose register bit to implement it. The patch adds a workaround for such select input quirk by interpreting the input_val cell of pin function ID in a different way, so that all the info that needed for setting up select input bits in general purpose register could be decoded from there. Signed-off-by: Shawn Guo Tested-by: Peter Chen Signed-off-by: Linus Walleij --- Reading git-diff-tree failed