diff options
| author | Samuel Holland <[email protected]> | 2022-05-09 00:29:33 -0500 |
|---|---|---|
| committer | Andre Przywara <[email protected]> | 2022-07-18 09:37:49 +0100 |
| commit | d39088ad9c97fa612c480475b18759a3931c41fd (patch) | |
| tree | 33e296d56ebb595a843dc4e803aa6902453c9d09 /include/clk | |
| parent | 6827aba3482d214afea3b3bc4cb2f5bddb606929 (diff) | |
reset: sunxi: Get the reset count from the CCU descriptor
This allows all of the clock drivers to use a common bind function.
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Andre Przywara <[email protected]>
[Andre: add F1C100s support]
Signed-off-by: Andre Przywara <[email protected]>
Diffstat (limited to 'include/clk')
| -rw-r--r-- | include/clk/sunxi.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/clk/sunxi.h b/include/clk/sunxi.h index f1717a5e954..a70119304a7 100644 --- a/include/clk/sunxi.h +++ b/include/clk/sunxi.h @@ -86,6 +86,12 @@ struct ccu_priv { }; /** + * sunxi_clk_bind - common sunxi clock bind + * @dev: clock device + */ +int sunxi_clk_bind(struct udevice *dev); + +/** * sunxi_clk_probe - common sunxi clock probe * @dev: clock device */ @@ -97,9 +103,8 @@ extern struct clk_ops sunxi_clk_ops; * sunxi_reset_bind() - reset binding * * @dev: reset device - * @count: reset count * Return: 0 success, or error value */ -int sunxi_reset_bind(struct udevice *dev, ulong count); +int sunxi_reset_bind(struct udevice *dev); #endif /* _CLK_SUNXI_H */ |
