[PATCH v3 4/5] clk: Add KUnit tests for assigned-clock-sscs

Peng Fan peng.fan at oss.nxp.com
Sun Sep 14 20:47:13 PDT 2025


Hi Brian,

On Fri, Sep 12, 2025 at 10:50:39AM -0400, Brian Masney wrote:
>On Fri, Sep 12, 2025 at 11:35:53AM +0800, Peng Fan wrote:
>> ---
>
>There's no need to add a Co-developed-by for me. I just gave you a very
>rough starting point.

I honor your support, otherwise it would take me more time on write
the kunit test.

>
>> diff --git a/drivers/clk/kunit_clk_assigned_rates_zero_consumer.dtso b/drivers/clk/kunit_clk_assigned_rates_zero_consumer.dtso
>> index 1d964672e8553a90263af400367a2d947f755015..d62c7522c92461245d45f8ac0ebd26fa2850be98 100644
>> --- a/drivers/clk/kunit_clk_assigned_rates_zero_consumer.dtso
>> +++ b/drivers/clk/kunit_clk_assigned_rates_zero_consumer.dtso
>> @@ -12,5 +12,6 @@ kunit-clock-consumer {
>>  		compatible = "test,clk-consumer";
>>  		assigned-clocks = <&clk>;
>>  		assigned-clock-rates = <0>;
>> +		assigned-clock-sscs = <0 0 0>;
>>  	};
>>  };
>
>kunit_clk_assigned_rates_zero_consumer.dtso is modified, however
>kunit_clk_assigned_rates_zero.dtso was not. The underlying test doesn't
>check for this, so you can drop the change to this dtso file.

Right. I will drop this change.

Thanks,
Peng



More information about the linux-arm-kernel mailing list