Re: Re: [PATCHv2 1/2] clk: rockchip: rk3588: make gate linked clocks ignore unused
From: Jagan Teki
Date: Fri Jul 14 2023 - 01:28:31 EST
Hi,
On Fri, 14 Jul 2023 at 06:44, zhangqing@xxxxxxxxxxxxxx
<zhangqing@xxxxxxxxxxxxxx> wrote:
>
> Hi Sebastian,
>
> The clock needs to rely on two parent clocks, which is required by design.Refer to the attachment for details.
> Our internal branch is implemented using clk-link.c. Recently, I will implement the real GATE_LINK API according to upstream, without modifying DT.
Do you have a solution to share or any pointers? I tried to use
clk-link by dropping GATE_LINK from clk-rk3588.c however the issue
remains still as double-parenting is unsupportive. Did you add
double-parenting to the mainline clk tree? Other than that, I have
used existing clk and try to attach the link clock in conventional
clock way like
vo1_grf: syscon@fd5a8000 {
compatible = "rockchip,rk3588-vo-grf", "syscon";
reg = <0x0 0xfd5a8000 0x0 0x100>;
clocks = <&cru PCLK_VO1GRF>;
};
This also seems similar issue.
Thanks,
Jagan.