mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 01:22:07 +00:00
8eff8b4e22
The AXG Analog MIPI-DSI PHY also provides functions to the PCIe PHY, thus we need to have inclusive support for both interfaces at runtime. This fixes the regmap get from parent node, removes cell param to select a mode and implement runtime configuration & power on/off for both functions since they are not exclusive. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Remi Pommarel <repk@triplefau.lt> Link: https://lore.kernel.org/r/20201116101647.73448-4-narmstrong@baylibre.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
86 lines
2.2 KiB
Plaintext
86 lines
2.2 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Phy drivers for Amlogic platforms
|
|
#
|
|
config PHY_MESON8B_USB2
|
|
tristate "Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY driver"
|
|
default ARCH_MESON
|
|
depends on OF && (ARCH_MESON || COMPILE_TEST)
|
|
depends on USB_SUPPORT
|
|
select USB_COMMON
|
|
select GENERIC_PHY
|
|
select REGMAP_MMIO
|
|
help
|
|
Enable this to support the Meson USB2 PHYs found in Meson8,
|
|
Meson8b and GXBB SoCs.
|
|
If unsure, say N.
|
|
|
|
config PHY_MESON_GXL_USB2
|
|
tristate "Meson GXL and GXM USB2 PHY drivers"
|
|
default ARCH_MESON
|
|
depends on OF && (ARCH_MESON || COMPILE_TEST)
|
|
depends on USB_SUPPORT
|
|
select GENERIC_PHY
|
|
select REGMAP_MMIO
|
|
help
|
|
Enable this to support the Meson USB2 PHYs found in Meson
|
|
GXL and GXM SoCs.
|
|
If unsure, say N.
|
|
|
|
config PHY_MESON_G12A_USB2
|
|
tristate "Meson G12A USB2 PHY driver"
|
|
default ARCH_MESON
|
|
depends on OF && (ARCH_MESON || COMPILE_TEST)
|
|
select GENERIC_PHY
|
|
select REGMAP_MMIO
|
|
help
|
|
Enable this to support the Meson USB2 PHYs found in Meson
|
|
G12A SoCs.
|
|
If unsure, say N.
|
|
|
|
config PHY_MESON_G12A_USB3_PCIE
|
|
tristate "Meson G12A USB3+PCIE Combo PHY driver"
|
|
default ARCH_MESON
|
|
depends on OF && (ARCH_MESON || COMPILE_TEST)
|
|
select GENERIC_PHY
|
|
select REGMAP_MMIO
|
|
help
|
|
Enable this to support the Meson USB3 + PCIE Combo PHY found
|
|
in Meson G12A SoCs.
|
|
If unsure, say N.
|
|
|
|
config PHY_MESON_AXG_PCIE
|
|
tristate "Meson AXG PCIE PHY driver"
|
|
default ARCH_MESON
|
|
depends on OF && (ARCH_MESON || COMPILE_TEST)
|
|
select GENERIC_PHY
|
|
select REGMAP_MMIO
|
|
help
|
|
Enable this to support the Meson MIPI + PCIE PHY found
|
|
in Meson AXG SoCs.
|
|
If unsure, say N.
|
|
|
|
config PHY_MESON_AXG_MIPI_PCIE_ANALOG
|
|
tristate "Meson AXG MIPI + PCIE analog PHY driver"
|
|
default ARCH_MESON
|
|
depends on OF && (ARCH_MESON || COMPILE_TEST)
|
|
select GENERIC_PHY
|
|
select REGMAP_MMIO
|
|
select GENERIC_PHY_MIPI_DPHY
|
|
help
|
|
Enable this to support the Meson MIPI + PCIE analog PHY
|
|
found in Meson AXG SoCs.
|
|
If unsure, say N.
|
|
|
|
config PHY_MESON_AXG_MIPI_DPHY
|
|
tristate "Meson AXG MIPI DPHY driver"
|
|
default ARCH_MESON
|
|
depends on OF && (ARCH_MESON || COMPILE_TEST)
|
|
select GENERIC_PHY
|
|
select REGMAP_MMIO
|
|
select GENERIC_PHY_MIPI_DPHY
|
|
help
|
|
Enable this to support the Meson MIPI DPHY found in Meson AXG
|
|
SoCs.
|
|
If unsure, say N.
|