Skip to content

New SoC upstreamingΒ #65

@MDr164

Description

@MDr164

Hi Andrea,
I'm currently working on a couple new ports (2 active and almost done just need to add some more peripherals, 3 more lined up afterwards) that I would like to upstream here as well. I currently got a couple question around the logistics there:

  1. Is there already a preferred way how to structure a HAL for different peripheral interfaces like SPI, I2C, etc shared between ports?
  2. I got a platform that uses some SiFive IPs in silicon but is not a SiFive based system, is it fine for platforms like these to just import from other ports or should items like that maybe made common somehow?
  3. One of the platforms has a pretty extensive 32GBit l2 switch peripheral, I could upstream that one here as well but that part is specific and therefore no really reusable, I assume it should be used just within the SoC. Any opinion on 'internal' packages for stuff like that or should I just place it directly into the soc folder to match other platforms structure?

I can also open up draft PRs for each SoC under which we could discuss in more detail but I assume things like where to place common driver interfaces would affect both anyways (I'm currently duplicating a bit of code there)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions