clk: rockchip: add support for gate link
Recent Rockchip SoCs have a new hardware block called Native Interface Unit (NIU), which gates clocks to devices behind them. These effectively need two parent clocks. Use GATE_LINK to handle this. Signed-off-by:Elaine Zhang <zhangqing@rock-chips.com> Link: https://lore.kernel.org/r/20230802072038.29996-3-zhangqing@rock-chips.com Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
Showing
- drivers/clk/rockchip/Makefile 1 addition, 0 deletionsdrivers/clk/rockchip/Makefile
- drivers/clk/rockchip/clk-gate-link.c 120 additions, 0 deletionsdrivers/clk/rockchip/clk-gate-link.c
- drivers/clk/rockchip/clk.c 7 additions, 0 deletionsdrivers/clk/rockchip/clk.c
- drivers/clk/rockchip/clk.h 22 additions, 0 deletionsdrivers/clk/rockchip/clk.h
Loading
Please register or sign in to comment