diff options
author | Yao Zi <ziyao@disroot.org> | 2025-09-19 14:26:43 +0000 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2025-09-21 12:48:45 -0700 |
commit | 499f81848ef3bdca53122e0c3758381f7cd40934 (patch) | |
tree | 3c73952bb0dc5c134203991bf18275f701f9caac /rust/kernel/bits.rs | |
parent | 793e6b74806eea39da26f2fb7e4b640608d9598d (diff) |
clk: loongson2: Allow specifying clock flags for gate clock
Some gate clocks need to be supplied with flags, e.g., it may be
required to specify CLK_IS_CRTICAL for CPU clocks.
Add a field to loongson2_clk_board_info for representing clock flags,
and specify it when registering gate clocks. A new helper macro,
CLK_GATE_FLAGS, is added to simplify definitions.
Signed-off-by: Yao Zi <ziyao@disroot.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'rust/kernel/bits.rs')
0 files changed, 0 insertions, 0 deletions