diff options
author | Shawn Guo <[email protected]> | 2013-08-01 12:22:04 +0800 |
---|---|---|
committer | Shawn Guo <[email protected]> | 2013-09-26 13:01:37 +0800 |
commit | d1d67d71d5e86e0c401bb91f91c6a44b8f408b1d (patch) | |
tree | 630ec117b7f539f91aeb4634eacd2de2610b82ae /tools/perf/scripts/python | |
parent | 4191c3401179a3c068fccd5ff84401a7e3d596e3 (diff) |
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 <[email protected]>
Tested-by: Peter Chen <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions