Re: [PATCH 1/2] dt-bindings: clock: loongson,ls2k: add ls2k1000 compatible
From: Krzysztof Kozlowski
Date: Sun Mar 22 2026 - 04:56:12 EST
On 22/03/2026 09:03, wjjsn wrote:
> From: wjjsn <2858482031@xxxxxx>
>
> Add a SoC-specific "loongson,ls2k1000-clk" compatible.
Why?
> Retain the existing "loongson,ls2k-clk" as a deprecated fallback
> for backward compatibility.
>
> Signed-off-by: wjjsn <wjjsn@xxxxxx>
> ---
> .../devicetree/bindings/clock/loongson,ls2k-clk.yaml | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml b/Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml
> index c07ad1f85857..4d70bc4e7a13 100644
> --- a/Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml
> +++ b/Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml
> @@ -13,12 +13,16 @@ description: |
> Loongson-2 SoC clock control module is an integrated clock controller, which
> generates and supplies to all modules.
>
> + The "loongson,ls2k1000-clk" string should be used for Loongson-2K1000.
> + The "loongson,ls2k-clk" string is kept as a fallback for backward compatibility for Loongson-2K1000.
> +
> properties:
> compatible:
> enum:
> - loongson,ls2k0300-clk
> - loongson,ls2k0500-clk
> - - loongson,ls2k-clk # This is for Loongson-2K1000
> + - loongson,ls2k-clk
Naaah, never tested.
Best regards,
Krzysztof