From: Philip Elcan <pelcan@codeaurora.org>
To: Andre Przywara <andre.przywara@arm.com>,
linux@arm.linux.org.uk, gregkh@linuxfoundation.org,
jslaby@suse.cz
Cc: Mark Rutland <mark.rutland@arm.com>,
rob.herring@linaro.org, arnd@arndb.de,
linux-serial@vger.kernel.org, Dave Martin <dave.martin@arm.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 10/10] drivers: PL011: add support for the ARM SBSA generic UART
Date: Tue, 17 Feb 2015 10:55:35 -0500 [thread overview]
Message-ID: <54E36477.3050406@codeaurora.org> (raw)
In-Reply-To: <1421428986-11300-11-git-send-email-andre.przywara@arm.com>
On 01/16/2015 12:23 PM, Andre Przywara wrote:
> The ARM Server Base System Architecture[1] document describes a
> generic UART which is a subset of the PL011 UART.
> It lacks DMA support, baud rate control and modem status line
> control, among other things.
> The idea is to move the UART initialization and setup into the
> firmware (which does this job today already) and let the kernel just
> use the UART for sending and receiving characters.
> We use the recent refactoring the build a new struct uart_ops
> variable which points to some new functions avoiding access to the
> missing registers. We reuse as much existing PL011 code as possible.
>
> In contrast to the PL011 the SBSA UART does not define any AMBA or
> PrimeCell relations, so we go a pretty generic probe function
> which only uses platform device functions.
> A DT binding is provided, but other systems can easily attach to it,
> too (hint, hint!).
>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> ---
<snip>
Andre,
I'm a little late to address this patchset, but the SBSA defines all
the Generic UART registers 32-bit wide. However, the amba-pl011 driver
uses 16-bit accessors. How will you be handling that? Can the ARM PL011
hardware handle 32-bit access?
Philip
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora
Forum, a Linux Foundation Collaborative Project
WARNING: multiple messages have this Message-ID (diff)
From: pelcan@codeaurora.org (Philip Elcan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 10/10] drivers: PL011: add support for the ARM SBSA generic UART
Date: Tue, 17 Feb 2015 10:55:35 -0500 [thread overview]
Message-ID: <54E36477.3050406@codeaurora.org> (raw)
In-Reply-To: <1421428986-11300-11-git-send-email-andre.przywara@arm.com>
On 01/16/2015 12:23 PM, Andre Przywara wrote:
> The ARM Server Base System Architecture[1] document describes a
> generic UART which is a subset of the PL011 UART.
> It lacks DMA support, baud rate control and modem status line
> control, among other things.
> The idea is to move the UART initialization and setup into the
> firmware (which does this job today already) and let the kernel just
> use the UART for sending and receiving characters.
> We use the recent refactoring the build a new struct uart_ops
> variable which points to some new functions avoiding access to the
> missing registers. We reuse as much existing PL011 code as possible.
>
> In contrast to the PL011 the SBSA UART does not define any AMBA or
> PrimeCell relations, so we go a pretty generic probe function
> which only uses platform device functions.
> A DT binding is provided, but other systems can easily attach to it,
> too (hint, hint!).
>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> ---
<snip>
Andre,
I'm a little late to address this patchset, but the SBSA defines all
the Generic UART registers 32-bit wide. However, the amba-pl011 driver
uses 16-bit accessors. How will you be handling that? Can the ARM PL011
hardware handle 32-bit access?
Philip
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora
Forum, a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2015-02-17 15:55 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-16 17:22 [PATCH 00/10] drivers: PL011: add ARM SBSA Generic UART support Andre Przywara
2015-01-16 17:22 ` Andre Przywara
2015-01-16 17:22 ` [PATCH 01/10] drivers: PL011: avoid potential unregister_driver call Andre Przywara
2015-01-16 17:22 ` Andre Przywara
2015-01-16 17:22 ` [PATCH 02/10] drivers: PL011: refactor pl011_startup() Andre Przywara
2015-01-16 17:22 ` Andre Przywara
2015-01-16 17:22 ` [PATCH 03/10] drivers: PL011: refactor pl011_shutdown() Andre Przywara
2015-01-16 17:22 ` Andre Przywara
2015-01-16 17:23 ` [PATCH 04/10] drivers: PL011: refactor pl011_set_termios() Andre Przywara
2015-01-16 17:23 ` Andre Przywara
2015-01-16 17:23 ` [PATCH 05/10] drivers: PL011: refactor pl011_probe() Andre Przywara
2015-01-16 17:23 ` Andre Przywara
2015-01-16 17:23 ` [PATCH 06/10] drivers: PL011: replace UART_MIS reading with _RIS & _IMSC Andre Przywara
2015-01-16 17:23 ` Andre Przywara
2015-01-16 17:23 ` [PATCH 07/10] drivers: PL011: move cts_event workaround into separate function Andre Przywara
2015-01-16 17:23 ` Andre Przywara
2015-01-16 17:23 ` [PATCH 08/10] drivers: PL011: allow avoiding UART enabling/disabling Andre Przywara
2015-01-16 17:23 ` Andre Przywara
2015-01-16 17:23 ` [PATCH 09/10] drivers: PL011: allow to supply fixed option string Andre Przywara
2015-01-16 17:23 ` Andre Przywara
2015-01-16 17:23 ` [PATCH 10/10] drivers: PL011: add support for the ARM SBSA generic UART Andre Przywara
2015-01-16 17:23 ` Andre Przywara
2015-01-16 17:34 ` Mark Rutland
2015-01-16 17:34 ` Mark Rutland
2015-01-16 18:07 ` Andre Przywara
2015-01-16 18:07 ` Andre Przywara
2015-01-16 18:12 ` Mark Rutland
2015-01-16 18:12 ` Mark Rutland
2015-01-16 18:33 ` Andre Przywara
2015-01-16 18:33 ` Andre Przywara
2015-01-16 18:37 ` Mark Rutland
2015-01-16 18:37 ` Mark Rutland
2015-01-19 13:31 ` Arnd Bergmann
2015-01-19 13:31 ` Arnd Bergmann
2015-01-19 13:44 ` Andre Przywara
2015-01-19 13:44 ` Andre Przywara
2015-01-19 13:56 ` Arnd Bergmann
2015-01-19 13:56 ` Arnd Bergmann
2015-02-17 15:55 ` Philip Elcan [this message]
2015-02-17 15:55 ` Philip Elcan
2015-02-17 16:16 ` Dave Martin
2015-02-17 16:16 ` Dave Martin
2015-03-04 17:47 ` Andre Przywara
2015-03-04 17:47 ` Andre Przywara
2015-03-05 11:15 ` Dave Martin
2015-03-05 11:15 ` Dave Martin
2015-01-16 17:31 ` [PATCH 00/10] drivers: PL011: add ARM SBSA Generic UART support Arnd Bergmann
2015-01-16 17:31 ` Arnd Bergmann
2015-01-16 17:53 ` Andre Przywara
2015-01-16 17:53 ` Andre Przywara
2015-01-20 13:08 ` Graeme Gregory
2015-01-20 13:08 ` Graeme Gregory
2015-01-20 13:55 ` Andre Przywara
2015-01-20 13:55 ` Andre Przywara
2015-01-20 14:26 ` Graeme Gregory
2015-01-20 14:26 ` Graeme Gregory
2015-01-20 14:33 ` Andre Przywara
2015-01-20 14:33 ` Andre Przywara
2015-01-20 14:52 ` Graeme Gregory
2015-01-20 14:52 ` Graeme Gregory
2015-01-21 9:26 ` Graeme Gregory
2015-01-21 9:26 ` Graeme Gregory
2015-01-20 14:32 ` Dave P Martin
2015-01-20 14:32 ` Dave P Martin
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=54E36477.3050406@codeaurora.org \
--to=pelcan@codeaurora.org \
--cc=andre.przywara@arm.com \
--cc=arnd@arndb.de \
--cc=dave.martin@arm.com \
--cc=gregkh@linuxfoundation.org \
--cc=jslaby@suse.cz \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=rob.herring@linaro.org \
/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.