mux: Kconfig: Add Kconfig options for MUX_MMIO
authorAnurag Dutta <a-dutta@ti.com>
Thu, 20 Mar 2025 06:30:02 +0000 (12:00 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 5 Apr 2025 15:35:25 +0000 (09:35 -0600)
Add Kconfig options for MUX_MMIO so that it can be enabled
in SPL stage.

Signed-off-by: Anurag Dutta <a-dutta@ti.com>
drivers/mux/Kconfig

index f15ee4f..2b95eb0 100644 (file)
@@ -10,6 +10,16 @@ config MULTIPLEXER
 
 if MULTIPLEXER
 
+config SPL_MUX_MMIO
+       bool "MMIO register bitfield-controlled Multiplexer"
+        depends on MULTIPLEXER && SYSCON
+        help
+          MMIO register bitfield-controlled Multiplexer controller.
+
+          The driver builds multiplexer controllers for bitfields in a syscon
+          register. For N bit wide bitfields, there will be 2^N possible
+          multiplexer states.
+
 config MUX_MMIO
        bool "MMIO register bitfield-controlled Multiplexer"
        depends on MULTIPLEXER && SYSCON