Skip to content

Commit f08b0d8

Browse files
committed
clk: renesas: r8a779a0: Add PFC/GPIO clocks
Add the module clocks used by the Pin Function Controller (PFC) and General Purpose Input/Output (GPIO) blocks, and their parent clock CP. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://lore.kernel.org/r/20201019120614.22149-4-geert+renesas@glider.be
1 parent 80d3e07 commit f08b0d8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

drivers/clk/renesas/r8a779a0-cpg-mssr.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ static const struct cpg_core_clk r8a779a0_core_clks[] __initconst = {
137137
DEF_FIXED("icud2", R8A779A0_CLK_ICUD2, CLK_PLL5_DIV4, 4, 1),
138138
DEF_FIXED("vcbus", R8A779A0_CLK_VCBUS, CLK_PLL5_DIV4, 1, 1),
139139
DEF_FIXED("cbfusa", R8A779A0_CLK_CBFUSA, CLK_EXTAL, 2, 1),
140+
DEF_FIXED("cp", R8A779A0_CLK_CP, CLK_EXTAL, 2, 1),
140141

141142
DEF_DIV6P1("mso", R8A779A0_CLK_MSO, CLK_PLL5_DIV4, 0x87c),
142143
DEF_DIV6P1("canfd", R8A779A0_CLK_CANFD, CLK_PLL5_DIV4, 0x878),
@@ -196,6 +197,10 @@ static const struct mssr_mod_clk r8a779a0_mod_clks[] __initconst = {
196197
DEF_MOD("vspd0", 830, R8A779A0_CLK_S3D1),
197198
DEF_MOD("vspd1", 831, R8A779A0_CLK_S3D1),
198199
DEF_MOD("rwdt", 907, R8A779A0_CLK_R),
200+
DEF_MOD("pfc0", 915, R8A779A0_CLK_CP),
201+
DEF_MOD("pfc1", 916, R8A779A0_CLK_CP),
202+
DEF_MOD("pfc2", 917, R8A779A0_CLK_CP),
203+
DEF_MOD("pfc3", 918, R8A779A0_CLK_CP),
199204
DEF_MOD("vspx0", 1028, R8A779A0_CLK_S1D1),
200205
DEF_MOD("vspx1", 1029, R8A779A0_CLK_S1D1),
201206
DEF_MOD("vspx2", 1030, R8A779A0_CLK_S1D1),

0 commit comments

Comments
 (0)