Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
mfd: intel-ehl-gpio: Introduce MFD framework to PSE GPIO/TGPIO
In Elkhart Lake, the PSE GPIO and TGPIO shares the PCI device, albeit being accessed at different MMIO BAR offset. Thus, to properly register device drivers and enable support of both functionalities, we choose Linux MFD framework. 1) intel-ehl-gpio - probe base on the PCI device, and split the resources accordingly. 2) gpio-ehl-pse-plat - platform driver which will register support of PSE GPIO (30 pins max per device) 3) ptp-intel-tgpio-plat - platform driver which will register support of PSE TGPIO (20 pins max per device) Note: BIOS configuration is required to properly assign the pin-mux. Note: PSE TGPIO driver is based on Balbi Felipe's original driver. Note: PSE GPIO driver is based on Pandith N's original driver. Signed-off-by: N Pandith <pandith.n@intel.com> Signed-off-by: Raymond Tan <raymond.tan@intel.com>
- Loading branch information