On Mon, Sep 15, 2025 at 04:29:38PM +0800, Peng Fan wrote:
Spread spectrum configuration is part of clock frequency settings,
and its behavior can be validated similarly to assigned clock rates.
Extend the existing KUnit tests for assigned-clock-rates to cover
assigned-clock-sscs by reusing the test framework. Add new test
device trees:
- kunit_clk_assigned_sscs_null.dtso
- kunit_clk_assigned_sscs_null_consumer.dtso
- kunit_clk_assigned_sscs_without.dtso
- kunit_clk_assigned_sscs_without_consumer.dtso
- kunit_clk_assigned_sscs_zero.dtso
- kunit_clk_assigned_sscs_zero_consumer.dtso
These tests cover various invalid configurations of assigned-clock-sscs,
ensuring robustness and consistent error handling, similar to the coverage
provided for assigned-clock-rates.
Co-developed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
This looks good to me. I'd typically leave a Reviewed-by, but that's
probably not appropriate since I'm already listed with a
Co-developed-by.
Brian