mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-19 20:12:32 +00:00
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 <y.oudjana@protonmail.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20241106111402.200940-2-y.oudjana@protonmail.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
be530c3fc2
commit
a7479860bb
@ -28,6 +28,10 @@ properties:
|
||||
- mediatek,mt2712-mfgcfg
|
||||
- mediatek,mt2712-vdecsys
|
||||
- mediatek,mt2712-vencsys
|
||||
- mediatek,mt6735-imgsys
|
||||
- mediatek,mt6735-mfgcfg
|
||||
- mediatek,mt6735-vdecsys
|
||||
- mediatek,mt6735-vencsys
|
||||
- mediatek,mt6765-camsys
|
||||
- mediatek,mt6765-imgsys
|
||||
- mediatek,mt6765-mipi0a
|
||||
|
@ -14538,11 +14538,17 @@ F: drivers/clk/mediatek/clk-mt6735-infracfg.c
|
||||
F: drivers/clk/mediatek/clk-mt6735-pericfg.c
|
||||
F: drivers/clk/mediatek/clk-mt6735-topckgen.c
|
||||
F: include/dt-bindings/clock/mediatek,mt6735-apmixedsys.h
|
||||
F: include/dt-bindings/clock/mediatek,mt6735-imgsys.h
|
||||
F: include/dt-bindings/clock/mediatek,mt6735-infracfg.h
|
||||
F: include/dt-bindings/clock/mediatek,mt6735-mfgcfg.h
|
||||
F: include/dt-bindings/clock/mediatek,mt6735-pericfg.h
|
||||
F: include/dt-bindings/clock/mediatek,mt6735-topckgen.h
|
||||
F: include/dt-bindings/clock/mediatek,mt6735-vdecsys.h
|
||||
F: include/dt-bindings/clock/mediatek,mt6735-vencsys.h
|
||||
F: include/dt-bindings/reset/mediatek,mt6735-infracfg.h
|
||||
F: include/dt-bindings/reset/mediatek,mt6735-mfgcfg.h
|
||||
F: include/dt-bindings/reset/mediatek,mt6735-pericfg.h
|
||||
F: include/dt-bindings/reset/mediatek,mt6735-vdecsys.h
|
||||
|
||||
MEDIATEK MT76 WIRELESS LAN DRIVER
|
||||
M: Felix Fietkau <nbd@nbd.name>
|
||||
|
15
include/dt-bindings/clock/mediatek,mt6735-imgsys.h
Normal file
15
include/dt-bindings/clock/mediatek,mt6735-imgsys.h
Normal file
@ -0,0 +1,15 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
|
||||
|
||||
#ifndef _DT_BINDINGS_CLK_MT6735_IMGSYS_H
|
||||
#define _DT_BINDINGS_CLK_MT6735_IMGSYS_H
|
||||
|
||||
#define CLK_IMG_SMI_LARB2 0
|
||||
#define CLK_IMG_CAM_SMI 1
|
||||
#define CLK_IMG_CAM_CAM 2
|
||||
#define CLK_IMG_SEN_TG 3
|
||||
#define CLK_IMG_SEN_CAM 4
|
||||
#define CLK_IMG_CAM_SV 5
|
||||
#define CLK_IMG_SUFOD 6
|
||||
#define CLK_IMG_FD 7
|
||||
|
||||
#endif /* _DT_BINDINGS_CLK_MT6735_IMGSYS_H */
|
8
include/dt-bindings/clock/mediatek,mt6735-mfgcfg.h
Normal file
8
include/dt-bindings/clock/mediatek,mt6735-mfgcfg.h
Normal file
@ -0,0 +1,8 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
|
||||
|
||||
#ifndef _DT_BINDINGS_CLK_MT6735_MFGCFG_H
|
||||
#define _DT_BINDINGS_CLK_MT6735_MFGCFG_H
|
||||
|
||||
#define CLK_MFG_BG3D 0
|
||||
|
||||
#endif /* _DT_BINDINGS_CLK_MT6735_MFGCFG_H */
|
9
include/dt-bindings/clock/mediatek,mt6735-vdecsys.h
Normal file
9
include/dt-bindings/clock/mediatek,mt6735-vdecsys.h
Normal file
@ -0,0 +1,9 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
|
||||
|
||||
#ifndef _DT_BINDINGS_CLK_MT6735_VDECSYS_H
|
||||
#define _DT_BINDINGS_CLK_MT6735_VDECSYS_H
|
||||
|
||||
#define CLK_VDEC_VDEC 0
|
||||
#define CLK_VDEC_SMI_LARB1 1
|
||||
|
||||
#endif /* _DT_BINDINGS_CLK_MT6735_VDECSYS_H */
|
11
include/dt-bindings/clock/mediatek,mt6735-vencsys.h
Normal file
11
include/dt-bindings/clock/mediatek,mt6735-vencsys.h
Normal file
@ -0,0 +1,11 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
|
||||
|
||||
#ifndef _DT_BINDINGS_CLK_MT6735_VENCSYS_H
|
||||
#define _DT_BINDINGS_CLK_MT6735_VENCSYS_H
|
||||
|
||||
#define CLK_VENC_SMI_LARB3 0
|
||||
#define CLK_VENC_VENC 1
|
||||
#define CLK_VENC_JPGENC 2
|
||||
#define CLK_VENC_JPGDEC 3
|
||||
|
||||
#endif /* _DT_BINDINGS_CLK_MT6735_VENCSYS_H */
|
9
include/dt-bindings/reset/mediatek,mt6735-mfgcfg.h
Normal file
9
include/dt-bindings/reset/mediatek,mt6735-mfgcfg.h
Normal file
@ -0,0 +1,9 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
|
||||
|
||||
#ifndef _DT_BINDINGS_RESET_MT6735_MFGCFG_H
|
||||
#define _DT_BINDINGS_RESET_MT6735_MFGCFG_H
|
||||
|
||||
#define MT6735_MFG_RST0_AXI 0
|
||||
#define MT6735_MFG_RST0_G3D 1
|
||||
|
||||
#endif /* _DT_BINDINGS_RESET_MT6735_MFGCFG_H */
|
9
include/dt-bindings/reset/mediatek,mt6735-vdecsys.h
Normal file
9
include/dt-bindings/reset/mediatek,mt6735-vdecsys.h
Normal file
@ -0,0 +1,9 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
|
||||
|
||||
#ifndef _DT_BINDINGS_RESET_MT6735_VDECSYS_H
|
||||
#define _DT_BINDINGS_RESET_MT6735_VDECSYS_H
|
||||
|
||||
#define MT6735_VDEC_RST0_VDEC 0
|
||||
#define MT6735_VDEC_RST1_SMI_LARB1 1
|
||||
|
||||
#endif /* _DT_BINDINGS_RESET_MT6735_VDECSYS_H */
|
Loading…
x
Reference in New Issue
Block a user