[PATCH v2 0/3] Add Intel Input Output Manager driver
From: Rajmohan Mani
Date: Sat Aug 22 2020 - 00:42:04 EST
Hi,
This patch series add support for Intel Input Output Manager (IOM)
driver, which is leveraged by the Intel PMC USB mux control driver.
changes from v1:
- Included device role (UFP) support patch from Heikki to this series.
- Addressed Greg's comments on v1 with below changes
- Used per-instance variable for struct intel_iom
- Removed struct device *dev inside probe function
- Removed dev_set_drvdata() inside probe function
- Added NULL pointer check on struct intel_iom * as well as members
dev and regbar, inside intel_iom_port_status(), to protect against
calls to this API before driver gets probed.
- Limit support to only one IOM device
- Removed intel_iom_get()/intel_iom_put() calls, as the dependency through
Kconfig is enough to prevent the IOM driver from unloading, when used
by callers.
Heikki Krogerus (2):
usb: typec: intel_pmc_mux: Check the port status before connect
usb: typec: intel_pmc_mux: Support for device role (UFP)
Rajmohan Mani (1):
platform/x86: Add Intel Input Output Manager (IOM) driver
drivers/platform/x86/Kconfig | 16 +++
drivers/platform/x86/Makefile | 1 +
drivers/platform/x86/intel_iom.c | 95 +++++++++++++++
drivers/usb/typec/mux/Kconfig | 1 +
drivers/usb/typec/mux/intel_pmc_mux.c | 124 ++++++++++++++------
include/linux/platform_data/x86/intel_iom.h | 49 ++++++++
6 files changed, 251 insertions(+), 35 deletions(-)
create mode 100644 drivers/platform/x86/intel_iom.c
create mode 100644 include/linux/platform_data/x86/intel_iom.h
--
2.20.1