~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/dt-bindings/clock/mt8167-clk.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/dt-bindings/clock/mt8167-clk.h (Version linux-6.12-rc7) and /include/dt-bindings/clock/mt8167-clk.h (Version linux-6.6.60)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 /* SPDX-License-Identifier: GPL-2.0 */
  2 /*                                                  2 /*
  3  * Copyright (c) 2020 MediaTek Inc.                 3  * Copyright (c) 2020 MediaTek Inc.
  4  * Copyright (c) 2020 BayLibre, SAS.                4  * Copyright (c) 2020 BayLibre, SAS.
  5  * Author: James Liao <jamesjj.liao@mediatek.c      5  * Author: James Liao <jamesjj.liao@mediatek.com>
  6  *         Fabien Parent <fparent@baylibre.com      6  *         Fabien Parent <fparent@baylibre.com>
  7  */                                                 7  */
  8                                                     8 
  9 #ifndef _DT_BINDINGS_CLK_MT8167_H                   9 #ifndef _DT_BINDINGS_CLK_MT8167_H
 10 #define _DT_BINDINGS_CLK_MT8167_H                  10 #define _DT_BINDINGS_CLK_MT8167_H
 11                                                    11 
 12 /* MT8167 is based on MT8516 */                    12 /* MT8167 is based on MT8516 */
 13 #include <dt-bindings/clock/mt8516-clk.h>          13 #include <dt-bindings/clock/mt8516-clk.h>
 14                                                    14 
 15 /* APMIXEDSYS */                                   15 /* APMIXEDSYS */
 16                                                    16 
 17 #define CLK_APMIXED_TVDPLL              (CLK_A     17 #define CLK_APMIXED_TVDPLL              (CLK_APMIXED_NR_CLK + 0)
 18 #define CLK_APMIXED_LVDSPLL             (CLK_A     18 #define CLK_APMIXED_LVDSPLL             (CLK_APMIXED_NR_CLK + 1)
 19 #define CLK_APMIXED_HDMI_REF            (CLK_A     19 #define CLK_APMIXED_HDMI_REF            (CLK_APMIXED_NR_CLK + 2)
 20 #define MT8167_CLK_APMIXED_NR_CLK       (CLK_A     20 #define MT8167_CLK_APMIXED_NR_CLK       (CLK_APMIXED_NR_CLK + 3)
 21                                                    21 
 22 /* TOPCKGEN */                                     22 /* TOPCKGEN */
 23                                                    23 
 24 #define CLK_TOP_DSI0_LNTC_DSICK         (CLK_T     24 #define CLK_TOP_DSI0_LNTC_DSICK         (CLK_TOP_NR_CLK + 0)
 25 #define CLK_TOP_VPLL_DPIX               (CLK_T     25 #define CLK_TOP_VPLL_DPIX               (CLK_TOP_NR_CLK + 1)
 26 #define CLK_TOP_LVDSTX_CLKDIG_CTS       (CLK_T     26 #define CLK_TOP_LVDSTX_CLKDIG_CTS       (CLK_TOP_NR_CLK + 2)
 27 #define CLK_TOP_HDMTX_CLKDIG_CTS        (CLK_T     27 #define CLK_TOP_HDMTX_CLKDIG_CTS        (CLK_TOP_NR_CLK + 3)
 28 #define CLK_TOP_LVDSPLL                 (CLK_T     28 #define CLK_TOP_LVDSPLL                 (CLK_TOP_NR_CLK + 4)
 29 #define CLK_TOP_LVDSPLL_D2              (CLK_T     29 #define CLK_TOP_LVDSPLL_D2              (CLK_TOP_NR_CLK + 5)
 30 #define CLK_TOP_LVDSPLL_D4              (CLK_T     30 #define CLK_TOP_LVDSPLL_D4              (CLK_TOP_NR_CLK + 6)
 31 #define CLK_TOP_LVDSPLL_D8              (CLK_T     31 #define CLK_TOP_LVDSPLL_D8              (CLK_TOP_NR_CLK + 7)
 32 #define CLK_TOP_MIPI_26M                (CLK_T     32 #define CLK_TOP_MIPI_26M                (CLK_TOP_NR_CLK + 8)
 33 #define CLK_TOP_TVDPLL                  (CLK_T     33 #define CLK_TOP_TVDPLL                  (CLK_TOP_NR_CLK + 9)
 34 #define CLK_TOP_TVDPLL_D2               (CLK_T     34 #define CLK_TOP_TVDPLL_D2               (CLK_TOP_NR_CLK + 10)
 35 #define CLK_TOP_TVDPLL_D4               (CLK_T     35 #define CLK_TOP_TVDPLL_D4               (CLK_TOP_NR_CLK + 11)
 36 #define CLK_TOP_TVDPLL_D8               (CLK_T     36 #define CLK_TOP_TVDPLL_D8               (CLK_TOP_NR_CLK + 12)
 37 #define CLK_TOP_TVDPLL_D16              (CLK_T     37 #define CLK_TOP_TVDPLL_D16              (CLK_TOP_NR_CLK + 13)
 38 #define CLK_TOP_PWM_MM                  (CLK_T     38 #define CLK_TOP_PWM_MM                  (CLK_TOP_NR_CLK + 14)
 39 #define CLK_TOP_CAM_MM                  (CLK_T     39 #define CLK_TOP_CAM_MM                  (CLK_TOP_NR_CLK + 15)
 40 #define CLK_TOP_MFG_MM                  (CLK_T     40 #define CLK_TOP_MFG_MM                  (CLK_TOP_NR_CLK + 16)
 41 #define CLK_TOP_SPM_52M                 (CLK_T     41 #define CLK_TOP_SPM_52M                 (CLK_TOP_NR_CLK + 17)
 42 #define CLK_TOP_MIPI_26M_DBG            (CLK_T     42 #define CLK_TOP_MIPI_26M_DBG            (CLK_TOP_NR_CLK + 18)
 43 #define CLK_TOP_SCAM_MM                 (CLK_T     43 #define CLK_TOP_SCAM_MM                 (CLK_TOP_NR_CLK + 19)
 44 #define CLK_TOP_SMI_MM                  (CLK_T     44 #define CLK_TOP_SMI_MM                  (CLK_TOP_NR_CLK + 20)
 45 #define CLK_TOP_26M_HDMI_SIFM           (CLK_T     45 #define CLK_TOP_26M_HDMI_SIFM           (CLK_TOP_NR_CLK + 21)
 46 #define CLK_TOP_26M_CEC                 (CLK_T     46 #define CLK_TOP_26M_CEC                 (CLK_TOP_NR_CLK + 22)
 47 #define CLK_TOP_32K_CEC                 (CLK_T     47 #define CLK_TOP_32K_CEC                 (CLK_TOP_NR_CLK + 23)
 48 #define CLK_TOP_GCPU_B                  (CLK_T     48 #define CLK_TOP_GCPU_B                  (CLK_TOP_NR_CLK + 24)
 49 #define CLK_TOP_RG_VDEC                 (CLK_T     49 #define CLK_TOP_RG_VDEC                 (CLK_TOP_NR_CLK + 25)
 50 #define CLK_TOP_RG_FDPI0                (CLK_T     50 #define CLK_TOP_RG_FDPI0                (CLK_TOP_NR_CLK + 26)
 51 #define CLK_TOP_RG_FDPI1                (CLK_T     51 #define CLK_TOP_RG_FDPI1                (CLK_TOP_NR_CLK + 27)
 52 #define CLK_TOP_RG_AXI_MFG              (CLK_T     52 #define CLK_TOP_RG_AXI_MFG              (CLK_TOP_NR_CLK + 28)
 53 #define CLK_TOP_RG_SLOW_MFG             (CLK_T     53 #define CLK_TOP_RG_SLOW_MFG             (CLK_TOP_NR_CLK + 29)
 54 #define CLK_TOP_GFMUX_EMI1X_SEL         (CLK_T     54 #define CLK_TOP_GFMUX_EMI1X_SEL         (CLK_TOP_NR_CLK + 30)
 55 #define CLK_TOP_CSW_MUX_MFG_SEL         (CLK_T     55 #define CLK_TOP_CSW_MUX_MFG_SEL         (CLK_TOP_NR_CLK + 31)
 56 #define CLK_TOP_CAMTG_MM_SEL            (CLK_T     56 #define CLK_TOP_CAMTG_MM_SEL            (CLK_TOP_NR_CLK + 32)
 57 #define CLK_TOP_PWM_MM_SEL              (CLK_T     57 #define CLK_TOP_PWM_MM_SEL              (CLK_TOP_NR_CLK + 33)
 58 #define CLK_TOP_SPM_52M_SEL             (CLK_T     58 #define CLK_TOP_SPM_52M_SEL             (CLK_TOP_NR_CLK + 34)
 59 #define CLK_TOP_MFG_MM_SEL              (CLK_T     59 #define CLK_TOP_MFG_MM_SEL              (CLK_TOP_NR_CLK + 35)
 60 #define CLK_TOP_SMI_MM_SEL              (CLK_T     60 #define CLK_TOP_SMI_MM_SEL              (CLK_TOP_NR_CLK + 36)
 61 #define CLK_TOP_SCAM_MM_SEL             (CLK_T     61 #define CLK_TOP_SCAM_MM_SEL             (CLK_TOP_NR_CLK + 37)
 62 #define CLK_TOP_VDEC_MM_SEL             (CLK_T     62 #define CLK_TOP_VDEC_MM_SEL             (CLK_TOP_NR_CLK + 38)
 63 #define CLK_TOP_DPI0_MM_SEL             (CLK_T     63 #define CLK_TOP_DPI0_MM_SEL             (CLK_TOP_NR_CLK + 39)
 64 #define CLK_TOP_DPI1_MM_SEL             (CLK_T     64 #define CLK_TOP_DPI1_MM_SEL             (CLK_TOP_NR_CLK + 40)
 65 #define CLK_TOP_AXI_MFG_IN_SEL          (CLK_T     65 #define CLK_TOP_AXI_MFG_IN_SEL          (CLK_TOP_NR_CLK + 41)
 66 #define CLK_TOP_SLOW_MFG_SEL            (CLK_T     66 #define CLK_TOP_SLOW_MFG_SEL            (CLK_TOP_NR_CLK + 42)
 67 #define MT8167_CLK_TOP_NR_CLK           (CLK_T     67 #define MT8167_CLK_TOP_NR_CLK           (CLK_TOP_NR_CLK + 43)
 68                                                    68 
 69 /* MFGCFG */                                       69 /* MFGCFG */
 70                                                    70 
 71 #define CLK_MFG_BAXI                    0          71 #define CLK_MFG_BAXI                    0
 72 #define CLK_MFG_BMEM                    1          72 #define CLK_MFG_BMEM                    1
 73 #define CLK_MFG_BG3D                    2          73 #define CLK_MFG_BG3D                    2
 74 #define CLK_MFG_B26M                    3          74 #define CLK_MFG_B26M                    3
 75 #define CLK_MFG_NR_CLK                  4          75 #define CLK_MFG_NR_CLK                  4
 76                                                    76 
 77 /* MMSYS */                                        77 /* MMSYS */
 78                                                    78 
 79 #define CLK_MM_SMI_COMMON               0          79 #define CLK_MM_SMI_COMMON               0
 80 #define CLK_MM_SMI_LARB0                1          80 #define CLK_MM_SMI_LARB0                1
 81 #define CLK_MM_CAM_MDP                  2          81 #define CLK_MM_CAM_MDP                  2
 82 #define CLK_MM_MDP_RDMA                 3          82 #define CLK_MM_MDP_RDMA                 3
 83 #define CLK_MM_MDP_RSZ0                 4          83 #define CLK_MM_MDP_RSZ0                 4
 84 #define CLK_MM_MDP_RSZ1                 5          84 #define CLK_MM_MDP_RSZ1                 5
 85 #define CLK_MM_MDP_TDSHP                6          85 #define CLK_MM_MDP_TDSHP                6
 86 #define CLK_MM_MDP_WDMA                 7          86 #define CLK_MM_MDP_WDMA                 7
 87 #define CLK_MM_MDP_WROT                 8          87 #define CLK_MM_MDP_WROT                 8
 88 #define CLK_MM_FAKE_ENG                 9          88 #define CLK_MM_FAKE_ENG                 9
 89 #define CLK_MM_DISP_OVL0                10         89 #define CLK_MM_DISP_OVL0                10
 90 #define CLK_MM_DISP_RDMA0               11         90 #define CLK_MM_DISP_RDMA0               11
 91 #define CLK_MM_DISP_RDMA1               12         91 #define CLK_MM_DISP_RDMA1               12
 92 #define CLK_MM_DISP_WDMA                13         92 #define CLK_MM_DISP_WDMA                13
 93 #define CLK_MM_DISP_COLOR               14         93 #define CLK_MM_DISP_COLOR               14
 94 #define CLK_MM_DISP_CCORR               15         94 #define CLK_MM_DISP_CCORR               15
 95 #define CLK_MM_DISP_AAL                 16         95 #define CLK_MM_DISP_AAL                 16
 96 #define CLK_MM_DISP_GAMMA               17         96 #define CLK_MM_DISP_GAMMA               17
 97 #define CLK_MM_DISP_DITHER              18         97 #define CLK_MM_DISP_DITHER              18
 98 #define CLK_MM_DISP_UFOE                19         98 #define CLK_MM_DISP_UFOE                19
 99 #define CLK_MM_DISP_PWM_MM              20         99 #define CLK_MM_DISP_PWM_MM              20
