Skip to content

Commit a747986

Browse files
Tooniisbebarino
authored andcommitted
dt-bindings: clock: mediatek: Add bindings for MT6735 syscon clock and reset controllers
Add device tree bindings for syscon clock and reset controllers (IMGSYS, MFGCFG, VDECSYS and VENCSYS). Signed-off-by: Yassine Oudjana <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent be530c3 commit a747986

File tree

8 files changed

+71
-0
lines changed

8 files changed

+71
-0
lines changed

Documentation/devicetree/bindings/clock/mediatek,syscon.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ properties:
2828
- mediatek,mt2712-mfgcfg
2929
- mediatek,mt2712-vdecsys
3030
- mediatek,mt2712-vencsys
31+
- mediatek,mt6735-imgsys
32+
- mediatek,mt6735-mfgcfg
33+
- mediatek,mt6735-vdecsys
34+
- mediatek,mt6735-vencsys
3135
- mediatek,mt6765-camsys
3236
- mediatek,mt6765-imgsys
3337
- mediatek,mt6765-mipi0a

MAINTAINERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14538,11 +14538,17 @@ F: drivers/clk/mediatek/clk-mt6735-infracfg.c
1453814538
F: drivers/clk/mediatek/clk-mt6735-pericfg.c
1453914539
F: drivers/clk/mediatek/clk-mt6735-topckgen.c
1454014540
F: include/dt-bindings/clock/mediatek,mt6735-apmixedsys.h
14541+
F: include/dt-bindings/clock/mediatek,mt6735-imgsys.h
1454114542
F: include/dt-bindings/clock/mediatek,mt6735-infracfg.h
14543+
F: include/dt-bindings/clock/mediatek,mt6735-mfgcfg.h
1454214544
F: include/dt-bindings/clock/mediatek,mt6735-pericfg.h
1454314545
F: include/dt-bindings/clock/mediatek,mt6735-topckgen.h
14546+
F: include/dt-bindings/clock/mediatek,mt6735-vdecsys.h
14547+
F: include/dt-bindings/clock/mediatek,mt6735-vencsys.h
1454414548
F: include/dt-bindings/reset/mediatek,mt6735-infracfg.h
14549+
F: include/dt-bindings/reset/mediatek,mt6735-mfgcfg.h
1454514550
F: include/dt-bindings/reset/mediatek,mt6735-pericfg.h
14551+
F: include/dt-bindings/reset/mediatek,mt6735-vdecsys.h
1454614552

1454714553
MEDIATEK MT76 WIRELESS LAN DRIVER
1454814554
M: Felix Fietkau <[email protected]>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+
3+
#ifndef _DT_BINDINGS_CLK_MT6735_IMGSYS_H
4+
#define _DT_BINDINGS_CLK_MT6735_IMGSYS_H
5+
6+
#define CLK_IMG_SMI_LARB2 0
7+
#define CLK_IMG_CAM_SMI 1
8+
#define CLK_IMG_CAM_CAM 2
9+
#define CLK_IMG_SEN_TG 3
10+
#define CLK_IMG_SEN_CAM 4
11+
#define CLK_IMG_CAM_SV 5
12+
#define CLK_IMG_SUFOD 6
13+
#define CLK_IMG_FD 7
14+
15+
#endif /* _DT_BINDINGS_CLK_MT6735_IMGSYS_H */
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+
3+
#ifndef _DT_BINDINGS_CLK_MT6735_MFGCFG_H
4+
#define _DT_BINDINGS_CLK_MT6735_MFGCFG_H
5+
6+
#define CLK_MFG_BG3D 0
7+
8+
#endif /* _DT_BINDINGS_CLK_MT6735_MFGCFG_H */
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+
3+
#ifndef _DT_BINDINGS_CLK_MT6735_VDECSYS_H
4+
#define _DT_BINDINGS_CLK_MT6735_VDECSYS_H
5+
6+
#define CLK_VDEC_VDEC 0
7+
#define CLK_VDEC_SMI_LARB1 1
8+
9+
#endif /* _DT_BINDINGS_CLK_MT6735_VDECSYS_H */
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+
3+
#ifndef _DT_BINDINGS_CLK_MT6735_VENCSYS_H
4+
#define _DT_BINDINGS_CLK_MT6735_VENCSYS_H
5+
6+
#define CLK_VENC_SMI_LARB3 0
7+
#define CLK_VENC_VENC 1
8+
#define CLK_VENC_JPGENC 2
9+
#define CLK_VENC_JPGDEC 3
10+
11+
#endif /* _DT_BINDINGS_CLK_MT6735_VENCSYS_H */
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+
3+
#ifndef _DT_BINDINGS_RESET_MT6735_MFGCFG_H
4+
#define _DT_BINDINGS_RESET_MT6735_MFGCFG_H
5+
6+
#define MT6735_MFG_RST0_AXI 0
7+
#define MT6735_MFG_RST0_G3D 1
8+
9+
#endif /* _DT_BINDINGS_RESET_MT6735_MFGCFG_H */
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+
3+
#ifndef _DT_BINDINGS_RESET_MT6735_VDECSYS_H
4+
#define _DT_BINDINGS_RESET_MT6735_VDECSYS_H
5+
6+
#define MT6735_VDEC_RST0_VDEC 0
7+
#define MT6735_VDEC_RST1_SMI_LARB1 1
8+
9+
#endif /* _DT_BINDINGS_RESET_MT6735_VDECSYS_H */

0 commit comments

Comments
 (0)