]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: lpc_ich: Add support for pinctrl in non-ACPI system
authorTan Jui Nee <jui.nee.tan@intel.com>
Mon, 6 Jun 2022 16:41:31 +0000 (19:41 +0300)
committerLee Jones <lee@kernel.org>
Thu, 14 Jul 2022 09:50:31 +0000 (10:50 +0100)
commitbe832bb41565b55c782af5173081fdd22e5acb6f
tree39a78ed589f44e8348d86d178d738cc6b7eee79f
parentce2bac1219dce8b2156852b5f85471f41f881137
mfd: lpc_ich: Add support for pinctrl in non-ACPI system

Add support for non-ACPI systems, such as system that uses
Advanced Boot Loader (ABL) whereby a platform device has to be created
in order to bind with pin control and GPIO.

At the moment, Intel Apollo Lake In-Vehicle Infotainment (IVI) system
requires a driver to hide and unhide P2SB to lookup P2SB BAR and pass
the PCI BAR address to GPIO.

Signed-off-by: Tan Jui Nee <jui.nee.tan@intel.com>
Co-developed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Henning Schild <henning.schild@siemens.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/lpc_ich.c