Re: [PATCH v4 5/7] clk: Use the generic OF phandle parsing in only one place
Miquel Raynal <[email protected]> Fri, 07 Aug 2026 15:08:45 +0200
| Newsgroups | org.kernel.vger.linux-clk,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest |
|---|---|
| Message-ID | <[email protected]> |
On 24/07/2026 at 14:35:39 -04, Frank Li <[email protected]> wrote: > On Fri, Jul 17, 2026 at 05:59:21PM +0200, Miquel Raynal (Schneider Electric) wrote: >> There should be one single entry in the OF world, so that the way we >> parse the DT is always the same. make sure this is the case by avoid >> calling of_parse_phandle_with_args() from of_clk_get_parent_name(). This >> is even more relevant as we currently fail to parse clock-ranges. As a >> result, it seems to be safer to directly call of_parse_clkspec() there, >> but doing so implies that we do not try the "clock-ranges" path if we >> already found a "clocks" property.. > > Sorry, I can't understand well what commit said. I tried to reorder the commit sentences, hopefully it will make the text easier to read. Thanks, Miquèl