]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
imx: mx6 sabreauto: Add board support for USB EHCI
authorYe.Li <B37916@freescale.com>
Thu, 30 Oct 2014 10:53:49 +0000 (18:53 +0800)
committerStefano Babic <sbabic@denx.de>
Mon, 3 Nov 2014 10:21:49 +0000 (11:21 +0100)
commit8fe280f330ddfd4a9e395ca15ab4019a1a32aa1f
treeb735eb181cdc6c6e38c2ff52d3348719ce1d879d
parent36255d67790b5a4f086e2c157ecea2455df0b7ce
imx: mx6 sabreauto: Add board support for USB EHCI

On mx6 sabreauto board, there are two USB ports:
0: OTG
1: HOST
The EHCI driver is enabled for this board, but the IOMUX and VBUS power
control is not implemented, which cause both USB port failed to work.
This patch fix the problem by adding the board support codes.

Since the power control uses the GPIO pin from port expander MAX7310,
the PCA953X driver is enabled for accessing the MAX7310.

The ID pin of OTG Port needs to configure the GPR1 bit 13 for selecting
its daisy chain. Add a new function "imx_iomux_set_gpr_register" to
handle GPR register setting.

Signed-off-by: Ye.Li <B37916@freescale.com>
arch/arm/imx-common/iomux-v3.c
arch/arm/include/asm/imx-common/iomux-v3.h
board/freescale/mx6qsabreauto/mx6qsabreauto.c
include/configs/mx6qsabreauto.h