| .. | .. |
|---|
| 14 | 14 | struct stratix10_pll_clock { |
|---|
| 15 | 15 | unsigned int id; |
|---|
| 16 | 16 | const char *name; |
|---|
| 17 | | - const char *const *parent_names; |
|---|
| 17 | + const struct clk_parent_data *parent_data; |
|---|
| 18 | 18 | u8 num_parents; |
|---|
| 19 | 19 | unsigned long flags; |
|---|
| 20 | 20 | unsigned long offset; |
|---|
| .. | .. |
|---|
| 24 | 24 | unsigned int id; |
|---|
| 25 | 25 | const char *name; |
|---|
| 26 | 26 | const char *parent_name; |
|---|
| 27 | | - const char *const *parent_names; |
|---|
| 27 | + const struct clk_parent_data *parent_data; |
|---|
| 28 | 28 | u8 num_parents; |
|---|
| 29 | 29 | unsigned long flags; |
|---|
| 30 | 30 | unsigned long offset; |
|---|
| .. | .. |
|---|
| 34 | 34 | unsigned int id; |
|---|
| 35 | 35 | const char *name; |
|---|
| 36 | 36 | const char *parent_name; |
|---|
| 37 | | - const char *const *parent_names; |
|---|
| 37 | + const struct clk_parent_data *parent_data; |
|---|
| 38 | 38 | u8 num_parents; |
|---|
| 39 | 39 | unsigned long flags; |
|---|
| 40 | 40 | unsigned long offset; |
|---|
| .. | .. |
|---|
| 47 | 47 | unsigned int id; |
|---|
| 48 | 48 | const char *name; |
|---|
| 49 | 49 | const char *parent_name; |
|---|
| 50 | | - const char *const *parent_names; |
|---|
| 50 | + const struct clk_parent_data *parent_data; |
|---|
| 51 | 51 | u8 num_parents; |
|---|
| 52 | 52 | unsigned long flags; |
|---|
| 53 | 53 | unsigned long gate_reg; |
|---|
| .. | .. |
|---|
| 60 | 60 | u8 fixed_div; |
|---|
| 61 | 61 | }; |
|---|
| 62 | 62 | |
|---|
| 63 | | -struct clk *s10_register_pll(const char *, const char *const *, u8, |
|---|
| 64 | | - unsigned long, void __iomem *, unsigned long); |
|---|
| 65 | | - |
|---|
| 66 | | -struct clk *s10_register_periph(const char *, const char *, |
|---|
| 67 | | - const char * const *, u8, unsigned long, |
|---|
| 68 | | - void __iomem *, unsigned long); |
|---|
| 69 | | -struct clk *s10_register_cnt_periph(const char *, const char *, |
|---|
| 70 | | - const char * const *, u8, |
|---|
| 71 | | - unsigned long, void __iomem *, |
|---|
| 72 | | - unsigned long, u8, unsigned long, |
|---|
| 73 | | - unsigned long); |
|---|
| 74 | | -struct clk *s10_register_gate(const char *, const char *, |
|---|
| 75 | | - const char * const *, u8, |
|---|
| 76 | | - unsigned long, void __iomem *, |
|---|
| 77 | | - unsigned long, unsigned long, |
|---|
| 78 | | - unsigned long, unsigned long, u8, |
|---|
| 79 | | - unsigned long, u8, u8); |
|---|
| 63 | +struct clk *s10_register_pll(const struct stratix10_pll_clock *, |
|---|
| 64 | + void __iomem *); |
|---|
| 65 | +struct clk *agilex_register_pll(const struct stratix10_pll_clock *, |
|---|
| 66 | + void __iomem *); |
|---|
| 67 | +struct clk *s10_register_periph(const struct stratix10_perip_c_clock *, |
|---|
| 68 | + void __iomem *); |
|---|
| 69 | +struct clk *s10_register_cnt_periph(const struct stratix10_perip_cnt_clock *, |
|---|
| 70 | + void __iomem *); |
|---|
| 71 | +struct clk *s10_register_gate(const struct stratix10_gate_clock *, |
|---|
| 72 | + void __iomem *); |
|---|
| 80 | 73 | #endif /* __STRATIX10_CLK_H */ |
|---|