Skip to contentSkip to conversation

platform: x86: intel_cht_int33fe: Add dependency on muxes

PATCH New Heikki Krogerus 1 participant 1 message Sep 20, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 4/12 platform: x86: intel_cht_int33fe: Add dependency on muxes

The connections create clear dependency on the muxes. fusb302 fails to probe unless we have the mux drivers available.

---
 drivers/platform/x86/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/platform/x86/Kconfig +2 -0
index 0c1aa6c314f5..bdac939de223 100644
@@ -867,6 +867,8 @@ config INTEL_CHT_INT33FE
 	tristate "Intel Cherry Trail ACPI INT33FE Driver"
 	depends on X86 && ACPI && I2C && REGULATOR
 	depends on CHARGER_BQ24190=y || (CHARGER_BQ24190=m && m)
+	depends on USB_ROLES_INTEL_XHCI=y || (USB_ROLES_INTEL_XHCI=m && m)
+	depends on TYPEC_MUX_PI3USB30532=y || (TYPEC_MUX_PI3USB30532=m && m)
 	---help---
 	  This driver add support for the INT33FE ACPI device found on
 	  some Intel Cherry Trail devices.