]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
phy: Kconfig: use bool instead of tristate
authorDavid Lechner <dlechner@baylibre.com>
Wed, 13 May 2026 14:11:52 +0000 (09:11 -0500)
committerJerome Forissier <jerome.forissier@arm.com>
Wed, 3 Jun 2026 14:55:55 +0000 (16:55 +0200)
Change all uses of tristate in the PHY Kconfigs to bool. U-Boot does
not support modules, so tristate does not make sense here.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Macpaul Lin <macpaul.lin@mediatek.com>
Reviewed-by: Anshul Dalal <anshuld@ti.com>
Reviewed-by: Casey Connolly <casey.connolly@linaro.org>
drivers/phy/Kconfig
drivers/phy/cadence/Kconfig
drivers/phy/qcom/Kconfig
drivers/phy/renesas/Kconfig
drivers/phy/rockchip/Kconfig
drivers/phy/ti/Kconfig

index 5c8ec2b146fa7409c7ef7f53a4813f904bf85e4a..eafa82fe494480e397827fa121d646a150be8cad 100644 (file)
@@ -114,7 +114,7 @@ config BCM_SR_PCIE_PHY
          If unsure, say N.
 
 config PHY_DA8XX_USB
-       tristate "TI DA8xx USB PHY Driver"
+       bool "TI DA8xx USB PHY Driver"
        depends on PHY && ARCH_DAVINCI
        help
          Enable this to support the USB PHY on DA8xx SoCs.
@@ -138,7 +138,7 @@ config SPL_PIPE3_PHY
          and omap5
 
 config AM654_PHY
-       tristate "TI AM654 SERDES support"
+       bool "TI AM654 SERDES support"
        depends on PHY && ARCH_K3
        select REGMAP
        select SYSCON
@@ -155,7 +155,7 @@ config STI_USB_PHY
          STiH407 SoC families.
 
 config PHY_RCAR_GEN2
-       tristate "Renesas R-Car Gen2 USB PHY"
+       bool "Renesas R-Car Gen2 USB PHY"
        depends on PHY && RCAR_GEN2
        help
          Support for the Renesas R-Car Gen2 USB PHY. This driver operates the
@@ -163,7 +163,7 @@ config PHY_RCAR_GEN2
          allows configuring the module multiplexing.
 
 config PHY_RCAR_GEN3
-       tristate "Renesas R-Car Gen3 USB PHY"
+       bool "Renesas R-Car Gen3 USB PHY"
        depends on PHY && CLK && DM_REGULATOR && (RCAR_GEN3 || RZG2L)
        default y if (RCAR_GEN3 || RZG2L)
        help
@@ -171,7 +171,7 @@ config PHY_RCAR_GEN3
          PHY connected to EHCI USB module and controls USB OTG operation.
 
 config PHY_STM32_USBPHYC
-       tristate "STMicroelectronics STM32 SoC USB HS PHY driver"
+       bool "STMicroelectronics STM32 SoC USB HS PHY driver"
        depends on PHY && ARCH_STM32MP
        help
          Enable this to support the High-Speed USB transceiver that is part of
@@ -283,7 +283,7 @@ config PHY_MTK_TPHY
          so you can easily distinguish them by banks layout.
 
 config PHY_MTK_UFS
-       tristate "MediaTek UFS M-PHY driver"
+       bool "MediaTek UFS M-PHY driver"
        depends on ARCH_MEDIATEK
        depends on PHY
        help
@@ -337,7 +337,7 @@ config PHY_IMX8M_PCIE
          This PHY is found on i.MX8M devices supporting PCIe.
 
 config PHY_XILINX_ZYNQMP
-       tristate "Xilinx ZynqMP PHY driver"
+       bool "Xilinx ZynqMP PHY driver"
        depends on PHY && ARCH_ZYNQMP
        help
          Enable this to support ZynqMP High Speed Gigabit Transceiver
index 8c0ab80fbbc7661ce4679d1359ca5a0d9f2c1d98..f5f096889fe0e572e63dda757e6f8709010571cd 100644 (file)
@@ -1,11 +1,11 @@
 config PHY_CADENCE_SIERRA
-       tristate "Cadence Sierra PHY Driver"
+       bool "Cadence Sierra PHY Driver"
        depends on DM_RESET
        help
          Enable this to support the Cadence Sierra PHY driver
 
 config PHY_CADENCE_TORRENT
-       tristate "Cadence Torrent PHY Driver"
+       bool "Cadence Torrent PHY Driver"
        depends on DM_RESET
        help
          Enable this to support the Cadence Torrent PHY driver
index 49f830abf01a38e011d5bbf4253600da55504754..7094903d86955f4c3b2f4ac72cb6bd22005c745f 100644 (file)
@@ -7,7 +7,7 @@ config MSM8916_USB_PHY
          This PHY is found on qualcomm dragonboard410c development board.
 
 config PHY_QCOM_IPQ4019_USB
-       tristate "Qualcomm IPQ4019 USB PHY driver"
+       bool "Qualcomm IPQ4019 USB PHY driver"
        depends on PHY && ARCH_IPQ40XX
        help
          Support for the USB PHY-s on Qualcomm IPQ40xx SoC-s.
