From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5] ARM: mxs: Added application UART driver
Date: Thu, 15 Aug 2013 01:24:45 +0200 [thread overview]
Message-ID: <201308150124.45811.marex@denx.de> (raw)
In-Reply-To: <1376516703-10820-1-git-send-email-andreas.wass@dalelven.com>
Dear Andreas Wass,
> The driver makes it possible to use an application UART as
> the U-Boot output console for Freescale i.MX23/i.MX28 devices.
>
> Signed-off-by: Andreas Wass <andreas.wass@dalelven.com>
> Cc: Fabio Estevam <fabio.estevam@freescale.com>
> Cc: Marek Vasut <marex@denx.de>
> ---
> Changes for v2:
> - Added comment that regs-uartapp.h is pulled from LTIB
> - BM_ prefixes removed and _MASK suffixes added instead
> - BP_ prefixes removed and _OFFSET suffixes added instead
> - BF_ defines removed altogether
> - CONFIG_MXS_AUART_CLK renamed to MXS_AUART_CLK and guarding ifndef
> removed - Added comments describing what is set and unset during init of
> driver - Added newline that was accidently removed from serial.c
>
> Changes for v3:
> - All BV_ values are now on the form (value << something)
> - BV_ prefix removed and double underscore substituted with a single
> - File comment of mxs_auart.c now attributes what the driver is based on
> - Uses gd->baudrate instead of CONFIG_BAUDRATE
> - If gd->baudrate is 0 it reverts back to CONFIG_BAUDRATE
> - Checks the validity of the div value calculated when setting the
> baudrate - Magic numbers are now defines instead
> - Cleanup of comments
> - Cleanup of commit message
>
> Changes for v4:
> - Fixed UARTAPP_LINECTRL2_WLEN_*BITS values
>
> Changes for v5:
> - Removed all RSVD values from regs-uartapp.h
> - 0x0000FFFF (and similar) turned into 0xFFFF (and similar)
> - Removed all bitshifts by 0
> - All masks with non-zero shifting are now on the form (value << shift)
>
> arch/arm/include/asm/arch-mxs/regs-uartapp.h | 220
> +++++++++++++++++++++++++++ drivers/serial/Makefile |
> 1 +
> drivers/serial/mxs_auart.c | 151 ++++++++++++++++++
> drivers/serial/serial.c | 2 +
> 4 files changed, 374 insertions(+)
> create mode 100644 arch/arm/include/asm/arch-mxs/regs-uartapp.h
> create mode 100644 drivers/serial/mxs_auart.c
Acked-by: Marek Vasut <marex@denx.de>
Best regards,
Marek Vasut
next prev parent reply other threads:[~2013-08-14 23:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-14 21:45 [U-Boot] [PATCH v5] ARM: mxs: Added application UART driver Andreas Wass
2013-08-14 23:24 ` Marek Vasut [this message]
2013-08-21 10:39 ` Stefano Babic
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=201308150124.45811.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.