[PATCH v2 0/2] loongson2 clk: introduce ls2k1000 specific compatible
From: wjjsn
Date: Sun Mar 22 2026 - 11:09:18 EST
Changes in v2:
- Use 'deprecated: true' property for the old compatible string
instead of just describing it in human language, as suggested
by Yao Zi.
- In the example, the 'loongson,ls2k-clk'
has been changed to 'loongson,ls2k1000-clk'
- The order in loongson2_clk_match_table has been adjusted
The "loongson,ls2k-clk" compatible is currently used for the
Loongson-2K1000 clock controller, despite being generic.
This series introduces a SoC-specific compatible
"loongson,ls2k1000-clk" to make the binding more precise and
consistent with other Loongson-2 variants.
The existing "loongson,ls2k-clk" is retained as a deprecated
fallback for backward compatibility.
Patch 1 updates the devicetree binding documentation.
Patch 2 adds driver support and updates the DTS.
Regards,
wjjsn
wjjsn (2):
dt-bindings: clock: loongson,ls2k: Add ls2k1000 compatible and
deprecate legacy
clk: loongson2: Add ls2k1000 compatible
.../bindings/clock/loongson,ls2k-clk.yaml | 15 +++++++++------
arch/loongarch/boot/dts/loongson-2k1000.dtsi | 2 +-
drivers/clk/clk-loongson2.c | 3 ++-
3 files changed, 12 insertions(+), 8 deletions(-)
--
2.43.0