On Tue 06 Aug 2024 at 22:28, Martin Blumenstingl 
<[email protected]> wrote:

> On Tue, Jul 30, 2024 at 2:50 PM Jerome Brunet <[email protected]> wrote:
>>
>> The Amlogic HDMI phy driver is not doing anything with the clocks
>> besides enabling on probe. CCF provides generic helpers to do that.
>>
>> Use the generic clock helpers rather than using a custom one to get and
>> enable clocks.
>>
>> Signed-off-by: Jerome Brunet <[email protected]>
> Reviewed-by: Martin Blumenstingl <[email protected]>
>
> note to self: even if we need to manage one of the clocks specifically
> we can do it with clk_bulk_data

Honestly I've gone for bulk variant only because calling
devm_clk_get_enabled() 3 times in row and do nothing with the clocks
looks odd.

In I had to do something specific with a clock later on, personnaly I
would back to plain 'struct clk' and use devm_clk_get_enabled()

-- 
Jerome

Reply via email to