summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.pd_int_shared
diff options
context:
space:
mode:
authorDawid Niedzwiecki <dn@semihalf.com>2022-03-29 14:54:11 +0200
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-01 15:31:06 +0000
commitf25f27f47570a18103bcd9ce1591d33946203150 (patch)
tree1a14b6af612f62e75e84004a05a04e2ccbfd0287 /zephyr/Kconfig.pd_int_shared
parenta2f5947755b20e0d26b3cf986448aba59f9be008 (diff)
downloadchrome-ec-f25f27f47570a18103bcd9ce1591d33946203150.tar.gz
zephyr: remove PLATFORM_EC_USB_PD_PORT_MAX_COUNT config
The PLATFORM_EC_USB_PD_PORT_MAX_COUNT config can be get based on dts. PLATFORM_EC_USB_PD_PORT_MAX_COUNT equals a number of instances with "named-usbc-port" compatible. BUG=b:176237074 TEST=zmake testall && make buildall BRANCH=main Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com> Change-Id: If66ef429f4b9070e95b9631247423392c811f916 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3539940 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.pd_int_shared')
-rw-r--r--zephyr/Kconfig.pd_int_shared3
1 files changed, 0 insertions, 3 deletions
diff --git a/zephyr/Kconfig.pd_int_shared b/zephyr/Kconfig.pd_int_shared
index 640bb22677..6f90d2e3e9 100644
--- a/zephyr/Kconfig.pd_int_shared
+++ b/zephyr/Kconfig.pd_int_shared
@@ -23,21 +23,18 @@ config PLATFORM_EC_USB_PD_PORT_0_SHARED
config PLATFORM_EC_USB_PD_PORT_1_SHARED
bool "Port 1 IRQ is shared"
- depends on PLATFORM_EC_USB_PD_PORT_MAX_COUNT > 1
help
Enable handling of port 1 PD interrupts signalled by an IRQ that is
shared by every other port enabled in this section.
config PLATFORM_EC_USB_PD_PORT_2_SHARED
bool "Port 2 IRQ is shared"
- depends on PLATFORM_EC_USB_PD_PORT_MAX_COUNT > 2
help
Enable handling of port 2 PD interrupts signalled by an IRQ that is
shared by every other port enabled in this section.
config PLATFORM_EC_USB_PD_PORT_3_SHARED
bool "Port 3 IRQ is shared"
- depends on PLATFORM_EC_USB_PD_PORT_MAX_COUNT > 3
help
Enable handling of port 3 PD interrupts signalled by an IRQ that is
shared by every other port enabled in this section.