mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] phy: rockchip: inno-dsidphy needs COMMON_CLK
@ 2026-12-01 11:40 Alexander Shiyan
  0 siblings, 0 replies; only message in thread
From: Alexander Shiyan @ 2026-12-01 11:40 UTC (permalink / raw)
  To: barebox; +Cc: Alexander Shiyan

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




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-01 11:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 11:40 [PATCH] phy: rockchip: inno-dsidphy needs COMMON_CLK Alexander Shiyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox