Skip to content

Commit 1b87d5b

Browse files
prabhakarladgeertu
authored andcommitted
clk: renesas: r9a07g044: Add clock and reset entries for ADC
Add clock and reset entries for ADC block in CPG driver. Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Biju Das <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 3b5c734 commit 1b87d5b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/clk/renesas/r9a07g044-cpg.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ static struct rzg2l_mod_clk r9a07g044_mod_clks[] = {
144144
0x594, 0),
145145
DEF_MOD("gpio", R9A07G044_GPIO_HCLK, R9A07G044_OSCCLK,
146146
0x598, 0),
147+
DEF_MOD("adc_adclk", R9A07G044_ADC_ADCLK, R9A07G044_CLK_TSU,
148+
0x5a8, 0),
149+
DEF_MOD("adc_pclk", R9A07G044_ADC_PCLK, R9A07G044_CLK_P0,
150+
0x5a8, 1),
147151
};
148152

149153
static struct rzg2l_reset r9a07g044_resets[] = {
@@ -175,6 +179,8 @@ static struct rzg2l_reset r9a07g044_resets[] = {
175179
DEF_RST(R9A07G044_GPIO_RSTN, 0x898, 0),
176180
DEF_RST(R9A07G044_GPIO_PORT_RESETN, 0x898, 1),
177181
DEF_RST(R9A07G044_GPIO_SPARE_RESETN, 0x898, 2),
182+
DEF_RST(R9A07G044_ADC_PRESETN, 0x8a8, 0),
183+
DEF_RST(R9A07G044_ADC_ADRST_N, 0x8a8, 1),
178184
};
179185

180186
static const unsigned int r9a07g044_crit_mod_clks[] __initconst = {

0 commit comments

Comments
 (0)