mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 04:59:04 +07:00
b51fbf9fb0
include/phy/phy.h has stub code in there for when building without the phy-core enabled. This is useful for generic drivers such as ahci-platform, ehci-platoform and ohci-platform which have support for driving an optional phy passed to them through the devicetree. Since on some boards this phy functionality is not needed, being able to disable the phy subsystem without needing a lot of #ifdef magic in the driver using it is quite useful. However this breaks when the module using the phy subsystem is build-in and the phy-core is not, which leads to the build failing with missing symbol errors in the linking stage of the zImage. Which leads to gems such as this being added to the Kconfig for achi_platform: depends on GENERIC_PHY || !GENERIC_PHY Rather then duplicating this code in a lot of places using the phy-core, I believe it is better to simply not allow the phy-core to be built as a module. The phy core is quite small and has no external dependencies, so always building it in when enabling it should not be an issue. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Roger Quadros <rogerq@ti.com> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
69 lines
1.8 KiB
Plaintext
69 lines
1.8 KiB
Plaintext
#
|
|
# PHY
|
|
#
|
|
|
|
menu "PHY Subsystem"
|
|
|
|
config GENERIC_PHY
|
|
bool "PHY Core"
|
|
help
|
|
Generic PHY support.
|
|
|
|
This framework is designed to provide a generic interface for PHY
|
|
devices present in the kernel. This layer will have the generic
|
|
API by which phy drivers can create PHY using the phy framework and
|
|
phy users can obtain reference to the PHY. All the users of this
|
|
framework should select this config.
|
|
|
|
config PHY_EXYNOS_MIPI_VIDEO
|
|
depends on HAS_IOMEM
|
|
tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
|
|
help
|
|
Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
|
|
and EXYNOS SoCs.
|
|
|
|
config PHY_MVEBU_SATA
|
|
def_bool y
|
|
depends on ARCH_KIRKWOOD || ARCH_DOVE
|
|
depends on OF
|
|
select GENERIC_PHY
|
|
|
|
config OMAP_USB2
|
|
tristate "OMAP USB2 PHY Driver"
|
|
depends on ARCH_OMAP2PLUS
|
|
depends on USB_PHY
|
|
select GENERIC_PHY
|
|
select OMAP_CONTROL_USB
|
|
help
|
|
Enable this to support the transceiver that is part of SOC. This
|
|
driver takes care of all the PHY functionality apart from comparator.
|
|
The USB OTG controller communicates with the comparator using this
|
|
driver.
|
|
|
|
config TWL4030_USB
|
|
tristate "TWL4030 USB Transceiver Driver"
|
|
depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
|
|
depends on USB_PHY
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support the USB OTG transceiver on TWL4030
|
|
family chips (including the TWL5030 and TPS659x0 devices).
|
|
This transceiver supports high and full speed devices plus,
|
|
in host mode, low speed.
|
|
|
|
config PHY_EXYNOS_DP_VIDEO
|
|
tristate "EXYNOS SoC series Display Port PHY driver"
|
|
depends on OF
|
|
select GENERIC_PHY
|
|
help
|
|
Support for Display Port PHY found on Samsung EXYNOS SoCs.
|
|
|
|
config BCM_KONA_USB2_PHY
|
|
tristate "Broadcom Kona USB2 PHY Driver"
|
|
depends on GENERIC_PHY
|
|
depends on HAS_IOMEM
|
|
help
|
|
Enable this to support the Broadcom Kona USB 2.0 PHY.
|
|
|
|
endmenu
|