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)
commit7064d7d88b83b6394ee833e805fd041c615acb13
tree39a78ed589f44e8348d86d178d738cc6b7eee79f
parent559793198f9280cdd56c438f5258e315ed8a6cbc
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