From: Michael Riesch <michael.riesch@collabora.com>
To: Arnd Bergmann <arnd@kernel.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Mehdi Djait <mehdi.djait@linux.intel.com>,
Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
Hans Verkuil <hverkuil+cisco@kernel.org>,
Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] media: synopsys: fix link failure against GENERIC_PHY_MIPI_DPHY
Date: Fri, 6 Mar 2026 15:57:54 +0100 [thread overview]
Message-ID: <0c99cfc9-a101-490b-a1db-45a9691b61b8@collabora.com> (raw)
In-Reply-To: <20260306144507.3449000-1-arnd@kernel.org>
Hi Arnd,
On 3/6/26 15:45, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The newly added driver uses the generic mipi dphy driver but is missing
> a Kconfig dependency:
>
> ld.lld-22: error: undefined symbol: phy_mipi_dphy_get_default_config_for_hsclk
>>>> referenced by dw-mipi-csi2rx.c:240 (/home/arnd/arm-soc/drivers/media/platform/synopsys/dw-mipi-csi2rx.c:240)
>>>> drivers/media/platform/synopsys/dw-mipi-csi2rx.o:(dw_mipi_csi2rx_enable_streams) in archive vmlinux.a
>
> This is in a library module that needs to be selected by each user, so
> add the missing 'select' here.
>
> Fixes: 355a11004066 ("media: synopsys: add driver for the designware mipi csi-2 receiver")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Thanks for the patch, but this issue has been addressed here [0] and I
think Sakari has applied this series already.
Best regards,
Michael
> ---
> drivers/media/platform/synopsys/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/media/platform/synopsys/Kconfig b/drivers/media/platform/synopsys/Kconfig
> index e798ec00b189..bf2ac092fbb3 100644
> --- a/drivers/media/platform/synopsys/Kconfig
> +++ b/drivers/media/platform/synopsys/Kconfig
> @@ -7,6 +7,7 @@ config VIDEO_DW_MIPI_CSI2RX
> depends on VIDEO_DEV
> depends on V4L_PLATFORM_DRIVERS
> depends on PM && COMMON_CLK
> + select GENERIC_PHY_MIPI_DPHY
> select MEDIA_CONTROLLER
> select V4L2_FWNODE
> select VIDEO_V4L2_SUBDEV_API
[0]
https://lore.kernel.org/all/20260216-snps-csi2rx-v1-0-747bc7408f87@collabora.com/
prev parent reply other threads:[~2026-03-06 14:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-06 14:45 Arnd Bergmann
2026-03-06 14:57 ` Michael Riesch [this message]
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=0c99cfc9-a101-490b-a1db-45a9691b61b8@collabora.com \
--to=michael.riesch@collabora.com \
--cc=arnd@arndb.de \
--cc=arnd@kernel.org \
--cc=bryan.odonoghue@linaro.org \
--cc=hverkuil+cisco@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=mehdi.djait@linux.intel.com \
--cc=sakari.ailus@linux.intel.com \
/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®