From: Shawn Guo Date: Thu, 1 Aug 2013 04:22:04 +0000 (+0800) Subject: ARM: dts: imx6q: add quirky select input for USB_OTG_ID X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~48^2~9^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1d67d71d5e86e0c401bb91f91c6a44b8f408b1d;p=pandora-kernel.git ARM: dts: imx6q: add quirky select input for USB_OTG_ID For some reason, the select input of pin function USB_OTG_ID is not implemented via a regular select input register but using the bit USB_OTG_ID_ SEL (shift 13) of IOMUXC_GPR1 register (offset 0x4). As per the workaround for such quirk implemented in pinctrl driver, we need to compose the input_val cell as below. 31 23 15 7 0 | 0xff | shift | width | select | Thus, we have 0xff0d0100 for MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID and 0xff0d0101 for MX6QDL_PAD_GPIO_1__USB_OTG_ID in input_val cell. Signed-off-by: Shawn Guo Tested-by: Peter Chen Acked-by: Linus Walleij --- Reading git-diff-tree failed