i3c: controllers do not need to depend on I3C
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 6 May 2025 07:52:11 +0000 (09:52 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 24 May 2025 20:49:07 +0000 (22:49 +0200)
The Kconfig file for controller drivers is only sourced if the I3C
symbol is enabled. No need to check for that in individual drivers.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20250506075247.1545-2-wsa+renesas@sang-engineering.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/Kconfig

index 77da199..7b30db3 100644 (file)
@@ -1,7 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config CDNS_I3C_MASTER
        tristate "Cadence I3C master driver"
-       depends on I3C
        depends on HAS_IOMEM
        depends on !(ALPHA || PARISC)
        help
@@ -9,7 +8,6 @@ config CDNS_I3C_MASTER
 
 config DW_I3C_MASTER
        tristate "Synospsys DesignWare I3C master driver"
-       depends on I3C
        depends on HAS_IOMEM
        depends on !(ALPHA || PARISC)
        # ALPHA and PARISC needs {read,write}sl()
@@ -38,7 +36,6 @@ config AST2600_I3C_MASTER
 
 config SVC_I3C_MASTER
        tristate "Silvaco I3C Dual-Role Master driver"
-       depends on I3C
        depends on HAS_IOMEM
        depends on !(ALPHA || PARISC)
        help
@@ -46,7 +43,6 @@ config SVC_I3C_MASTER
 
 config MIPI_I3C_HCI
        tristate "MIPI I3C Host Controller Interface driver (EXPERIMENTAL)"
-       depends on I3C
        depends on HAS_IOMEM
        help
          Support for hardware following the MIPI Aliance's I3C Host Controller