summaryrefslogtreecommitdiffstats
path: root/drivers/clk/renesas/r8a779f0-cpg-mssr.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2022-02-03 15:34:28 +0100
committerGeert Uytterhoeven <geert+renesas@glider.be>2022-02-22 09:51:20 +0100
commit5447d32c55592610969fa7e825a591c4104f0134 (patch)
tree2be6c8df550f9debd23dc5e550924da5996737cf /drivers/clk/renesas/r8a779f0-cpg-mssr.c
parentclk: renesas: r8a779f0: Add WDT clock (diff)
downloadlinux-5447d32c55592610969fa7e825a591c4104f0134.tar.xz
linux-5447d32c55592610969fa7e825a591c4104f0134.zip
clk: renesas: r8a779f0: Add I2C clocks
Add the module clocks used by the I2C Bus Interfaces on the Renesas R-Car S4-8 (R8A779F0) SoC. Extracted from a larger patch in the BSP by LUU HOAI. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://lore.kernel.org/r/e4dcee5f6f521dccd7ac7f2fb6c86cfe4a24d032.1643898820.git.geert+renesas@glider.be
Diffstat (limited to 'drivers/clk/renesas/r8a779f0-cpg-mssr.c')
-rw-r--r--drivers/clk/renesas/r8a779f0-cpg-mssr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/renesas/r8a779f0-cpg-mssr.c b/drivers/clk/renesas/r8a779f0-cpg-mssr.c
index e48c5af73414..123c1b01550d 100644
--- a/drivers/clk/renesas/r8a779f0-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a779f0-cpg-mssr.c
@@ -115,6 +115,12 @@ static const struct cpg_core_clk r8a779f0_core_clks[] __initconst = {
};
static const struct mssr_mod_clk r8a779f0_mod_clks[] __initconst = {
+ DEF_MOD("i2c0", 518, R8A779F0_CLK_S0D6_PER),
+ DEF_MOD("i2c1", 519, R8A779F0_CLK_S0D6_PER),
+ DEF_MOD("i2c2", 520, R8A779F0_CLK_S0D6_PER),
+ DEF_MOD("i2c3", 521, R8A779F0_CLK_S0D6_PER),
+ DEF_MOD("i2c4", 522, R8A779F0_CLK_S0D6_PER),
+ DEF_MOD("i2c5", 523, R8A779F0_CLK_S0D6_PER),
DEF_MOD("scif0", 702, R8A779F0_CLK_S0D12_PER),
DEF_MOD("scif1", 703, R8A779F0_CLK_S0D12_PER),
DEF_MOD("scif3", 704, R8A779F0_CLK_S0D12_PER),