Skip to contentSkip to conversation

usb: typec: wcove: Drop wrong dependency to INTEL_SOC_PMIC

PATCH In review Andy Shevchenko 4 participants 4 messages Jun 20, 2022 – Jun 21, 2022

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

PATCH 1/1 usb: typec: wcove: Drop wrong dependency to INTEL_SOC_PMIC

Intel SoC PMIC is a generic name for all PMICs that are used on Intel platforms. In particular, INTEL_SOC_PMIC kernel configuration option refers to Crystal Cove PMIC, which has never been a part of any Intel Broxton hardware. Drop wrong dependency from Kconfig.

Note, the correct dependency is satisfied via ACPI PMIC OpRegion driver, which the Type-C depends on.

Fixes d2061f9cc32d ("usb: typec: add driver for Intel Whiskey Cove PMIC USB Type-C PHY")
---
 drivers/usb/typec/tcpm/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/usb/typec/tcpm/Kconfig +0 -1
index 557f392fe24d..073fd2ea5e0b 100644
@@ -56,7 +56,6 @@ config TYPEC_WCOVE
 	tristate "Intel WhiskeyCove PMIC USB Type-C PHY driver"
 	depends on ACPI
 	depends on MFD_INTEL_PMC_BXT
-	depends on INTEL_SOC_PMIC
 	depends on BXT_WC_PMIC_OPREGION
 	help
 	  This driver adds support for USB Type-C on Intel Broxton platforms
Signature · 1 line
2.35.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Andy Shevchenko

Intel SoC PMIC is a generic name for all PMICs that are used on Intel platforms. In particular, INTEL_SOC_PMIC kernel configuration option refers to Crystal Cove PMIC, which has never been a part of any Intel Broxton hardware. Drop wrong dependency from Kconfig.

Note, the correct dependency is satisfied via ACPI PMIC OpRegion driver, which the Type-C depends on.

Fixes d2061f9cc32d ("usb: typec: add driver for Intel Whiskey Cove PMIC USB Type-C PHY")
Quoted 16 lines
---
  drivers/usb/typec/tcpm/Kconfig | 1 -
  1 file changed, 1 deletion(-)
drivers/usb/typec/tcpm/Kconfig +0 -1
index 557f392fe24d..073fd2ea5e0b 100644
@@ -56,7 +56,6 @@ config TYPEC_WCOVE
  	tristate "Intel WhiskeyCove PMIC USB Type-C PHY driver"
  	depends on ACPI
  	depends on MFD_INTEL_PMC_BXT
-	depends on INTEL_SOC_PMIC
  	depends on BXT_WC_PMIC_OPREGION
  	help
  	  This driver adds support for USB Type-C on Intel Broxton platforms
Reviewed-by on v1 1/1
#2 lore raw
In reply to Andy Shevchenko

Hi,

Quoted 11 lines · Andy Shevchenko

Intel SoC PMIC is a generic name for all PMICs that are used on Intel platforms. In particular, INTEL_SOC_PMIC kernel configuration option refers to Crystal Cove PMIC, which has never been a part of any Intel Broxton hardware. Drop wrong dependency from Kconfig.

Note, the correct dependency is satisfied via ACPI PMIC OpRegion driver, which the Type-C depends on.

Fixes d2061f9cc32d ("usb: typec: add driver for Intel Whiskey Cove PMIC USB Type-C PHY")

Thanks, patch looks good to me:

Regards,

Hans

Quoted 16 lines
---
 drivers/usb/typec/tcpm/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/usb/typec/tcpm/Kconfig +0 -1
index 557f392fe24d..073fd2ea5e0b 100644
@@ -56,7 +56,6 @@ config TYPEC_WCOVE
 	tristate "Intel WhiskeyCove PMIC USB Type-C PHY driver"
 	depends on ACPI
 	depends on MFD_INTEL_PMC_BXT
-	depends on INTEL_SOC_PMIC
 	depends on BXT_WC_PMIC_OPREGION
 	help
 	  This driver adds support for USB Type-C on Intel Broxton platforms
maintainer Reviewed-by on v1 1/1
#3 lore raw
In reply to Andy Shevchenko
Quoted 11 lines · Andy Shevchenko

Intel SoC PMIC is a generic name for all PMICs that are used on Intel platforms. In particular, INTEL_SOC_PMIC kernel configuration option refers to Crystal Cove PMIC, which has never been a part of any Intel Broxton hardware. Drop wrong dependency from Kconfig.

Note, the correct dependency is satisfied via ACPI PMIC OpRegion driver, which the Type-C depends on.

Fixes d2061f9cc32d ("usb: typec: add driver for Intel Whiskey Cove PMIC USB Type-C PHY")
Quoted 18 lines
---
 drivers/usb/typec/tcpm/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/usb/typec/tcpm/Kconfig +0 -1
index 557f392fe24d..073fd2ea5e0b 100644
@@ -56,7 +56,6 @@ config TYPEC_WCOVE
 	tristate "Intel WhiskeyCove PMIC USB Type-C PHY driver"
 	depends on ACPI
 	depends on MFD_INTEL_PMC_BXT
-	depends on INTEL_SOC_PMIC
 	depends on BXT_WC_PMIC_OPREGION
 	help
 	  This driver adds support for USB Type-C on Intel Broxton platforms
Signature · 1 line
2.35.1
Signature · 1 line
heikki