[PATCH v2 4/6] dt-bindings: timer: sifive,clint: Deprecate spacemit,k3-clint

Conor Dooley conor at kernel.org
Tue Sep 8 09:49:15 PDT 2026


On Wed, Sep 09, 2026 at 12:28:47AM +0800, Junhui Liu wrote:
> The SpacemiT K3 implements separate ACLINT MSWI, MTIMER and SSWI
> devices. The existing spacemit,k3-clint compatible incorrectly describes
> the SSWI register space as a legacy CLINT.
> 
> Deprecate this compatible in favor of the K3-specific ACLINT
> compatibles.

If it is this badly wrong, please just delete it.
Leaving it deprecated implies that it is frowned upon but still works.
pw-bot: changes-requested

Thanks,
Conor.

> 
> Fixes: 6cdeb30db4d8 ("dt-bindings: timer: add SpacemiT K3 CLINT")
> Signed-off-by: Junhui Liu <junhui.liu at pigmoral.tech>
> ---
>  Documentation/devicetree/bindings/timer/sifive,clint.yaml | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/timer/sifive,clint.yaml b/Documentation/devicetree/bindings/timer/sifive,clint.yaml
> index 3673836e14de..88b9be2230a1 100644
> --- a/Documentation/devicetree/bindings/timer/sifive,clint.yaml
> +++ b/Documentation/devicetree/bindings/timer/sifive,clint.yaml
> @@ -34,7 +34,6 @@ properties:
>                - microchip,pic64gx-clint # Microchip PIC64GX
>                - sifive,fu540-c000-clint # SiFive FU540
>                - spacemit,k1-clint       # SpacemiT K1
> -              - spacemit,k3-clint       # SpacemiT K3
>                - starfive,jh7100-clint   # StarFive JH7100
>                - starfive,jh7110-clint   # StarFive JH7110
>                - starfive,jh8100-clint   # StarFive JH8100
> @@ -62,6 +61,10 @@ properties:
>            - const: riscv,clint0
>          deprecated: true
>          description: For the QEMU virt machine only
> +      - items:
> +          - const: spacemit,k3-clint
> +          - const: sifive,clint0
> +        deprecated: true
>  
>      description:
>        Should be "<vendor>,<chip>-clint", followed by "sifive,clint<version>"
> 
> -- 
> 2.55.0
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20260908/f4e88b72/attachment.sig>


More information about the linux-riscv mailing list