Messages in this thread | | | Date | Sat, 7 Oct 2023 01:50:18 +0200 | Subject | Re: [PATCH] clk: qcom: gcc-msm8953: fix stuck gcc_usb30_master_clk | From | Konrad Dybcio <> |
| |
On 2.10.2023 19:00, Barnabás Czémán wrote: > According to downstream dwc3-msm source this clock has FSM dependency on > gcc_pcnoc_usb30_clk so enabling it would fail if latter isn't enabled. > This patch add works around this issue by changing parent of > gcc_usb30_master_clk to gcc_pcnoc_usb30_clk. This is acceptable because > both clocks have same parent and are branches/gates. > > Signed-off-by: Barnabás Czémán <trabarni@gmail.com> > --- "meh"
There are multiple cases, especially with qcom, where there are some magic "dependencies" without parent-child relationship. The common clock framework doesn't currently have any good way to handle this, other than some mind gymnastics like you had to do here with matching them against a common parent/ancestor..
Stephen, what do you say?
Konrad
| |