[PATCH v8 2/2] rtc: Add Raspberry Pi 5 RTC driver
Sander Speetjens
sander.speetjens at gmail.com
Wed Sep 30 12:07:00 PDT 2026
>>>> +MODULE_ALIAS("platform:raspberrypi-rtc");
>>> Is this really necessary for module autoloading?
>> I'm not sure, it was used in the previous versions when using the
>> platform device register on the register_clk driver before it had a
>> custom dt node.
> You can test by removing the line and compile it as a module. In case
> the RTC driver is still automatically loaded, we can drop it.
There is no DT node for the RTC. The firmware driver registers us as a
platform device at runtime (we deliberately avoid a child node per DT
maintainer guidance). Therefore the platform alias is still needed for
module auto-loading.
More information about the linux-arm-kernel
mailing list