From: Pengpeng Hou <hppiscas@163.com>
To: vkoul@kernel.org
Cc: Pengpeng Hou <hppiscas@163.com>,
neil.armstrong@linaro.org, mani@kernel.org, heiko@sntech.de,
linux-phy@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
Michael Riesch <michael.riesch@collabora.com>,
stable@vger.kernel.org
Subject: [PATCH v2] phy: rockchip: samsung-dcphy: select REGMAP_MMIO
Date: Thu, 3 Dec 2026 11:29:11 +0800 [thread overview]
Message-ID: <20261203032911.55819-1-hppiscas@163.com> (raw)
The DCPHY driver calls devm_regmap_init_mmio() but its Kconfig entry
does not select the MMIO regmap backend. Select REGMAP_MMIO so that the
backend is available whenever the driver is enabled.
The issue was found by our static-analysis tool and manually reviewed.
Fixes: b2a1a2ae7818 ("phy: rockchip: Add Samsung MIPI D-/C-PHY driver")
Cc: stable@vger.kernel.org
Reviewed-by: Michael Riesch <michael.riesch@collabora.com>
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
---
Changes since v1:
Add the stable Cc and Michael's Reviewed-by.
Previous version: https://lore.kernel.org/r/20261130131402.81012-1-hppiscas@163.com
Codex assisted with patch preparation and the changelog.
Current review: Codex (Assisted-by: gpt 5).
Static review only; this revision was not built.
drivers/phy/rockchip/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/phy/rockchip/Kconfig b/drivers/phy/rockchip/Kconfig
index 39759bb2fa1d10ca275fa9e449199f0a43d3e82f..0b9be5a2b81529ab218f9a229976c5cddf240202 100644
--- a/drivers/phy/rockchip/Kconfig
+++ b/drivers/phy/rockchip/Kconfig
@@ -88,6 +88,7 @@ config PHY_ROCKCHIP_SAMSUNG_DCPHY
depends on (ARCH_ROCKCHIP || COMPILE_TEST)
select GENERIC_PHY
select GENERIC_PHY_MIPI_DPHY
+ select REGMAP_MMIO
help
Enable this to support the Rockchip MIPI DCPHY with
Samsung IP block.
base-commit: 693c2e04e3f1d4c59af236e1211b7b8cb165a790
reply other threads:[~2026-12-03 3:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261203032911.55819-1-hppiscas@163.com \
--to=hppiscas@163.com \
--cc=heiko@sntech.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mani@kernel.org \
--cc=michael.riesch@collabora.com \
--cc=neil.armstrong@linaro.org \
--cc=stable@vger.kernel.org \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®