Re: [PATCH v4 2/2] phy: qcom-mipi-csi2: Add a CSI2 MIPI DPHY driver

From: kernel test robot

Date: Sun Mar 22 2026 - 19:34:00 EST


Hi Bryan,

kernel test robot noticed the following build errors:

[auto build test ERROR on c824345288d11e269ce41b36c105715bc2286050]

url: https://github.com/intel-lab-lkp/linux/commits/Bryan-O-Donoghue/dt-bindings-phy-qcom-Add-CSI2-C-PHY-DPHY-schema/20260316-081353
base: c824345288d11e269ce41b36c105715bc2286050
patch link: https://lore.kernel.org/r/20260315-x1e-csi2-phy-v4-2-90c09203888d%40linaro.org
patch subject: [PATCH v4 2/2] phy: qcom-mipi-csi2: Add a CSI2 MIPI DPHY driver
config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20260323/202603230713.5uOUC5EI-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260323/202603230713.5uOUC5EI-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603230713.5uOUC5EI-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/phy/qualcomm/phy-qcom-mipi-csi2-3ph-dphy.c:360:13: error: initializer element is not a compile-time constant
.opp_clk = x1e_clks[2],
^~~~~~~~~~~
1 error generated.


vim +360 drivers/phy/qualcomm/phy-qcom-mipi-csi2-3ph-dphy.c

347
348 const struct mipi_csi2phy_soc_cfg mipi_csi2_dphy_4nm_x1e = {
349 .ops = &phy_qcom_mipi_csi2_ops_3ph_1_0,
350 .reg_info = {
351 .init_seq = lane_regs_x1e80100,
352 .lane_array_size = ARRAY_SIZE(lane_regs_x1e80100),
353 .common_regs_offset = 0x1000,
354 .generation = GEN2,
355 },
356 .supply_names = (const char **)x1e_supplies,
357 .num_supplies = ARRAY_SIZE(x1e_supplies),
358 .clk_names = (const char **)x1e_clks,
359 .num_clk = ARRAY_SIZE(x1e_clks),
> 360 .opp_clk = x1e_clks[2],

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki