mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Alexander Shiyan <eagle.alexander923@gmail.com>
To: barebox@lists.infradead.org
Cc: Alexander Shiyan <eagle.alexander923@gmail.com>
Subject: [PATCH] phy: rockchip: inno-dsidphy needs COMMON_CLK
Date: Tue,  1 Dec 2026 14:40:19 +0300	[thread overview]
Message-ID: <20261201114019.983860-1-eagle.alexander923@gmail.com> (raw)

The driver embeds struct clk_hw in its private data and pulls in the clock
provider API through <linux/clk-provider.h>:

  drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c:218:31: error:
  field 'hw' has incomplete type

The header only declares struct clk_hw under CONFIG_COMMON_CLK, which the
Kconfig entry does not select. Reproducible with ARCH=x86_64 randconfig +
CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY=y, where COMMON_CLK stays off.

Add the missing dependency, like the sibling PHY_ROCKCHIP_INNO_USB2
already does.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
 drivers/phy/rockchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/rockchip/Kconfig b/drivers/phy/rockchip/Kconfig
index 1d9f02b434..970ab3e0fc 100644
--- a/drivers/phy/rockchip/Kconfig
+++ b/drivers/phy/rockchip/Kconfig
@@ -3,6 +3,7 @@
 config PHY_ROCKCHIP_INNO_DSIDPHY
 	tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver"
 	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
+	depends on COMMON_CLK
 	select GENERIC_PHY_MIPI_DPHY
 	help
 	  Enable this to support the Rockchip MIPI/LVDS/TTL PHY with
-- 
2.54.0




                 reply	other threads:[~2026-12-01 11:41 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=20261201114019.983860-1-eagle.alexander923@gmail.com \
    --to=eagle.alexander923@gmail.com \
    --cc=barebox@lists.infradead.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