tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel head: caaeb8c551123e26e86270c8dec99a78f1f6fe0f commit: 916cc2b734cbdfdd4c58887be51a8a8a398e18d7 [17/25] pinctrl: realtek: Add pinctrl driver for RTD1319D config: arm-randconfig-001-20230926 (https://download.01.org/0day-ci/archive/20230927/202309270448.7Aen3Sgx-lkp@xxxxxxxxx/config) compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230927/202309270448.7Aen3Sgx-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/202309270448.7Aen3Sgx-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> drivers/pinctrl/realtek/pinctrl-rtd1319d.c:237:35: warning: 'rtd1319d_testmode_pins' defined but not used [-Wunused-const-variable=] 237 | static const unsigned int rtd1319d_## _name ##_pins[] = { _pin } | ^~~~~~~~~ drivers/pinctrl/realtek/pinctrl-rtd1319d.c:344:1: note: in expansion of macro 'DECLARE_RTD1319D_PIN' 344 | DECLARE_RTD1319D_PIN(RTD1319D_ISO_TESTMODE, testmode); | ^~~~~~~~~~~~~~~~~~~~ >> drivers/pinctrl/realtek/pinctrl-rtd1319d.c:237:35: warning: 'rtd1319d_reset_n_pins' defined but not used [-Wunused-const-variable=] 237 | static const unsigned int rtd1319d_## _name ##_pins[] = { _pin } | ^~~~~~~~~ drivers/pinctrl/realtek/pinctrl-rtd1319d.c:343:1: note: in expansion of macro 'DECLARE_RTD1319D_PIN' 343 | DECLARE_RTD1319D_PIN(RTD1319D_ISO_RESET_N, reset_n); | ^~~~~~~~~~~~~~~~~~~~ >> drivers/pinctrl/realtek/pinctrl-rtd1319d.c:237:35: warning: 'rtd1319d_boot_sel_pins' defined but not used [-Wunused-const-variable=] 237 | static const unsigned int rtd1319d_## _name ##_pins[] = { _pin } | ^~~~~~~~~ drivers/pinctrl/realtek/pinctrl-rtd1319d.c:342:1: note: in expansion of macro 'DECLARE_RTD1319D_PIN' 342 | DECLARE_RTD1319D_PIN(RTD1319D_ISO_BOOT_SEL, boot_sel); | ^~~~~~~~~~~~~~~~~~~~ >> drivers/pinctrl/realtek/pinctrl-rtd1319d.c:237:35: warning: 'rtd1319d_wd_rset_pins' defined but not used [-Wunused-const-variable=] 237 | static const unsigned int rtd1319d_## _name ##_pins[] = { _pin } | ^~~~~~~~~ drivers/pinctrl/realtek/pinctrl-rtd1319d.c:341:1: note: in expansion of macro 'DECLARE_RTD1319D_PIN' 341 | DECLARE_RTD1319D_PIN(RTD1319D_ISO_WD_RSET, wd_rset); | ^~~~~~~~~~~~~~~~~~~~ >> drivers/pinctrl/realtek/pinctrl-rtd1319d.c:237:35: warning: 'rtd1319d_scan_switch_pins' defined but not used [-Wunused-const-variable=] 237 | static const unsigned int rtd1319d_## _name ##_pins[] = { _pin } | ^~~~~~~~~ drivers/pinctrl/realtek/pinctrl-rtd1319d.c:340:1: note: in expansion of macro 'DECLARE_RTD1319D_PIN' 340 | DECLARE_RTD1319D_PIN(RTD1319D_ISO_SCAN_SWITCH, scan_switch); | ^~~~~~~~~~~~~~~~~~~~ vim +/rtd1319d_testmode_pins +237 drivers/pinctrl/realtek/pinctrl-rtd1319d.c 235 236 #define DECLARE_RTD1319D_PIN(_pin, _name) \ > 237 static const unsigned int rtd1319d_## _name ##_pins[] = { _pin } 238 239 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_0, gpio_0); 240 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_1, gpio_1); 241 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_2, gpio_2); 242 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_3, gpio_3); 243 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_4, gpio_4); 244 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_5, gpio_5); 245 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_6, gpio_6); 246 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_7, gpio_7); 247 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_8, gpio_8); 248 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_9, gpio_9); 249 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_10, gpio_10); 250 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_11, gpio_11); 251 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_12, gpio_12); 252 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_13, gpio_13); 253 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_14, gpio_14); 254 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_15, gpio_15); 255 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_16, gpio_16); 256 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_17, gpio_17); 257 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_18, gpio_18); 258 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_19, gpio_19); 259 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_20, gpio_20); 260 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_21, gpio_21); 261 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_22, gpio_22); 262 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_23, gpio_23); 263 DECLARE_RTD1319D_PIN(RTD1319D_ISO_USB_CC2, usb_cc2); 264 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_25, gpio_25); 265 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_26, gpio_26); 266 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_27, gpio_27); 267 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_28, gpio_28); 268 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_29, gpio_29); 269 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_30, gpio_30); 270 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_31, gpio_31); 271 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_32, gpio_32); 272 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_33, gpio_33); 273 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_34, gpio_34); 274 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_35, gpio_35); 275 DECLARE_RTD1319D_PIN(RTD1319D_ISO_HIF_DATA, hif_data); 276 DECLARE_RTD1319D_PIN(RTD1319D_ISO_HIF_EN, hif_en); 277 DECLARE_RTD1319D_PIN(RTD1319D_ISO_HIF_RDY, hif_rdy); 278 DECLARE_RTD1319D_PIN(RTD1319D_ISO_HIF_CLK, hif_clk); 279 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_40, gpio_40); 280 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_41, gpio_41); 281 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_42, gpio_42); 282 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_43, gpio_43); 283 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_44, gpio_44); 284 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_45, gpio_45); 285 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_46, gpio_46); 286 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_47, gpio_47); 287 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_48, gpio_48); 288 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_49, gpio_49); 289 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_50, gpio_50); 290 DECLARE_RTD1319D_PIN(RTD1319D_ISO_USB_CC1, usb_cc1); 291 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_52, gpio_52); 292 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_53, gpio_53); 293 DECLARE_RTD1319D_PIN(RTD1319D_ISO_IR_RX, ir_rx); 294 DECLARE_RTD1319D_PIN(RTD1319D_ISO_UR0_RX, ur0_rx); 295 DECLARE_RTD1319D_PIN(RTD1319D_ISO_UR0_TX, ur0_tx); 296 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_57, gpio_57); 297 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_58, gpio_58); 298 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_59, gpio_59); 299 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_60, gpio_60); 300 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_61, gpio_61); 301 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_62, gpio_62); 302 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_63, gpio_63); 303 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_64, gpio_64); 304 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EMMC_RST_N, emmc_rst_n); 305 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EMMC_DD_SB, emmc_dd_sb); 306 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EMMC_CLK, emmc_clk); 307 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EMMC_CMD, emmc_cmd); 308 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EMMC_DATA_0, emmc_data_0); 309 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EMMC_DATA_1, emmc_data_1); 310 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EMMC_DATA_2, emmc_data_2); 311 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EMMC_DATA_3, emmc_data_3); 312 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EMMC_DATA_4, emmc_data_4); 313 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EMMC_DATA_5, emmc_data_5); 314 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EMMC_DATA_6, emmc_data_6); 315 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EMMC_DATA_7, emmc_data_7); 316 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_78, gpio_78); 317 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_79, gpio_79); 318 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_80, gpio_80); 319 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GPIO_81, gpio_81); 320 DECLARE_RTD1319D_PIN(RTD1319D_ISO_UR2_LOC, ur2_loc); 321 DECLARE_RTD1319D_PIN(RTD1319D_ISO_GSPI_LOC, gspi_loc); 322 DECLARE_RTD1319D_PIN(RTD1319D_ISO_HI_WIDTH, hi_width); 323 DECLARE_RTD1319D_PIN(RTD1319D_ISO_SF_EN, sf_en); 324 DECLARE_RTD1319D_PIN(RTD1319D_ISO_ARM_TRACE_DBG_EN, arm_trace_dbg_en); 325 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EJTAG_AUCPU_LOC, ejtag_aucpu_loc); 326 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EJTAG_ACPU_LOC, ejtag_acpu_loc); 327 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EJTAG_VCPU_LOC, ejtag_vcpu_loc); 328 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EJTAG_SCPU_LOC, ejtag_scpu_loc); 329 DECLARE_RTD1319D_PIN(RTD1319D_ISO_DMIC_LOC, dmic_loc); 330 DECLARE_RTD1319D_PIN(RTD1319D_ISO_EJTAG_SECPU_LOC, ejtag_secpu_loc); 331 DECLARE_RTD1319D_PIN(RTD1319D_ISO_VTC_DMIC_LOC, vtc_dmic_loc); 332 DECLARE_RTD1319D_PIN(RTD1319D_ISO_VTC_TDM_LOC, vtc_tdm_loc); 333 DECLARE_RTD1319D_PIN(RTD1319D_ISO_VTC_I2SI_LOC, vtc_i2si_loc); 334 DECLARE_RTD1319D_PIN(RTD1319D_ISO_TDM_AI_LOC, tdm_ai_loc); 335 DECLARE_RTD1319D_PIN(RTD1319D_ISO_AI_LOC, ai_loc); 336 DECLARE_RTD1319D_PIN(RTD1319D_ISO_SPDIF_LOC, spdif_loc); 337 DECLARE_RTD1319D_PIN(RTD1319D_ISO_HIF_EN_LOC, hif_en_loc); 338 DECLARE_RTD1319D_PIN(RTD1319D_ISO_SC0_LOC, sc0_loc); 339 DECLARE_RTD1319D_PIN(RTD1319D_ISO_SC1_LOC, sc1_loc); 340 DECLARE_RTD1319D_PIN(RTD1319D_ISO_SCAN_SWITCH, scan_switch); 341 DECLARE_RTD1319D_PIN(RTD1319D_ISO_WD_RSET, wd_rset); > 342 DECLARE_RTD1319D_PIN(RTD1319D_ISO_BOOT_SEL, boot_sel); > 343 DECLARE_RTD1319D_PIN(RTD1319D_ISO_RESET_N, reset_n); > 344 DECLARE_RTD1319D_PIN(RTD1319D_ISO_TESTMODE, testmode); 345 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki