clk: sunxi-ng: gate: Add macros for gates with fixed dividers
authorSamuel Holland <samuel@sholland.org>
Fri, 19 Nov 2021 04:35:43 +0000 (22:35 -0600)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 23 Nov 2021 09:29:05 +0000 (10:29 +0100)
commitb30fc68e6ce543130cfcf69fb02bafbcf961a7d4
treee5fb5b105fdf91768d819d7011bd6885c32dc724
parent8107c859a39159872ca45f751c4a70a89abe3321
clk: sunxi-ng: gate: Add macros for gates with fixed dividers

It is possible to declare a gate with a fixed divider, by using the
CCU_FEATURE_ALL_PREDIV flag. Since this is not obvious, add a macro
for declaring this type of clock.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211119043545.4010-6-samuel@sholland.org
drivers/clk/sunxi-ng/ccu_gate.h