All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Stefan Dösinger" <stefandoesinger@gmail.com>
To: Linus Walleij <linusw@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org,
	Arnd Bergmann <arnd@arndb.de>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Rob Herring <robh@kernel.org>
Subject: Re: [PATCH v3 6/8] ARM: zte: Bring back zx29 UART support
Date: Tue, 21 Apr 2026 00:21:51 +0300	[thread overview]
Message-ID: <5075672.GXAFRqVoOG@strix> (raw)
In-Reply-To: <CAD++jLkkV0h5R5=2sWNcPCV8h9vJHXCRsuaFxS7_bBZH0nZKUg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]

Am Montag, 20. April 2026, 16:00:24 Ostafrikanische Zeit schrieben Sie:
> Topic should be prefixed:
> "amba/serial: amba-pl011: ..."

I'll change it

> Interesting with the AMBA pseudo-ID, but I kind of like the idea.

It wasn't my idea. That's - as the description says - the code that was once 
upstream before it got removed in 89d4f98ae90d. This is also why the 
ZX_UART011_* defines still exist.

I re-checked if the device identifies itself in the mmio area in any way, and 
that I maybe got the size wrong - but that was not the case, everything past 
the ZX_UART011_* registers is zero until the next device starts.

> Things without bit 7 set such as ARMs 0x41 and Qualcomms
> 0x51 are kind of cowboy values however. LSI 0xb6 is the only
> vendor actually following the standard.

> You could use 0x7e.

Another idea I considered is using ZTE's 0x8c (assuming that "Microelectronics 
Institute ZTE" is the same ZTE that made the board), but then I would have to 
invent a device number, ideally without clashing with an existing ZTE device.

Thanks for the review,
Stefan

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 870 bytes --]

  reply	other threads:[~2026-04-20 21:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-14 21:12 [PATCH v3 0/8] Add support for ZTE zx297520v3 Stefan Dösinger
2026-04-14 21:12 ` [PATCH v3 1/8] ARM: zte: Add zx297520v3 platform support Stefan Dösinger
2026-04-20 12:36   ` Linus Walleij
2026-04-14 21:12 ` [PATCH v3 2/8] dt-bindings: arm: Add zx297520v3 board binding Stefan Dösinger
2026-04-15  6:45   ` Krzysztof Kozlowski
2026-04-14 21:12 ` [PATCH v3 3/8] ARM: dts: Add D-Link DWR-932M support Stefan Dösinger
2026-04-14 21:12 ` [PATCH v3 4/8] ARM: zte: Add support for zx29 low level debug Stefan Dösinger
2026-04-20 12:37   ` Linus Walleij
2026-04-14 21:12 ` [PATCH v3 5/8] ARM: dts: Add an armv7 timer for zx297520v3 Stefan Dösinger
2026-04-14 21:12 ` [PATCH v3 6/8] ARM: zte: Bring back zx29 UART support Stefan Dösinger
2026-04-20 13:00   ` Linus Walleij
2026-04-20 21:21     ` Stefan Dösinger [this message]
2026-04-21  8:55       ` Linus Walleij
2026-04-14 21:12 ` [PATCH v3 7/8] ARM: dts: Declare UART1 on zx297520v3 boards Stefan Dösinger
2026-04-14 21:12 ` [PATCH v3 8/8] ARM: defconfig: Add a zx29 defconfig file Stefan Dösinger

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=5075672.GXAFRqVoOG@strix \
    --to=stefandoesinger@gmail.com \
    --cc=arnd@arndb.de \
    --cc=krzk+dt@kernel.org \
    --cc=linusw@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=robh@kernel.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.