From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 5/6] usb: host: Add ehci-vf USB driver for ARM Vybrid SoC's
Date: Mon, 13 Apr 2015 01:29:39 +0200 [thread overview]
Message-ID: <201504130129.39640.marex@denx.de> (raw)
In-Reply-To: <46735d5d2cbe2d946742db50728198c19dd781ff.1428497492.git.maitysanchayan@gmail.com>
On Wednesday, April 08, 2015 at 03:20:09 PM, Sanchayan Maity wrote:
> This driver adds support for the USB peripheral on Freescale Vybrid
> SoC's.
>
> Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
> ---
> arch/arm/include/asm/arch-vf610/crm_regs.h | 10 ++
> arch/arm/include/asm/arch-vf610/imx-regs.h | 4 +
> arch/arm/include/asm/arch-vf610/regs-usbphy.h | 31 ++++
> drivers/usb/host/Makefile | 1 +
> drivers/usb/host/ehci-vf.c | 196
> ++++++++++++++++++++++++++ 5 files changed, 242 insertions(+)
> create mode 100644 arch/arm/include/asm/arch-vf610/regs-usbphy.h
> create mode 100644 drivers/usb/host/ehci-vf.c
A general hint, you can replace sequences of code like this:
var = readl(foo);
var |= BIT_BAR;
writel(var, addr);
with
setbits_le32(var, BIT_BAR);
Same applies for clearing -- clrbits_le32() and both setting and
clearing -- clrsetbits_le32().
Thanks!
Best regards,
Marek Vasut
next prev parent reply other threads:[~2015-04-12 23:29 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-08 13:20 [U-Boot] [PATCH v2 0/6] Add support for Colibri Vybrid Modules Sanchayan Maity
2015-04-08 13:20 ` [U-Boot] [PATCH v2 1/6] ARM: vf610: Move DDR3 initialization to imx-common Sanchayan Maity
2015-04-08 13:20 ` [U-Boot] [PATCH v2 2/6] ARM: vf610: Enable external 32KHz oscillator Sanchayan Maity
2015-04-08 13:20 ` [U-Boot] [PATCH v2 3/6] ARM: vf610: Add SoC and CPU type detection Sanchayan Maity
2015-04-08 13:20 ` [U-Boot] [PATCH v2 4/6] ARM: vf610: Enable caches Sanchayan Maity
2015-04-08 13:20 ` [U-Boot] [PATCH v2 5/6] usb: host: Add ehci-vf USB driver for ARM Vybrid SoC's Sanchayan Maity
2015-04-12 23:29 ` Marek Vasut [this message]
2015-04-13 5:37 ` maitysanchayan at gmail.com
2015-04-13 5:49 ` Marek Vasut
2015-04-08 13:20 ` [U-Boot] [PATCH v2 6/6] ARM: vf610: Initial integration for Colibri VF50/VF61 Sanchayan Maity
2015-04-11 16:46 ` [U-Boot] [PATCH v2 0/6] Add support for Colibri Vybrid Modules Marek Vasut
2015-04-12 5:33 ` maitysanchayan at gmail.com
2015-04-12 23:28 ` Marek Vasut
2015-04-13 1:36 ` Fabio Estevam
2015-04-13 3:41 ` Marek Vasut
2015-04-13 6:21 ` maitysanchayan at gmail.com
2015-04-13 8:44 ` Marek Vasut
2015-04-13 8:50 ` Peter Chen
2015-04-13 8:52 ` Marek Vasut
2015-04-14 9:06 ` Peter Chen
2015-04-14 10:18 ` maitysanchayan at gmail.com
2015-04-15 5:41 ` Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201504130129.39640.marex@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox