drivers/clk/meson/sclk-div.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * Copyright (c) 2018 BayLibre, SAS. |
| 4 | * Author: Jerome Brunet <[email protected]> |
| 5 | */ |
| 6 | |
| 7 | #ifndef __MESON_SCLK_DIV_H |
| 8 | #define __MESON_SCLK_DIV_H |
| 9 | |
| 10 | #include <linux/clk-provider.h> |
| 11 | #include "parm.h" |
| 12 | |
| 13 | struct meson_sclk_div_data { |
| 14 | struct parm div; |
| 15 | struct parm hi; |
| 16 | unsigned int cached_div; |
| 17 | struct clk_duty cached_duty; |
| 18 | }; |
| 19 | |
| 20 | extern const struct clk_ops meson_sclk_div_ops; |
| 21 | |
| 22 | #endif /* __MESON_SCLK_DIV_H */ |