On 11/24/26 6:54 AM, Abel Vesa wrote:
> On 26-11-24 01:21:34, Taniya Das wrote:
>> The PDM (Pulse Density Modulation) hardware block on Qualcomm SoCs >> contains a GP_MN clock divider that produces a fractional output >> frequency from a fixed input clock (typically TCXO4):
[...]
>> + /* Set default rate if not already configured */ >> + if (!clk_get_rate(clk)) { >> + ret = clk_set_rate(clk, 19200000); >> + if (ret) >> + dev_warn(dev, "failed to set default pdm clock rate\n"); >> + }
> > Why are we setting the parent clock rate from here ? > > And then we just don't do anything with it. > > I think this bypasses CCF clock tree and that's not good.
Right, isn't this just CLK_SET_RATE_PARENT? Konrad