Re: [PATCH 3/3] clk: qcom: videocc-sm8750: Add video clock controller driver for SM8750

From: kernel test robot
Date: Sun Dec 08 2024 - 23:14:22 EST


Hi Taniya,

kernel test robot noticed the following build errors:

[auto build test ERROR on af2ea8ab7a546b430726183458da0a173d331272]

url: https://github.com/intel-lab-lkp/linux/commits/Taniya-Das/clk-qcom-branch-Extend-invert-logic-for-branch2-mem-clocks/20241207-015655
base: af2ea8ab7a546b430726183458da0a173d331272
patch link: https://lore.kernel.org/r/20241206-sm8750_videocc-v1-3-5da6e7eea2bd%40quicinc.com
patch subject: [PATCH 3/3] clk: qcom: videocc-sm8750: Add video clock controller driver for SM8750
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20241207/202412071610.5vUMFjRk-lkp@xxxxxxxxx/config)
compiler: s390-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241207/202412071610.5vUMFjRk-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/202412071610.5vUMFjRk-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/clk/qcom/videocc-sm8750.c:56:36: error: 'CLK_ALPHA_PLL_TYPE_TAYCAN_ELU' undeclared here (not in a function); did you mean 'CLK_ALPHA_PLL_TYPE_RIVIAN_EVO'?
56 | .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_TAYCAN_ELU],
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| CLK_ALPHA_PLL_TYPE_RIVIAN_EVO
>> drivers/clk/qcom/videocc-sm8750.c:64:33: error: 'clk_alpha_pll_taycan_elu_ops' undeclared here (not in a function); did you mean 'clk_alpha_pll_rivian_evo_ops'?
64 | .ops = &clk_alpha_pll_taycan_elu_ops,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| clk_alpha_pll_rivian_evo_ops
drivers/clk/qcom/videocc-sm8750.c: In function 'video_cc_sm8750_probe':
>> drivers/clk/qcom/videocc-sm8750.c:426:9: error: implicit declaration of function 'clk_taycan_elu_pll_configure'; did you mean 'clk_rivian_evo_pll_configure'? [-Wimplicit-function-declaration]
426 | clk_taycan_elu_pll_configure(&video_cc_pll0, regmap, &video_cc_pll0_config);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| clk_rivian_evo_pll_configure


vim +56 drivers/clk/qcom/videocc-sm8750.c

51
52 static struct clk_alpha_pll video_cc_pll0 = {
53 .offset = 0x0,
54 .vco_table = taycan_elu_vco,
55 .num_vco = ARRAY_SIZE(taycan_elu_vco),
> 56 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_TAYCAN_ELU],
57 .clkr = {
58 .hw.init = &(const struct clk_init_data) {
59 .name = "video_cc_pll0",
60 .parent_data = &(const struct clk_parent_data) {
61 .index = DT_BI_TCXO,
62 },
63 .num_parents = 1,
> 64 .ops = &clk_alpha_pll_taycan_elu_ops,
65 },
66 },
67 };
68

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