linux-imx/drivers/net/pse-pd/Kconfig
Geert Uytterhoeven 304ee24bdb net: pse-pd: PSE_REGULATOR should depend on REGULATOR
The Regulator based PSE controller driver relies on regulator support to
be enabled.  If regulator support is disabled, it will still compile
fine, but won't operate correctly.

Hence add a dependency on REGULATOR, to prevent asking the user about
this driver when configuring a kernel without regulator support.

Fixes: 66741b4e94 ("net: pse-pd: add regulator based PSE driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/709caac8873ff2a8b72b92091429be7c1a939959.1664900558.git.geert+renesas@glider.be
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-10-05 20:32:28 -07:00

596 B

SPDX-License-Identifier: GPL-2.0-only

Ethernet Power Sourcing Equipment drivers

menuconfig PSE_CONTROLLER bool "Ethernet Power Sourcing Equipment Support" help Generic Power Sourcing Equipment Controller support.

  If unsure, say no.

if PSE_CONTROLLER

config PSE_REGULATOR tristate "Regulator based PSE controller" depends on REGULATOR || COMPILE_TEST help This module provides support for simple regulator based Ethernet Power Sourcing Equipment without automatic classification support. For example for basic implementation of PoDL (802.3bu) specification.

endif