On Wed, Oct 21, 2026 at 04:37:12PM +0800, lianfeng.ouyang wrote: > From: Lianfeng Ouyang > > Rework the StarFive TRNG driver to address hardware-specific requirements > for JHB100 SoC. To avoid reset-domain crossing glitches, the driver now > ensures clocks are gated before asserting reset during teardown for > JHB100, while JH7110 retains the original reset-first sequence. > > Add per-compatible match data (struct starfive_trng_data) describing the > clock/reset teardown order, a new "starfive,jhb100-trng" compatible, and > select the ordering from it. > > Fix the runtime-PM get/put balancing across the init/read/reseed/cleanup > paths, manage PM and the clk/reset teardown via devm so all error paths > unwind correctly, run the SEU-triggered reseed from a workqueue instead > of hard IRQ, and serialise the command sequences with a mutex. This sounds like three commits, with at least the third getting a Fixes: line. > +#include > #include > #include > -#include > +#include > +#include > +#include > #include > +#include > #include > #include > #include > #include > -#include > +#include > +#include > +#include > +#include Please don't add . already provides of_device_id, so just dropping should work fine. > #include > -#include > +#include > #include > #include > -#include > +#include > #include > +#include > +#include All that header rearrangement is worth pointing out in the commit log. Best regards Uwe