@@ -21,26 +21,26 @@ config PHY_QCOM_QMP_COMBO
          PHY (USB3 + DisplayPort). Currently only USB3 mode is supported.
 
 config PHY_QCOM_QMP_PCIE
-       tristate "Qualcomm QMP PCIe PHY driver"
+       bool "Qualcomm QMP PCIe PHY driver"
        depends on PHY && ARCH_SNAPDRAGON
        help
          Enable this to support the PCIe QMP PHY on various Qualcomm chipsets.
 
 config PHY_QCOM_QMP_UFS
-       tristate "Qualcomm QMP UFS PHY driver"
+       bool "Qualcomm QMP UFS PHY driver"
        depends on PHY && ARCH_SNAPDRAGON
        help
          Enable this to support the UFS QMP PHY on various Qualcomm chipsets.
 
 config PHY_QCOM_QUSB2
-       tristate "Qualcomm USB QUSB2 PHY driver"
+       bool "Qualcomm USB QUSB2 PHY driver"
        depends on PHY && ARCH_SNAPDRAGON
        help
          Enable this to support the Super-Speed USB transceiver on various
          Qualcomm chipsets.
 
 config PHY_QCOM_USB_SNPS_FEMTO_V2
-       tristate "Qualcomm SNPS FEMTO USB HS PHY v2"
+       bool "Qualcomm SNPS FEMTO USB HS PHY v2"
        depends on PHY && ARCH_SNAPDRAGON
        help
          Enable this to support the Qualcomm Synopsys DesignWare Core 7nm
@@ -48,7 +48,7 @@ config PHY_QCOM_USB_SNPS_FEMTO_V2
          is usually paired with Synopsys DWC3 USB IPs on MSM SOCs.
 
 config PHY_QCOM_SNPS_EUSB2
-       tristate "Qualcomm Synopsys eUSB2 High-Speed PHY"
+       bool "Qualcomm Synopsys eUSB2 High-Speed PHY"
        depends on PHY && ARCH_SNAPDRAGON
        help
          Enable this to support the Qualcomm Synopsys DesignWare eUSB2
@@ -56,7 +56,7 @@ config PHY_QCOM_SNPS_EUSB2
          is usually paired with Synopsys DWC3 USB IPs on MSM SOCs.
 
 config PHY_QCOM_USB_HS_28NM
-       tristate "Qualcomm 28nm High-Speed PHY"
+       bool "Qualcomm 28nm High-Speed PHY"
        depends on PHY && ARCH_SNAPDRAGON
        help
          Enable this to support the Qualcomm Synopsys DesignWare Core 28nm
@@ -65,7 +65,7 @@ config PHY_QCOM_USB_HS_28NM
          IPs on MSM SOCs.
 
 config PHY_QCOM_USB_SS
-       tristate "Qualcomm USB Super-Speed PHY driver"
+       bool "Qualcomm USB Super-Speed PHY driver"
        depends on PHY && ARCH_SNAPDRAGON
        help
          Enable this to support the Super-Speed USB transceiver on various
index affbee0500cace3fc330e868e079bed402ec15f2..3358d454e59d2f06d6fcd73c58ce516772078586 100644 (file)
@@ -3,19 +3,19 @@
 # Phy drivers for Renesas platforms
 
 config PHY_R8A779F0_ETHERNET_SERDES
-       tristate "Renesas R-Car S4-8 Ethernet SERDES driver"
+       bool "Renesas R-Car S4-8 Ethernet SERDES driver"
        depends on RCAR_64 && PHY
        help
          Support for Ethernet SERDES found on Renesas R-Car S4-8 SoCs.
 
 config PHY_R8A78000_ETHERNET_PCS
-       tristate "Renesas R-Car X5H Ethernet PCS driver"
+       bool "Renesas R-Car X5H Ethernet PCS driver"
        depends on RCAR_64 && PHY
        help
          Support for Ethernet PCS found on Renesas R-Car X5H SoCs.
 
 config PHY_R8A78000_MP_PHY
-       tristate "Renesas R-Car X5H Multi-Protocol PHY driver"
+       bool "Renesas R-Car X5H Multi-Protocol PHY driver"
        depends on RCAR_64 && PHY
        help
          Support for Multi-Protocol PHY on Renesas R-Car X5H SoCs.
index 80128335d52f9f348170f617e0b832bab6408910..6f3d7ebe29e3a1e78ae3252b811f429ebcc7ba75 100644 (file)
@@ -49,7 +49,7 @@ config PHY_ROCKCHIP_SNPS_PCIE3
          also be able splited into multiple combinations of lanes.
 
 config PHY_ROCKCHIP_USBDP
-       tristate "Rockchip USBDP COMBO PHY Driver"
+       bool "Rockchip USBDP COMBO PHY Driver"
        depends on ARCH_ROCKCHIP
        select PHY
        help
index df750b26d66bc194c50d3605e3b7c96bc0dee34e..fe96eb6806f0a9fb154afe4a5414858790061024 100644 (file)
@@ -1,5 +1,5 @@
 config PHY_J721E_WIZ
-       tristate "TI J721E WIZ (SERDES Wrapper) support"
+       bool "TI J721E WIZ (SERDES Wrapper) support"
        depends on ARCH_K3
        help
          This option enables support for WIZ module present in TI's J721E