Skip to content

Add Intel Input Output Manager driver

Rajmohan Mani linux-usb lkml platform-driver-x86 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 12 repliesIn review
  2. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- 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.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3platform/x86: Add Intel Input Output Manager (IOM) driverdrivers/platform/x86/Kconfig drivers/platform/x86/Makefile drivers/platform/x86/intel_iom.c +1 more+161 -012 replies
2/3usb: typec: intel_pmc_mux: Check the port status before connectdrivers/usb/typec/mux/Kconfig drivers/usb/typec/mux/intel_pmc_mux.c+65 -110 replies
3/3usb: typec: intel_pmc_mux: Support for device role (UFP)drivers/usb/typec/mux/intel_pmc_mux.c+34 -330 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] Add Intel Input Output Manager driver

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
Signature · 1 line
2.20.1