Lines Matching +full:r8a7795 +full:- +full:lvds
1 // SPDX-License-Identifier: GPL-2.0
3 * r8a7795 Clock Pulse Generator / Module Standby and Software Reset
6 * Copyright (C) 2018-2019 Renesas Electronics Corp.
8 * Based on clk-rcar-gen3.c
16 #include <linux/soc/renesas/rcar-rst.h>
19 #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
21 #include "renesas-cpg-mssr.h"
22 #include "rcar-gen3-cpg.h"
128 DEF_MOD("fdp1-2", 117, R8A7795_CLK_S2D1), /* ES1.x */
129 DEF_MOD("fdp1-1", 118, R8A7795_CLK_S0D1),
130 DEF_MOD("fdp1-0", 119, R8A7795_CLK_S0D1),
140 DEF_MOD("sys-dmac2", 217, R8A7795_CLK_S3D1),
141 DEF_MOD("sys-dmac1", 218, R8A7795_CLK_S3D1),
142 DEF_MOD("sys-dmac0", 219, R8A7795_CLK_S0D3),
143 DEF_MOD("sceg-pub", 229, R8A7795_CLK_CR),
156 DEF_MOD("usb-dmac30", 326, R8A7795_CLK_S3D1),
157 DEF_MOD("usb3-if1", 327, R8A7795_CLK_S3D1), /* ES1.x */
158 DEF_MOD("usb3-if0", 328, R8A7795_CLK_S3D1),
159 DEF_MOD("usb-dmac31", 329, R8A7795_CLK_S3D1),
160 DEF_MOD("usb-dmac0", 330, R8A7795_CLK_S3D1),
161 DEF_MOD("usb-dmac1", 331, R8A7795_CLK_S3D1),
163 DEF_MOD("intc-ex", 407, R8A7795_CLK_CP),
164 DEF_MOD("intc-ap", 408, R8A7795_CLK_S0D3),
224 DEF_MOD("lvds", 727, R8A7795_CLK_S0D4),
249 DEF_MOD("can-fd", 914, R8A7795_CLK_S3D2),
250 DEF_MOD("can-if1", 915, R8A7795_CLK_S3D4),
251 DEF_MOD("can-if0", 916, R8A7795_CLK_S3D4),
252 DEF_MOD("rpc-if", 917, R8A7795_CLK_RPCD2),
255 DEF_MOD("i2c-dvfs", 926, R8A7795_CLK_CP),
261 DEF_MOD("ssi-all", 1005, R8A7795_CLK_S3D4),
272 DEF_MOD("scu-all", 1017, R8A7795_CLK_S3D4),
273 DEF_MOD("scu-dvc1", 1018, MOD_CLK_ID(1017)),
274 DEF_MOD("scu-dvc0", 1019, MOD_CLK_ID(1017)),
275 DEF_MOD("scu-ctu1-mix1", 1020, MOD_CLK_ID(1017)),
276 DEF_MOD("scu-ctu0-mix0", 1021, MOD_CLK_ID(1017)),
277 DEF_MOD("scu-src9", 1022, MOD_CLK_ID(1017)),
278 DEF_MOD("scu-src8", 1023, MOD_CLK_ID(1017)),
279 DEF_MOD("scu-src7", 1024, MOD_CLK_ID(1017)),
280 DEF_MOD("scu-src6", 1025, MOD_CLK_ID(1017)),
281 DEF_MOD("scu-src5", 1026, MOD_CLK_ID(1017)),
282 DEF_MOD("scu-src4", 1027, MOD_CLK_ID(1017)),
283 DEF_MOD("scu-src3", 1028, MOD_CLK_ID(1017)),
284 DEF_MOD("scu-src2", 1029, MOD_CLK_ID(1017)),
285 DEF_MOD("scu-src1", 1030, MOD_CLK_ID(1017)),
286 DEF_MOD("scu-src0", 1031, MOD_CLK_ID(1017)),
291 MOD_CLK_ID(408), /* INTC-AP (GIC) */
301 *-------------------------------------------------------------------------
345 { .soc_id = "r8a7795", .revision = "ES1.*" },
351 * Fixups for R-Car H3 ES1.x
355 MOD_CLK_ID(326), /* USB-DMAC3-0 */
356 MOD_CLK_ID(329), /* USB-DMAC3-1 */
358 MOD_CLK_ID(705), /* HS-USB-IF3 */
363 { MOD_CLK_ID(118), R8A7795_CLK_S2D1 }, /* FDP1-1 */
364 { MOD_CLK_ID(119), R8A7795_CLK_S2D1 }, /* FDP1-0 */
365 { MOD_CLK_ID(217), R8A7795_CLK_S3D1 }, /* SYS-DMAC2 */
366 { MOD_CLK_ID(218), R8A7795_CLK_S3D1 }, /* SYS-DMAC1 */
367 { MOD_CLK_ID(219), R8A7795_CLK_S3D1 }, /* SYS-DMAC0 */
368 { MOD_CLK_ID(408), R8A7795_CLK_S3D1 }, /* INTC-AP */
397 { MOD_CLK_ID(812), R8A7795_CLK_S3D2 }, /* EAVB-IF */
418 * Fixups for R-Car H3 ES2.x
422 MOD_CLK_ID(117), /* FDP1-2 */
423 MOD_CLK_ID(327), /* USB3-IF1 */
445 if (!cpg_pll_config->extal_div) { in r8a7795_cpg_mssr_init()
447 return -EINVAL; in r8a7795_cpg_mssr_init()