]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: rockchip: rk3568: Add PCIe pipe clock gates
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 6 Mar 2026 12:20:41 +0000 (20:20 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 10 Mar 2026 08:34:27 +0000 (09:34 +0100)
commit41b1a6760959017c4fa1dbc7c3cc318406ab1455
tree8ed12d1ce57d7b3b1e6a51f9b84024f731959c21
parent3e65e426d4575a66a82928eb41b6d83f36e5ce9c
clk: rockchip: rk3568: Add PCIe pipe clock gates

The PCIe pipe clocks are currently left as orphan clocks and remain
enabled indefinitely, which is suboptimal. Add the missing clock gates
so the PCIe driver can explicitly manage them when not in use. In order
not to break compatibility with old DTB, mark them as CLK_IGNORE_UNUSED.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Link: https://patch.msgid.link/1772799641-32164-1-git-send-email-shawn.lin@rock-chips.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3568.c