| .. | .. |
|---|
| 1 | | -// SPDX-License-Identifier: GPL-2.0+ |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0+ */ |
|---|
| 2 | 2 | // |
|---|
| 3 | 3 | // OWL common clock driver |
|---|
| 4 | 4 | // |
|---|
| .. | .. |
|---|
| 26 | 26 | struct owl_clk_common **clks; |
|---|
| 27 | 27 | unsigned long num_clks; |
|---|
| 28 | 28 | struct clk_hw_onecell_data *hw_clks; |
|---|
| 29 | + const struct owl_reset_map *resets; |
|---|
| 30 | + unsigned long num_resets; |
|---|
| 31 | + struct regmap *regmap; |
|---|
| 29 | 32 | }; |
|---|
| 30 | 33 | |
|---|
| 31 | 34 | static inline struct owl_clk_common * |
|---|
| .. | .. |
|---|
| 35 | 38 | } |
|---|
| 36 | 39 | |
|---|
| 37 | 40 | int owl_clk_regmap_init(struct platform_device *pdev, |
|---|
| 38 | | - const struct owl_clk_desc *desc); |
|---|
| 41 | + struct owl_clk_desc *desc); |
|---|
| 39 | 42 | int owl_clk_probe(struct device *dev, struct clk_hw_onecell_data *hw_clks); |
|---|
| 40 | 43 | |
|---|
| 41 | 44 | #endif /* _OWL_COMMON_H_ */ |
|---|