Re: [PATCH] thermal: armada: select REGMAP_MMIO

From: Miquel Raynal

Date: Wed Dec 02 2026 - 07:14:25 EST


On 30/11/2026 at 21:01:42 +08, Pengpeng Hou <hppiscas@xxxxxxx> wrote:

> armada_thermal.c initializes an MMIO regmap using
> devm_regmap_init_mmio(), but ARMADA_THERMAL does not select
> REGMAP_MMIO. The driver can therefore be enabled without the
> required register-transport implementation and fail to build.
>
> Select REGMAP_MMIO so the backend is enabled at the linkage level
> required by this consumer, rather than relying on another driver to
> pull it in.
>
> The issue was found by our static-analysis tool and manually reviewed.
>
> Fixes: 3d4e51844a4e ("thermal: armada: convert driver to syscon register accesses")
> Signed-off-by: Pengpeng Hou <hppiscas@xxxxxxx>

Reviewed-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>