From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 16 Apr 2015 22:21:11 +0200 Subject: [U-Boot] [PATCH v3 7/7] colibri_vf: Enable USB support for Colibri Vybrid In-Reply-To: <2c04ba01f1c42090109ee5746f03d27ebb7d60dc.1429092214.git.maitysanchayan@gmail.com> References: <2c04ba01f1c42090109ee5746f03d27ebb7d60dc.1429092214.git.maitysanchayan@gmail.com> Message-ID: <201504162221.11451.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday, April 15, 2015 at 12:54:28 PM, Sanchayan Maity wrote: > Enable USB support on Toradex Colibri Vybrid Modules. > > Signed-off-by: Sanchayan Maity > --- > board/toradex/colibri_vf/colibri_vf.c | 25 +++++++++++++++++++++-- > include/configs/colibri_vf.h | 37 > +++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 2 > deletions(-) > > diff --git a/board/toradex/colibri_vf/colibri_vf.c > b/board/toradex/colibri_vf/colibri_vf.c index e7bc6c1..054e6f9 100644 > --- a/board/toradex/colibri_vf/colibri_vf.c > +++ b/board/toradex/colibri_vf/colibri_vf.c > @@ -197,7 +197,8 @@ static void clock_init(void) > clrsetbits_le32(&ccm->ccgr0, CCM_REG_CTRL_MASK, > CCM_CCGR0_UART0_CTRL_MASK); > clrsetbits_le32(&ccm->ccgr1, CCM_REG_CTRL_MASK, > - CCM_CCGR1_PIT_CTRL_MASK | CCM_CCGR1_WDOGA5_CTRL_MASK); > + CCM_CCGR1_PIT_CTRL_MASK | CCM_CCGR1_WDOGA5_CTRL_MASK | > + CCM_CCGR1_USBC0_CTRL_MASK); You probably want to flip these CCM regs only if CONFIG_CI_UDC is enabled or something along those lines, right ? Best regards, Marek Vasut