diff mbox series

[v16,1/2] dt-bindings: clock: add loongson-2 boot clock index

Message ID 20230323025229.2971-1-zhuyinbo@loongson.cn
State Not Applicable, archived
Headers show
Series [v16,1/2] dt-bindings: clock: add loongson-2 boot clock index | expand

Checks

Context Check Description
robh/checkpatch success
robh/patch-applied success

Commit Message

Yinbo Zhu March 23, 2023, 2:52 a.m. UTC
The Loongson-2 boot clock was used to spi and lio peripheral and
this patch was to add boot clock index number.

Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.cn>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Change in v16:
		1. NO change, but other patch in this series of patches has
		   changes.
Change in v15:
		1. Add the acked-by for review information.
Change in v14:
		1. Add the history changelog for this patch.
		2. Move the boot clock index in ending.
Change in v13:
		1. Add this patch as new patch and the clock driver patch need
		   depend on this patch so add this patch as a series and set
		   version number was v13.
Change in v2 to v12:
		1. This patch doesn't exit, so no changelog. 

 include/dt-bindings/clock/loongson,ls2k-clk.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Stephen Boyd March 27, 2023, 7:22 p.m. UTC | #1
Quoting Yinbo Zhu (2023-03-22 19:52:28)
> The Loongson-2 boot clock was used to spi and lio peripheral and
> this patch was to add boot clock index number.
> 
> Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.cn>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---

Applied to clk-next
Stephen Boyd March 27, 2023, 7:22 p.m. UTC | #2
Quoting Yinbo Zhu (2023-03-22 19:52:29)
> This driver provides support for clock controller on Loongson-2 SoC,
> the Loongson-2 SoC uses a 100MHz clock as the PLL reference clock,
> there are five independent PLLs inside, each of which PLL can
> provide up to three sets of frequency dependent clock outputs.
> 
> Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.cn>
> ---

Applied to clk-next
diff mbox series

Patch

diff --git a/include/dt-bindings/clock/loongson,ls2k-clk.h b/include/dt-bindings/clock/loongson,ls2k-clk.h
index db1e27e792ff..3bc4dfc193c2 100644
--- a/include/dt-bindings/clock/loongson,ls2k-clk.h
+++ b/include/dt-bindings/clock/loongson,ls2k-clk.h
@@ -24,6 +24,7 @@ 
 #define LOONGSON2_SATA_CLK				14
 #define LOONGSON2_PIX0_CLK				15
 #define LOONGSON2_PIX1_CLK				16
-#define LOONGSON2_CLK_END				17
+#define LOONGSON2_BOOT_CLK				17
+#define LOONGSON2_CLK_END				18
 
 #endif