linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: debug: add support for alternate 8250 register layout
Date: Fri, 2 Oct 2015 17:19:20 +0300	[thread overview]
Message-ID: <560E9268.60900@cogentembedded.com> (raw)
In-Reply-To: <1443787929-19173-1-git-send-email-mans@mansr.com>

Hello.

On 10/2/2015 3:12 PM, Mans Rullgard wrote:

> Some SoCs have a UART with a non-standard register layout. This
> allows the debug console to work with these.

> Signed-off-by: Mans Rullgard <mans@mansr.com>
> ---
> I would have preferred a more accurate description of the UART, but I've
> not managed to figure out who the vendor is.

    You haven't seem the Alchemy datasheets? I can send you some if so.

> ---
>   arch/arm/Kconfig.debug        |  4 ++++
>   arch/arm/include/debug/8250.S | 12 ++++++++++++
>   2 files changed, 16 insertions(+)
>
> diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
> index 0cfd7f9..8d5c837 100644
> --- a/arch/arm/Kconfig.debug
> +++ b/arch/arm/Kconfig.debug
> @@ -1597,6 +1597,10 @@ config DEBUG_UART_8250_WORD
>   		DEBUG_BCM_KONA_UART || DEBUG_RK32_UART2 || \
>   		DEBUG_BRCMSTB_UART
>
> +config DEBUG_UART_8250_AU
> +       bool "8250 UART has Alchemy register layout"
> +       depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
> +

    So Alchemy UART got reused on ARM?

MBR, Sergei

  parent reply	other threads:[~2015-10-02 14:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-02 12:12 [PATCH] ARM: debug: add support for alternate 8250 register layout Mans Rullgard
2015-10-02 14:14 ` Måns Rullgård
2015-10-02 14:19 ` Sergei Shtylyov [this message]
2015-10-02 14:26   ` Måns Rullgård
2015-10-02 14:32     ` Sergei Shtylyov
2015-10-02 14:37       ` Måns Rullgård

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=560E9268.60900@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).