[RFC PATCH 1/1] phy: mediatek: phy-mtk-hdmi: Use regmap to manipulate hdmi registers

Manivannan Sadhasivam mani at kernel.org
Sat Oct 31 05:17:39 PDT 2026


On 2026-10-11 10:20 +0200, Luca Leonardo Scorcia wrote:
> Use the regmap primitives to manipulate HDMI registers instead of custom
> helpers from phy-mtk-io.h. No functional changes.
> 
> This avoids the following issue with mt8167:
> 
> hdmi-phy: error -EBUSY: can't request region for resource
> [mem 0x10018300-0x1001831f]
> 
> due to the fact that HDMI PHY registers are actually mapped inside the
> apmixedsys memory space.
> 
> The same situation is present on mt8173 too but this SoC does not exhibit
> the issue as its apmixedsys driver uses of_iomap instead of
> devm_platform_ioremap_resource to map its memory space, just like regmap
> does.
> 
> Signed-off-by: Luca Leonardo Scorcia <l.scorcia at gmail.com>

Why RFC?

Anyhow, please fix the build errors reported.

- Mani





More information about the Linux-mediatek mailing list