[EXT] Re: [PATCH v4 3/4] clocksource/drivers/timer-mediatek: Convert timer-mediatek to a loadable module

Zhipeng Wang zhipeng.wang_1 at nxp.com
Tue Mar 10 01:41:59 PDT 2026


> 
> 
> Hi Zhipeng,
> 
> On 3/9/26 06:31, Zhipeng Wang wrote:
> > Hello Daniel,
> >
> > I'd be very happy to collaborate on this!
> 
> Great, let me see if I can cook a patch in the next days
> 
> > My availability: I can dedicate time to work on this over the next few weeks.
> I'm happy to help with:
> >     - Testing the new macros with IMX timer drivers
> >     - Converting existing drivers as examples
> >     - Reviewing and testing patches
> >     - Documentation
> 
> That's awesome, thanks
> 
> > My understanding is that, based on your RFC, we should use two macros —
> TIMER_OF_DECLARE_PDEV and TIMER_OF_DECLARE_PLATFORM_DRIVER.
> 
> Yes, but also sort out the existing TIMER_OF_DECLARE macro vs MODULE in
> order to prevent #ifdef MODULE in the drivers
> 
Hi Daniel,

Yes, that's our goal.

I'll test the new macros (TIMER_OF_DECLARE_PLATFORM_DRIVER and 
TIMER_OF_DECLARE_EARLY_PLATFORM_DRIVER) with the IMX timer drivers 
once the patches are available.

Best regards,
Zhipeng

> A side note, as Trilok commented:
> 
>   - you should not do top post. Keep inline comments with the previous emails
> so we can have the context.
> 
>   - trim the emails when possible. IOW remove text not related with the
> discussion
> 
>   - use text mode with the mailer, not html or whatever
> 
>   - for more information refer to Documentation/process/email-clients.rst
> 
> Thanks for your help
> 
>    -- Daniel
> 
> 



More information about the Linux-mediatek mailing list