diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2015-02-02 19:13:55 -0500 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2015-02-05 13:31:07 -0500 |
commit | 6958f22f39f9292f6e871b4383a11f183c1271ed (patch) | |
tree | 10cfe77724243ae7bc772c10ed9ae341e717810f /include/dt-bindings | |
parent | 8e46c4b84faf317773d5a4ec6d807ceae2d0eb41 (diff) |
clk: samsung: exynos5433: Add clocks for CMU_CAM0 domain
This patch adds the mux/divider/gate clocks for CMU_CAM0 domain which
generates the clocks for MIPI_CSIS{0|1}/FIMC_LITE_{A|B|D}/FIMC_3AA{0|1} IPs.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/clock/exynos5433.h | 146 |
1 files changed, 145 insertions, 1 deletions
diff --git a/include/dt-bindings/clock/exynos5433.h b/include/dt-bindings/clock/exynos5433.h index fbc81e3424a6..f99cde7a278d 100644 --- a/include/dt-bindings/clock/exynos5433.h +++ b/include/dt-bindings/clock/exynos5433.h | |||
@@ -118,6 +118,9 @@ | |||
118 | #define CLK_DIV_ACLK_MSCL_400 145 | 118 | #define CLK_DIV_ACLK_MSCL_400 145 |
119 | #define CLK_DIV_ACLK_ISP_DIS_400 146 | 119 | #define CLK_DIV_ACLK_ISP_DIS_400 146 |
120 | #define CLK_DIV_ACLK_ISP_400 147 | 120 | #define CLK_DIV_ACLK_ISP_400 147 |
121 | #define CLK_DIV_ACLK_CAM0_333 148 | ||
122 | #define CLK_DIV_ACLK_CAM0_400 149 | ||
123 | #define CLK_DIV_ACLK_CAM0_552 150 | ||
121 | 124 | ||
122 | #define CLK_ACLK_PERIC_66 200 | 125 | #define CLK_ACLK_PERIC_66 200 |
123 | #define CLK_ACLK_PERIS_66 201 | 126 | #define CLK_ACLK_PERIS_66 201 |
@@ -159,8 +162,11 @@ | |||
159 | #define CLK_ACLK_HEVC_400 237 | 162 | #define CLK_ACLK_HEVC_400 237 |
160 | #define CLK_ACLK_ISP_DIS_400 238 | 163 | #define CLK_ACLK_ISP_DIS_400 238 |
161 | #define CLK_ACLK_ISP_400 239 | 164 | #define CLK_ACLK_ISP_400 239 |
165 | #define CLK_ACLK_CAM0_333 240 | ||
166 | #define CLK_ACLK_CAM0_400 241 | ||
167 | #define CLK_ACLK_CAM0_552 242 | ||
162 | 168 | ||
163 | #define TOP_NR_CLK 240 | 169 | #define TOP_NR_CLK 243 |
164 | 170 | ||
165 | /* CMU_CPIF */ | 171 | /* CMU_CPIF */ |
166 | #define CLK_FOUT_MPHY_PLL 1 | 172 | #define CLK_FOUT_MPHY_PLL 1 |
@@ -1113,4 +1119,142 @@ | |||
1113 | 1119 | ||
1114 | #define ISP_NR_CLK 78 | 1120 | #define ISP_NR_CLK 78 |
1115 | 1121 | ||
1122 | /* CMU_CAM0 */ | ||
1123 | #define CLK_PHYCLK_RXBYTEECLKHS0_S4_PHY 1 | ||
1124 | #define CLK_PHYCLK_RXBYTEECLKHS0_S2A_PHY 2 | ||
1125 | |||
1126 | #define CLK_MOUT_ACLK_CAM0_333_USER 3 | ||
1127 | #define CLK_MOUT_ACLK_CAM0_400_USER 4 | ||
1128 | #define CLK_MOUT_ACLK_CAM0_552_USER 5 | ||
1129 | #define CLK_MOUT_PHYCLK_RXBYTECLKHS0_S4_USER 6 | ||
1130 | #define CLK_MOUT_PHYCLK_RXBYTECLKHS0_S2A_USER 7 | ||
1131 | #define CLK_MOUT_ACLK_LITE_D_B 8 | ||
1132 | #define CLK_MOUT_ACLK_LITE_D_A 9 | ||
1133 | #define CLK_MOUT_ACLK_LITE_B_B 10 | ||
1134 | #define CLK_MOUT_ACLK_LITE_B_A 11 | ||
1135 | #define CLK_MOUT_ACLK_LITE_A_B 12 | ||
1136 | #define CLK_MOUT_ACLK_LITE_A_A 13 | ||
1137 | #define CLK_MOUT_ACLK_CAM0_400 14 | ||
1138 | #define CLK_MOUT_ACLK_CSIS1_B 15 | ||
1139 | #define CLK_MOUT_ACLK_CSIS1_A 16 | ||
1140 | #define CLK_MOUT_ACLK_CSIS0_B 17 | ||
1141 | #define CLK_MOUT_ACLK_CSIS0_A 18 | ||
1142 | #define CLK_MOUT_ACLK_3AA1_B 19 | ||
1143 | #define CLK_MOUT_ACLK_3AA1_A 20 | ||
1144 | #define CLK_MOUT_ACLK_3AA0_B 21 | ||
1145 | #define CLK_MOUT_ACLK_3AA0_A 22 | ||
1146 | #define CLK_MOUT_SCLK_LITE_FREECNT_C 23 | ||
1147 | #define CLK_MOUT_SCLK_LITE_FREECNT_B 24 | ||
1148 | #define CLK_MOUT_SCLK_LITE_FREECNT_A 25 | ||
1149 | #define CLK_MOUT_SCLK_PIXELASYNC_LITE_C_B 26 | ||
1150 | #define CLK_MOUT_SCLK_PIXELASYNC_LITE_C_A 27 | ||
1151 | #define CLK_MOUT_SCLK_PIXELASYNC_LITE_C_INIT_B 28 | ||
1152 | #define CLK_MOUT_SCLK_PIXELASYNC_LITE_C_INIT_A 29 | ||
1153 | |||
1154 | #define CLK_DIV_PCLK_CAM0_50 30 | ||
1155 | #define CLK_DIV_ACLK_CAM0_200 31 | ||
1156 | #define CLK_DIV_ACLK_CAM0_BUS_400 32 | ||
1157 | #define CLK_DIV_PCLK_LITE_D 33 | ||
1158 | #define CLK_DIV_ACLK_LITE_D 34 | ||
1159 | #define CLK_DIV_PCLK_LITE_B 35 | ||
1160 | #define CLK_DIV_ACLK_LITE_B 36 | ||
1161 | #define CLK_DIV_PCLK_LITE_A 37 | ||
1162 | #define CLK_DIV_ACLK_LITE_A 38 | ||
1163 | #define CLK_DIV_ACLK_CSIS1 39 | ||
1164 | #define CLK_DIV_ACLK_CSIS0 40 | ||
1165 | #define CLK_DIV_PCLK_3AA1 41 | ||
1166 | #define CLK_DIV_ACLK_3AA1 42 | ||
1167 | #define CLK_DIV_PCLK_3AA0 43 | ||
1168 | #define CLK_DIV_ACLK_3AA0 44 | ||
1169 | #define CLK_DIV_SCLK_PIXELASYNC_LITE_C 45 | ||
1170 | #define CLK_DIV_PCLK_PIXELASYNC_LITE_C 46 | ||
1171 | #define CLK_DIV_SCLK_PIXELASYNC_LITE_C_INIT 47 | ||
1172 | |||
1173 | #define CLK_ACLK_CSIS1 50 | ||
1174 | #define CLK_ACLK_CSIS0 51 | ||
1175 | #define CLK_ACLK_3AA1 52 | ||
1176 | #define CLK_ACLK_3AA0 53 | ||
1177 | #define CLK_ACLK_LITE_D 54 | ||
1178 | #define CLK_ACLK_LITE_B 55 | ||
1179 | #define CLK_ACLK_LITE_A 56 | ||
1180 | #define CLK_ACLK_AHBSYNCDN 57 | ||
1181 | #define CLK_ACLK_AXIUS_LITE_D 58 | ||
1182 | #define CLK_ACLK_AXIUS_LITE_B 59 | ||
1183 | #define CLK_ACLK_AXIUS_LITE_A 60 | ||
1184 | #define CLK_ACLK_ASYNCAPBM_3AA1 61 | ||
1185 | #define CLK_ACLK_ASYNCAPBS_3AA1 62 | ||
1186 | #define CLK_ACLK_ASYNCAPBM_3AA0 63 | ||
1187 | #define CLK_ACLK_ASYNCAPBS_3AA0 64 | ||
1188 | #define CLK_ACLK_ASYNCAPBM_LITE_D 65 | ||
1189 | #define CLK_ACLK_ASYNCAPBS_LITE_D 66 | ||
1190 | #define CLK_ACLK_ASYNCAPBM_LITE_B 67 | ||
1191 | #define CLK_ACLK_ASYNCAPBS_LITE_B 68 | ||
1192 | #define CLK_ACLK_ASYNCAPBM_LITE_A 69 | ||
1193 | #define CLK_ACLK_ASYNCAPBS_LITE_A 70 | ||
1194 | #define CLK_ACLK_ASYNCAXIM_ISP0P 71 | ||
1195 | #define CLK_ACLK_ASYNCAXIM_3AA1 72 | ||
1196 | #define CLK_ACLK_ASYNCAXIS_3AA1 73 | ||
1197 | #define CLK_ACLK_ASYNCAXIM_3AA0 74 | ||
1198 | #define CLK_ACLK_ASYNCAXIS_3AA0 75 | ||
1199 | #define CLK_ACLK_ASYNCAXIM_LITE_D 76 | ||
1200 | #define CLK_ACLK_ASYNCAXIS_LITE_D 77 | ||
1201 | #define CLK_ACLK_ASYNCAXIM_LITE_B 78 | ||
1202 | #define CLK_ACLK_ASYNCAXIS_LITE_B 79 | ||
1203 | #define CLK_ACLK_ASYNCAXIM_LITE_A 80 | ||
1204 | #define CLK_ACLK_ASYNCAXIS_LITE_A 81 | ||
1205 | #define CLK_ACLK_AHB2APB_ISPSFRP 82 | ||
1206 | #define CLK_ACLK_AXI2APB_ISP0P 83 | ||
1207 | #define CLK_ACLK_AXI2AHB_ISP0P 84 | ||
1208 | #define CLK_ACLK_XIU_IS0X 85 | ||
1209 | #define CLK_ACLK_XIU_ISP0EX 86 | ||
1210 | #define CLK_ACLK_CAM0NP_276 87 | ||
1211 | #define CLK_ACLK_CAM0ND_400 88 | ||
1212 | #define CLK_ACLK_SMMU_3AA1 89 | ||
1213 | #define CLK_ACLK_SMMU_3AA0 90 | ||
1214 | #define CLK_ACLK_SMMU_LITE_D 91 | ||
1215 | #define CLK_ACLK_SMMU_LITE_B 92 | ||
1216 | #define CLK_ACLK_SMMU_LITE_A 93 | ||
1217 | #define CLK_ACLK_BTS_3AA1 94 | ||
1218 | #define CLK_ACLK_BTS_3AA0 95 | ||
1219 | #define CLK_ACLK_BTS_LITE_D 96 | ||
1220 | #define CLK_ACLK_BTS_LITE_B 97 | ||
1221 | #define CLK_ACLK_BTS_LITE_A 98 | ||
1222 | #define CLK_PCLK_SMMU_3AA1 99 | ||
1223 | #define CLK_PCLK_SMMU_3AA0 100 | ||
1224 | #define CLK_PCLK_SMMU_LITE_D 101 | ||
1225 | #define CLK_PCLK_SMMU_LITE_B 102 | ||
1226 | #define CLK_PCLK_SMMU_LITE_A 103 | ||
1227 | #define CLK_PCLK_BTS_3AA1 104 | ||
1228 | #define CLK_PCLK_BTS_3AA0 105 | ||
1229 | #define CLK_PCLK_BTS_LITE_D 106 | ||
1230 | #define CLK_PCLK_BTS_LITE_B 107 | ||
1231 | #define CLK_PCLK_BTS_LITE_A 108 | ||
1232 | #define CLK_PCLK_ASYNCAXI_CAM1 109 | ||
1233 | #define CLK_PCLK_ASYNCAXI_3AA1 110 | ||
1234 | #define CLK_PCLK_ASYNCAXI_3AA0 111 | ||
1235 | #define CLK_PCLK_ASYNCAXI_LITE_D 112 | ||
1236 | #define CLK_PCLK_ASYNCAXI_LITE_B 113 | ||
1237 | #define CLK_PCLK_ASYNCAXI_LITE_A 114 | ||
1238 | #define CLK_PCLK_PMU_CAM0 115 | ||
1239 | #define CLK_PCLK_SYSREG_CAM0 116 | ||
1240 | #define CLK_PCLK_CMU_CAM0_LOCAL 117 | ||
1241 | #define CLK_PCLK_CSIS1 118 | ||
1242 | #define CLK_PCLK_CSIS0 119 | ||
1243 | #define CLK_PCLK_3AA1 120 | ||
1244 | #define CLK_PCLK_3AA0 121 | ||
1245 | #define CLK_PCLK_LITE_D 122 | ||
1246 | #define CLK_PCLK_LITE_B 123 | ||
1247 | #define CLK_PCLK_LITE_A 124 | ||
1248 | #define CLK_PHYCLK_RXBYTECLKHS0_S4 125 | ||
1249 | #define CLK_PHYCLK_RXBYTECLKHS0_S2A 126 | ||
1250 | #define CLK_SCLK_LITE_FREECNT 127 | ||
1251 | #define CLK_SCLK_PIXELASYNCM_3AA1 128 | ||
1252 | #define CLK_SCLK_PIXELASYNCM_3AA0 129 | ||
1253 | #define CLK_SCLK_PIXELASYNCS_3AA0 130 | ||
1254 | #define CLK_SCLK_PIXELASYNCM_LITE_C 131 | ||
1255 | #define CLK_SCLK_PIXELASYNCM_LITE_C_INIT 132 | ||
1256 | #define CLK_SCLK_PIXELASYNCS_LITE_C_INIT 133 | ||
1257 | |||
1258 | #define CAM0_NR_CLK 134 | ||
1259 | |||
1116 | #endif /* _DT_BINDINGS_CLOCK_EXYNOS5433_H */ | 1260 | #endif /* _DT_BINDINGS_CLOCK_EXYNOS5433_H */ |