diff options
author | Priit Laes <plaes@plaes.org> | 2017-08-12 14:43:50 +0200 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2017-08-14 16:31:46 +0200 |
commit | 721353c030a0d6f7b5e157dc2531da96b4dd73f3 (patch) | |
tree | b7645acd8bf2fb60f51c4f2cef141851568543ad /drivers/clk/sunxi-ng/ccu_div.h | |
parent | dt-bindings: clock: sunxi-ccu: Add compatibles for sun5i CCU driver (diff) | |
download | linux-721353c030a0d6f7b5e157dc2531da96b4dd73f3.tar.xz linux-721353c030a0d6f7b5e157dc2531da96b4dd73f3.zip |
clk: sunxi-ng: div: Add support for fixed post-divider
SATA clock on sun4i/sun7i is of type (parent) / M / 6 where
6 is fixed post-divider.
Signed-off-by: Priit Laes <plaes@plaes.org>
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'drivers/clk/sunxi-ng/ccu_div.h')
-rw-r--r-- | drivers/clk/sunxi-ng/ccu_div.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/sunxi-ng/ccu_div.h b/drivers/clk/sunxi-ng/ccu_div.h index 08d074451204..f3a5028dcd14 100644 --- a/drivers/clk/sunxi-ng/ccu_div.h +++ b/drivers/clk/sunxi-ng/ccu_div.h @@ -86,9 +86,10 @@ struct ccu_div_internal { struct ccu_div { u32 enable; - struct ccu_div_internal div; + struct ccu_div_internal div; struct ccu_mux_internal mux; struct ccu_common common; + unsigned int fixed_post_div; }; #define SUNXI_CCU_DIV_TABLE_WITH_GATE(_struct, _name, _parent, _reg, \ |