mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-23 07:01:38 +00:00
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>
This commit is contained in:
parent
f7f8d47317
commit
406c93c85c
1 changed files with 6 additions and 0 deletions
|
@ -14,9 +14,15 @@
|
||||||
#define __DRIVERS_CLK_RENESAS_CPG_MSSR__
|
#define __DRIVERS_CLK_RENESAS_CPG_MSSR__
|
||||||
|
|
||||||
#include <linux/bitops.h>
|
#include <linux/bitops.h>
|
||||||
|
|
||||||
|
enum clk_reg_layout {
|
||||||
|
CLK_REG_LAYOUT_RCAR_GEN2_AND_GEN3 = 0,
|
||||||
|
};
|
||||||
|
|
||||||
struct cpg_mssr_info {
|
struct cpg_mssr_info {
|
||||||
const struct cpg_core_clk *core_clk;
|
const struct cpg_core_clk *core_clk;
|
||||||
unsigned int core_clk_size;
|
unsigned int core_clk_size;
|
||||||
|
enum clk_reg_layout reg_layout;
|
||||||
const struct mssr_mod_clk *mod_clk;
|
const struct mssr_mod_clk *mod_clk;
|
||||||
unsigned int mod_clk_size;
|
unsigned int mod_clk_size;
|
||||||
const struct mstp_stop_table *mstp_table;
|
const struct mstp_stop_table *mstp_table;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue