Skip to content

Commit 6c18566

Browse files
bijudasgeertu
authored andcommitted
clk: renesas: r9a07g043: Add GPIO clock and reset entries
Add GPIO clock and reset entries in CPG driver. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Link: https://lore.kernel.org/r/20220402074626.25624-2-biju.das.jz@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent c8b0882 commit 6c18566

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

drivers/clk/renesas/r9a07g043-cpg.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ static struct rzg2l_mod_clk r9a07g043_mod_clks[] = {
112112
0x588, 0),
113113
DEF_MOD("sci1", R9A07G043_SCI1_CLKP, R9A07G043_CLK_P0,
114114
0x588, 1),
115+
DEF_MOD("gpio", R9A07G043_GPIO_HCLK, R9A07G043_OSCCLK,
116+
0x598, 0),
115117
};
116118

117119
static struct rzg2l_reset r9a07g043_resets[] = {
@@ -127,6 +129,9 @@ static struct rzg2l_reset r9a07g043_resets[] = {
127129
DEF_RST(R9A07G043_SCIF4_RST_SYSTEM_N, 0x884, 4),
128130
DEF_RST(R9A07G043_SCI0_RST, 0x888, 0),
129131
DEF_RST(R9A07G043_SCI1_RST, 0x888, 1),
132+
DEF_RST(R9A07G043_GPIO_RSTN, 0x898, 0),
133+
DEF_RST(R9A07G043_GPIO_PORT_RESETN, 0x898, 1),
134+
DEF_RST(R9A07G043_GPIO_SPARE_RESETN, 0x898, 2),
130135
};
131136

132137
static const unsigned int r9a07g043_crit_mod_clks[] __initconst = {

0 commit comments

Comments
 (0)