Re: [PATCH v6 3/6] clk: spacemit: Add clock support for SpacemiT K1 SoC

From: Alex Elder
Date: Thu Apr 10 2025 - 08:32:52 EST


On 4/10/25 7:30 AM, Alex Elder wrote:

I'd like to see that be the only thing there, and have
various SpacemiT modules define default values that
depend on ARCH_SPACEMIT (or _K1) in their Kconfig
file.  Like:

    config SPACEMIT_K1_CCU
        tristate "Support for SpacemiT K1 SoC"
        depends on ARCH_SPACEMIT || COMPILE_TEST
        default m if ARCH_SPACEMIT

I *think* Haylen said that's what he's going to do.  You
could make it "default ARCH_SPACEMIT" too, though that
builds it in to the kernel.

Nope, I just reread what he said, and I'm mistaken. Go
with what's preferred by the clock maintainers.

-Alex