diff options
| author | Sebastian Reichel <[email protected]> | 2024-12-11 16:58:53 +0000 |
|---|---|---|
| committer | Heiko Stuebner <[email protected]> | 2025-01-09 15:19:21 +0000 |
| commit | c62fa612cfa66ab58ab215e5afc95c43c613b513 (patch) | |
| tree | 481ffa6b2154f4de125d9a9d0a5e25c7bc411aa4 /net/unix/unix_bpf.c | |
| parent | clk: rockchip: expose rockchip_clk_set_lookup (diff) | |
| download | kernel-c62fa612cfa66ab58ab215e5afc95c43c613b513.tar.gz kernel-c62fa612cfa66ab58ab215e5afc95c43c613b513.zip | |
clk: rockchip: implement linked gate clock support
Recent Rockchip SoCs have a new hardware block called Native Interface
Unit (NIU), which gates clocks to devices behind them. These clock
gates will only have a running output clock when all of the following
conditions are met:
1. the parent clock is enabled
2. the enable bit is set correctly
3. the linked clock is enabled
To handle them this code registers them as a normal gate type clock,
which takes care of condition 1 + 2. The linked clock is handled by
using runtime PM clocks. Handling it via runtime PM requires setting
up a struct device for each of these clocks with a driver attached
to use the correct runtime PM operations. Thus the complete handling
of these clocks has been moved into its own driver.
Signed-off-by: Sebastian Reichel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiko Stuebner <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
