Re: [PATCH RFC 07/10] tty: serial: Add Cortina Systems CS75xx UART driver

From: Arnd Bergmann

Date: Thu Oct 01 2026 - 02:19:30 EST


On Thu, Oct 1, 2026, at 07:26, Fil Dunsky wrote:
> On Thu, Oct 01, 2026 at 05:14:59AM +0000, Jason Li wrote:
>> We agree with the approach of using a single UART driver since the
>> CS75xx and CA series share the same UART hardware implementation.
>> For the Device Tree compatible strings, we would prefer using the
>> "cortina-access" vendor prefix for the CA SoCs (e.g.
>> "cortina-access,<soc>-uart").
>> We do not have concerns with using a neutral driver name such as
>> cortina-uart. However, for DT bindings and related documentation
>> describing the CA devices, we would prefer the wording "Cortina
>> Access" to distinguish them from the legacy Cortina/Marvell branded
>> devices.
>
> - drivers/tty/serial/cortina-uart.c, SERIAL_CORTINA,
> SERIAL_CORTINA_CONSOLE;
> - the CS75xx parts keep the existing "cortina" prefix
> ("cortina,cs7542-uart"), the CA parts get "cortina-access,<soc>-uart"
> when they are added;
> - the binding and the Kconfig help name both families, as "Cortina
> Systems CS75xx" and "Cortina Access CAxxxx".
>
> Arnd, this also answers the prefix question from patch 4 for me: I
> would leave the CS75xx compatibles and the dts directory on "cortina"
> then, and use "cortina-access" only for the parts that Cortina Access
> made. Please shout if you or the DT maintainers see it differently.

No objections from me either way, but I don't quite understand what
that will mean for the older parts that that are still sold by
Cortina Access: cs8032, cs8022 and cs8124. If someone later adds
DT support for those, would we use 'cortina,cs8032' or
'cortina-access,cs8032'?

Arnd