[PATCH v2 1/3] clk: Introduce clk_hw_set_spread_spectrum

Peng Fan peng.fan at oss.nxp.com
Sun Sep 7 06:04:09 PDT 2025


On Tue, Sep 02, 2025 at 06:01:12PM -0400, Brian Masney wrote:
>>   *
>> + * @set_spread_spectrum: Configure the modulation frequency, modulation percentage
>> + *		and method. This callback is optional for clocks that does not
>> + *		support spread spectrum feature or no need to enable this feature.
>> + *		Returns 0 on success, -EERROR otherwise.
>
>I think it would be worthwhile to call out in the kdocs that this helps
>to reduce EMI. How does this sound?
>
>@set_spread_spectrum: Optional callback used to configure the spread
>		spectrum modulation frequency, percentage, and method
>		to reduce EMI by spreading the clock frequency over a
>		wider range.
>		Returns 0 on success, -EERROR otherwise.

This is better. I will update in v3.

Thanks,
Peng

>
>Everything else looks good to me.
>
>Brian
>



More information about the linux-arm-kernel mailing list