Skip to content

Commit 01d63ce

Browse files
YinboZhubebarino
authored andcommitted
dt-bindings: clock: add loongson-2 clock include file
This file defines all Loongson-2 SoC clock indexes, it should be included in the device tree in which there's device using the clocks. Signed-off-by: Yinbo Zhu <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 1b929c0 commit 01d63ce

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

MAINTAINERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12195,6 +12195,12 @@ S: Maintained
1219512195
F: Documentation/devicetree/bindings/pinctrl/loongson,ls2k-pinctrl.yaml
1219612196
F: drivers/pinctrl/pinctrl-loongson2.c
1219712197

12198+
LOONGSON-2 SOC SERIES CLOCK DRIVER
12199+
M: Yinbo Zhu <[email protected]>
12200+
12201+
S: Maintained
12202+
F: include/dt-bindings/clock/loongson,ls2k-clk.h
12203+
1219812204
LSILOGIC MPT FUSION DRIVERS (FC/SAS/SPI)
1219912205
M: Sathya Prakash <[email protected]>
1220012206
M: Sreekanth Reddy <[email protected]>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+
/*
3+
* Author: Yinbo Zhu <[email protected]>
4+
* Copyright (C) 2022-2023 Loongson Technology Corporation Limited
5+
*/
6+
7+
#ifndef __DT_BINDINGS_CLOCK_LOONGSON2_H
8+
#define __DT_BINDINGS_CLOCK_LOONGSON2_H
9+
10+
#define LOONGSON2_REF_100M 0
11+
#define LOONGSON2_NODE_PLL 1
12+
#define LOONGSON2_DDR_PLL 2
13+
#define LOONGSON2_DC_PLL 3
14+
#define LOONGSON2_PIX0_PLL 4
15+
#define LOONGSON2_PIX1_PLL 5
16+
#define LOONGSON2_NODE_CLK 6
17+
#define LOONGSON2_HDA_CLK 7
18+
#define LOONGSON2_GPU_CLK 8
19+
#define LOONGSON2_DDR_CLK 9
20+
#define LOONGSON2_GMAC_CLK 10
21+
#define LOONGSON2_DC_CLK 11
22+
#define LOONGSON2_APB_CLK 12
23+
#define LOONGSON2_USB_CLK 13
24+
#define LOONGSON2_SATA_CLK 14
25+
#define LOONGSON2_PIX0_CLK 15
26+
#define LOONGSON2_PIX1_CLK 16
27+
#define LOONGSON2_CLK_END 17
28+
29+
#endif

0 commit comments

Comments
 (0)