[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dedf467f-594a-4039-8baa-f43744463b1a@linaro.org>
Date: Tue, 20 Jan 2026 17:11:45 +0100
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Daniel Baluta <daniel.baluta@...il.com>,
Zhipeng Wang <zhipeng.wang_1@....com>
Cc: tglx@...nel.org, shawnguo@...nel.org, s.hauer@...gutronix.de,
kernel@...gutronix.de, festevam@...il.com, matthias.bgg@...il.com,
angelogioacchino.delregno@...labora.com, linux-kernel@...r.kernel.org,
imx@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, chun-hung.wu@...iatek.com,
walter.chang@...iatek.com, jstultz@...gle.com, amergnat@...libre.com,
aisheng.dong@....com, jindong.yue@....com, xuegang.liu@....com
Subject: Re: [PATCH v2 4/4] clocksource/drivers/imx-tpm: Support building
imx-tpm driver as module
On 1/19/26 11:38, Daniel Baluta wrote:
> On Mon, Jan 19, 2026 at 11:56 AM Zhipeng Wang <zhipeng.wang_1@....com> wrote:
>>
>> From: Jindong Yue <jindong.yue@....com>
>>
>> Change defconfig as tristate type and add platform driver
>> to support building it as a module.
>>
>> Signed-off-by: Jindong Yue <jindong.yue@....com>
>> Signed-off-by: Zhipeng Wang <zhipeng.wang_1@....com>
>
> Reviewed-by: Daniel Baluta <daniel.baluta@....com>
>
> So you can now select the driver Y/M/n even if no COMPILE_TEST present.
>
> I wonder why we needed the `if COMPILE_TEST` in the first place. But anyhow,
> this change looks good.
The logic is to keep the timer option silent and let the platform's
Kconfig to select the timer driver when enabling the platform.
Then we wanted to be able to compile-test those drivers even if the
platform is not selected.
Now we want to choose between module or compiled-in.
I'm not sure if we really want to manually select the timer driver or
switch to module.
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Powered by blists - more mailing lists