clk: renesas: r8a77980: Add VIN clocks
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Sat, 11 Feb 2023 15:30:26 +0000 (16:30 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 6 Mar 2023 09:42:14 +0000 (10:42 +0100)
Add the VIN module clocks, which are used by the VIN modules on the
Renesas R-Car V3H (R8A77980) SoC.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230211153026.3898491-1-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/r8a77980-cpg-mssr.c

index 06f925a..6dc63ea 100644 (file)
@@ -150,11 +150,27 @@ static const struct mssr_mod_clk r8a77980_mod_clks[] __initconst = {
        DEF_MOD("imp-ocv3",              529,   R8A77980_CLK_S1D1),
        DEF_MOD("imp-ocv2",              531,   R8A77980_CLK_S1D1),
        DEF_MOD("fcpvd0",                603,   R8A77980_CLK_S3D1),
+       DEF_MOD("vin15",                 604,   R8A77980_CLK_S2D1),
+       DEF_MOD("vin14",                 605,   R8A77980_CLK_S2D1),
+       DEF_MOD("vin13",                 608,   R8A77980_CLK_S2D1),
+       DEF_MOD("vin12",                 612,   R8A77980_CLK_S2D1),
+       DEF_MOD("vin11",                 618,   R8A77980_CLK_S2D1),
        DEF_MOD("vspd0",                 623,   R8A77980_CLK_S3D1),
+       DEF_MOD("vin10",                 625,   R8A77980_CLK_S2D1),
+       DEF_MOD("vin9",                  627,   R8A77980_CLK_S2D1),
+       DEF_MOD("vin8",                  628,   R8A77980_CLK_S2D1),
        DEF_MOD("csi41",                 715,   R8A77980_CLK_CSI0),
        DEF_MOD("csi40",                 716,   R8A77980_CLK_CSI0),
        DEF_MOD("du0",                   724,   R8A77980_CLK_S2D1),
        DEF_MOD("lvds",                  727,   R8A77980_CLK_S2D1),
+       DEF_MOD("vin7",                  804,   R8A77980_CLK_S2D1),
+       DEF_MOD("vin6",                  805,   R8A77980_CLK_S2D1),
+       DEF_MOD("vin5",                  806,   R8A77980_CLK_S2D1),
+       DEF_MOD("vin4",                  807,   R8A77980_CLK_S2D1),
+       DEF_MOD("vin3",                  808,   R8A77980_CLK_S2D1),
+       DEF_MOD("vin2",                  809,   R8A77980_CLK_S2D1),
+       DEF_MOD("vin1",                  810,   R8A77980_CLK_S2D1),
+       DEF_MOD("vin0",                  811,   R8A77980_CLK_S2D1),
        DEF_MOD("etheravb",              812,   R8A77980_CLK_S3D2),
        DEF_MOD("gether",                813,   R8A77980_CLK_S3D2),
        DEF_MOD("imp3",                  824,   R8A77980_CLK_S1D1),