From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 2 Aug 2013 12:48:51 +0200 Subject: [U-Boot] [PATCH V3 01/20] Add functions for use with i.mx6 otg udc In-Reply-To: <1375399657-25642-2-git-send-email-troy.kisky@boundarydevices.com> References: <1375399657-25642-1-git-send-email-troy.kisky@boundarydevices.com> <1375399657-25642-2-git-send-email-troy.kisky@boundarydevices.com> Message-ID: <201308021248.52104.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 Dear Troy Kisky, > Add functions for use with mx6 soc > void otg_enable(void); > void reset_usb_phy1(void); > > Signed-off-by: Troy Kisky > --- > arch/arm/cpu/armv7/mx6/soc.c | 47 > +++++++++++++++++++++++++++++++ arch/arm/include/asm/arch-mx6/crm_regs.h > | 3 ++ > arch/arm/include/asm/arch-mx6/imx-regs.h | 17 +++++++++++ > arch/arm/include/asm/arch-mx6/sys_proto.h | 4 +++ > 4 files changed, 71 insertions(+) [...] > diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h > b/arch/arm/include/asm/arch-mx6/imx-regs.h index 5d6bccb..3eed4d8 100644 > --- a/arch/arm/include/asm/arch-mx6/imx-regs.h > +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h > @@ -419,6 +419,23 @@ struct cspi_regs { > ECSPI5_BASE_ADDR > #endif > > +struct set_clr_tog { > + u32 val; > + u32 set; > + u32 clr; > + u32 tog; > +}; > + > +struct usbphy { > + struct set_clr_tog pwd; > + struct set_clr_tog tx; > + struct set_clr_tog rx; > + struct set_clr_tog ctrl; > +}; Maybe you want to keep the naming here consistent with MX28 and MX6? See arch/arm/include/asm/imx-common/regs-common.h [...] Best regards, Marek Vasut