colibri_vf: Enable board specific USB initialisation for USB pen gpio
authorSanchayan Maity <maitysanchayan@gmail.com>
Mon, 4 May 2015 05:58:55 +0000 (11:28 +0530)
committerStefan Agner <stefan.agner@toradex.com>
Mon, 4 May 2015 15:50:00 +0000 (17:50 +0200)
commitcafd2c60cb8856db8976957823ee1059e28fa5ad
tree424860cfb62880b4dd1173cce22eae801f32253e
parent56adc6e9a6ab7e7ccb75a38d34ff9fda96b9cf3a
colibri_vf: Enable board specific USB initialisation for USB pen gpio

Add IOMUX for the pad used as USB pen. This needs to be driven low for
the Iris and Viola boards where it is pulled up high by default. This is
required for the USB host functionality to work on these boards. Use the
board specific weak initialisation function, to drive the pin low which
would be called on "usb start".

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
[use switch statement to make port selection more obvious]
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
arch/arm/include/asm/arch-vf610/iomux-vf610.h
board/toradex/colibri_vf/colibri_vf.c