diff options
author | Hai Pham | 2020-11-05 21:32:38 +0700 |
---|---|---|
committer | Marek Vasut | 2021-05-21 15:00:17 +0200 |
commit | 406c93c85c78cc86b8b027bd42974a6d3249d39d (patch) | |
tree | e7f03752ff3ad339723ecb02f0afb3de644d6ed7 /drivers | |
parent | f7f8d473170dd7bd79bf034accf65a10b2f3edf6 (diff) |
clk: renesas: Introduce enum clk_reg_layout
From Linux v5.10-rc2, commit ffbf9cf3f946 by Yoshihiro Shimoda
Introduce enum clk_reg_layout to support multiple register layout variants
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/clk/renesas/renesas-cpg-mssr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/renesas/renesas-cpg-mssr.h b/drivers/clk/renesas/renesas-cpg-mssr.h index 8c8a09b9044..3c3b128c4c3 100644 --- a/drivers/clk/renesas/renesas-cpg-mssr.h +++ b/drivers/clk/renesas/renesas-cpg-mssr.h @@ -14,9 +14,15 @@ #define __DRIVERS_CLK_RENESAS_CPG_MSSR__ #include <linux/bitops.h> + +enum clk_reg_layout { + CLK_REG_LAYOUT_RCAR_GEN2_AND_GEN3 = 0, +}; + struct cpg_mssr_info { const struct cpg_core_clk *core_clk; unsigned int core_clk_size; + enum clk_reg_layout reg_layout; const struct mssr_mod_clk *mod_clk; unsigned int mod_clk_size; const struct mstp_stop_table *mstp_table; |