Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'pinctrl-v6.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl

Pull pin control fixes from Linus Walleij:

- Module macro parameter fix for the meson driver so that it actually
modprobes

- ACPI quirk for the ASUS ProArt PX13

- Build dependency for the STMFX driver

- Proper return value for the pinconf callbacks in the Airhoa driver

* tag 'pinctrl-v6.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
pinctrl: airoha: Fix return value in pinconf callbacks
pinctrl: STMFX: add missing HAS_IOMEM dependency
gpiolib: acpi: Add quirk for ASUS ProArt PX13
pinctrl: meson: Fix typo in device table macro

+20 -5
+14
drivers/gpio/gpiolib-acpi-quirks.c
··· 344 344 .ignore_interrupt = "AMDI0030:00@8", 345 345 }, 346 346 }, 347 + { 348 + /* 349 + * Spurious wakeups from TP_ATTN# pin 350 + * Found in BIOS 5.35 351 + * https://gitlab.freedesktop.org/drm/amd/-/issues/4482 352 + */ 353 + .matches = { 354 + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), 355 + DMI_MATCH(DMI_PRODUCT_FAMILY, "ProArt PX13"), 356 + }, 357 + .driver_data = &(struct acpi_gpiolib_dmi_quirk) { 358 + .ignore_wake = "ASCP1A00:00@8", 359 + }, 360 + }, 347 361 {} /* Terminating entry */ 348 362 }; 349 363
+1
drivers/pinctrl/Kconfig
··· 539 539 tristate "STMicroelectronics STMFX GPIO expander pinctrl driver" 540 540 depends on I2C 541 541 depends on OF_GPIO 542 + depends on HAS_IOMEM 542 543 select GENERIC_PINCONF 543 544 select GPIOLIB_IRQCHIP 544 545 select MFD_STMFX
+4 -4
drivers/pinctrl/mediatek/pinctrl-airoha.c
··· 2696 2696 arg = 1; 2697 2697 break; 2698 2698 default: 2699 - return -EOPNOTSUPP; 2699 + return -ENOTSUPP; 2700 2700 } 2701 2701 2702 2702 *config = pinconf_to_config_packed(param, arg); ··· 2788 2788 break; 2789 2789 } 2790 2790 default: 2791 - return -EOPNOTSUPP; 2791 + return -ENOTSUPP; 2792 2792 } 2793 2793 } 2794 2794 ··· 2805 2805 if (airoha_pinconf_get(pctrl_dev, 2806 2806 airoha_pinctrl_groups[group].pins[i], 2807 2807 config)) 2808 - return -EOPNOTSUPP; 2808 + return -ENOTSUPP; 2809 2809 2810 2810 if (i && cur_config != *config) 2811 - return -EOPNOTSUPP; 2811 + return -ENOTSUPP; 2812 2812 2813 2813 cur_config = *config; 2814 2814 }
+1 -1
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
··· 1093 1093 { .compatible = "amlogic,pinctrl-s6", .data = &s6_priv_data, }, 1094 1094 { /* sentinel */ } 1095 1095 }; 1096 - MODULE_DEVICE_TABLE(of, aml_pctl_dt_match); 1096 + MODULE_DEVICE_TABLE(of, aml_pctl_of_match); 1097 1097 1098 1098 static struct platform_driver aml_pctl_driver = { 1099 1099 .driver = {