[PATCH v3 08/32] clk: at91: clk-master: use clk_parent_data
Claudiu Beznea
claudiu.beznea at tuxon.dev
Tue Sep 16 23:49:55 PDT 2025
On 9/16/25 20:35, Ryan Wanner wrote:
>>> td_slck_hw = __clk_get_hw(of_clk_get_by_name(np, "td_slck"));
>>> - md_slck_hw = __clk_get_hw(of_clk_get_by_name(np, "md_slck"));
>>> + md_slck_hw = __clk_get_hw(of_clk_get_by_name(np, md_slck_name));
>> Please use:
>>
>> i = of_property_match_string(np, "clock-names", "md_slck");
>> if (i < 0)
>> return;
>>
>> md_slck_name = of_clk_get_parent_name(np, i);
>>
>> Same sama7d65, sama7g5.
> For these SoCs the clk_hw struct is still needed since it is used later
> in the driver and not changed until a subsquent patch later in this
> series. Would it be better to hold this change untill then?
OK for me!
Thank you,
Claudiu
More information about the linux-arm-kernel
mailing list