This is a proposal for adding ACPI support to pin controller. The patch supports following resources introduced in ACPI from v6.2 - PinFunction - PinConfig - PinGroupFunction - PinGroupConfig - PinGroup The patch has been tested on NXP I.MX8MP Plus platform with ACPI. Niyas Sait (3): pinctrl: add support for acpi PinGroup resource pinconf-generic: add pull up and pull down config with resistance pinctrl: add support for acpi pin function and config resources drivers/pinctrl/Makefile | 1 + drivers/pinctrl/core.c | 19 +- drivers/pinctrl/core.h | 3 + drivers/pinctrl/pinctrl-acpi.c | 450 ++++++++++++++++++++++++ drivers/pinctrl/pinctrl-acpi.h | 50 +++ include/linux/pinctrl/pinconf-generic.h | 6 + include/linux/pinctrl/pinctrl.h | 15 + 7 files changed, 540 insertions(+), 4 deletions(-) create mode 100644 drivers/pinctrl/pinctrl-acpi.c create mode 100644 drivers/pinctrl/pinctrl-acpi.h -- 2.25.1