100 #define CLK_MM_DISP_PWM_26M             21        100 #define CLK_MM_DISP_PWM_26M             21
101 #define CLK_MM_DSI_ENGINE               22        101 #define CLK_MM_DSI_ENGINE               22
102 #define CLK_MM_DSI_DIGITAL              23        102 #define CLK_MM_DSI_DIGITAL              23
103 #define CLK_MM_DPI0_ENGINE              24        103 #define CLK_MM_DPI0_ENGINE              24
104 #define CLK_MM_DPI0_PXL                 25        104 #define CLK_MM_DPI0_PXL                 25
105 #define CLK_MM_LVDS_PXL                 26        105 #define CLK_MM_LVDS_PXL                 26
106 #define CLK_MM_LVDS_CTS                 27        106 #define CLK_MM_LVDS_CTS                 27
107 #define CLK_MM_DPI1_ENGINE              28        107 #define CLK_MM_DPI1_ENGINE              28
108 #define CLK_MM_DPI1_PXL                 29        108 #define CLK_MM_DPI1_PXL                 29
109 #define CLK_MM_HDMI_PXL                 30        109 #define CLK_MM_HDMI_PXL                 30
110 #define CLK_MM_HDMI_SPDIF               31        110 #define CLK_MM_HDMI_SPDIF               31
111 #define CLK_MM_HDMI_ADSP_BCK            32        111 #define CLK_MM_HDMI_ADSP_BCK            32
112 #define CLK_MM_HDMI_PLL                 33        112 #define CLK_MM_HDMI_PLL                 33
113 #define CLK_MM_NR_CLK                   34        113 #define CLK_MM_NR_CLK                   34
114                                                   114 
115 /* IMGSYS */                                      115 /* IMGSYS */
116                                                   116 
117 #define CLK_IMG_LARB1_SMI               0         117 #define CLK_IMG_LARB1_SMI               0
118 #define CLK_IMG_CAM_SMI                 1         118 #define CLK_IMG_CAM_SMI                 1
119 #define CLK_IMG_CAM_CAM                 2         119 #define CLK_IMG_CAM_CAM                 2
120 #define CLK_IMG_SEN_TG                  3         120 #define CLK_IMG_SEN_TG                  3
121 #define CLK_IMG_SEN_CAM                 4         121 #define CLK_IMG_SEN_CAM                 4
122 #define CLK_IMG_VENC                    5         122 #define CLK_IMG_VENC                    5
123 #define CLK_IMG_NR_CLK                  6         123 #define CLK_IMG_NR_CLK                  6
124                                                   124 
125 /* VDECSYS */                                     125 /* VDECSYS */
126                                                   126 
127 #define CLK_VDEC_CKEN                   0         127 #define CLK_VDEC_CKEN                   0
128 #define CLK_VDEC_LARB1_CKEN             1         128 #define CLK_VDEC_LARB1_CKEN             1
129 #define CLK_VDEC_NR_CLK                 2         129 #define CLK_VDEC_NR_CLK                 2
130                                                   130 
131 #endif /* _DT_BINDINGS_CLK_MT8167_H */            131 #endif /* _DT_BINDINGS_CLK_MT8167_H */
132                                                   132 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php