Skip to content

Improve naming of common code and configuration for ADSP DSPs #3413

Description

@pamolloy

At ADI, we are trying to mainline support for our DSP SoCs. Starting with the single Cortex-A55 ADSP-SC598. Note the SC* stands for SHARC Connect, where SHARC is the DSP core architecture.

Unfortunately, the SoC part naming is somewhat complicated:

https://analogdevicesinc.github.io/documentation/products/adsp/index.html#id1

For example, SC57x, SC58x, SC592 and SC594 are 32-bit, while SC596 and SC598 are 64-bit. An unreleased SoC will be very similar to the SC598, but does not follow the SC5xxx pattern as it uses a different digit instead of the 5.

We're considering the following options:

  1. adsp-sc: A generic prefix representing the "SHARC Connect" family (e.g. drivers/clk/adi/clk-adsp-sc.c, compatible = "adi,adsp-sc-uart")
  2. sc5xx: Sticking with the current prefix, even for the 8-series chips, as one would for a driver
  3. scxxx: Using 'xxx' as a wildcard for the 3-digit model series
  4. adsp-scxxx: Perhaps the most accurate option, but rather long for a prefix

Feel free to take a look at our tree, but note there is a lot of work to do before submission:

https://github.com/analogdevicesinc/linux/commits/adsp-6.12.0-y/

We already have support mainline in U-Boot.[1] And expect to have to update it accordingly. In U-Boot it is a bit easier because there isn't the same distinction between arm and arm64.

https://lore.kernel.org/linux-arch/Vz-23fFGsZWIiHL9un3f6bosyPElJf6hnyRM6QOsbT3p4xWpTcncCn9hIa_JmHSR47ZbJD8fTQGdhIermxH2GV4p1dxTdmt2CzKCCsuMbrE=@philipmolloy.com/

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions