forked from Minki/linux
f0684c1a83
During review it came to light that exposing the pll clock outside is
not the right approach and struct phy_configure_opts_mipi_dphy exists
just for that reason to transfer parameters to the phy.
So drop the exposed clock and rely on the phy configure options
to bring in the correct rate. That way we can also just drop the
open coded timing struct and default values function.
Fixes: b7535a3bc0
("phy/rockchip: Add support for Innosilicon MIPI/LVDS/TTL PHY")
Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
71 lines
1.8 KiB
Plaintext
71 lines
1.8 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Phy drivers for Rockchip platforms
|
|
#
|
|
config PHY_ROCKCHIP_DP
|
|
tristate "Rockchip Display Port PHY Driver"
|
|
depends on ARCH_ROCKCHIP && OF
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support the Rockchip Display Port PHY.
|
|
|
|
config PHY_ROCKCHIP_EMMC
|
|
tristate "Rockchip EMMC PHY Driver"
|
|
depends on ARCH_ROCKCHIP && OF
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support the Rockchip EMMC PHY.
|
|
|
|
config PHY_ROCKCHIP_INNO_HDMI
|
|
tristate "Rockchip INNO HDMI PHY Driver"
|
|
depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
|
|
depends on COMMON_CLK
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support the Rockchip Innosilicon HDMI PHY.
|
|
|
|
config PHY_ROCKCHIP_INNO_USB2
|
|
tristate "Rockchip INNO USB2PHY Driver"
|
|
depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
|
|
depends on COMMON_CLK
|
|
depends on EXTCON
|
|
depends on USB_SUPPORT
|
|
select GENERIC_PHY
|
|
select USB_COMMON
|
|
help
|
|
Support for Rockchip USB2.0 PHY with Innosilicon IP block.
|
|
|
|
config PHY_ROCKCHIP_INNO_DSIDPHY
|
|
tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver"
|
|
depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
|
|
select GENERIC_PHY
|
|
select GENERIC_PHY_MIPI_DPHY
|
|
help
|
|
Enable this to support the Rockchip MIPI/LVDS/TTL PHY with
|
|
Innosilicon IP block.
|
|
|
|
config PHY_ROCKCHIP_PCIE
|
|
tristate "Rockchip PCIe PHY Driver"
|
|
depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
|
|
depends on HAS_IOMEM
|
|
select GENERIC_PHY
|
|
select MFD_SYSCON
|
|
help
|
|
Enable this to support the Rockchip PCIe PHY.
|
|
|
|
config PHY_ROCKCHIP_TYPEC
|
|
tristate "Rockchip TYPEC PHY Driver"
|
|
depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
|
|
select EXTCON
|
|
select GENERIC_PHY
|
|
select RESET_CONTROLLER
|
|
help
|
|
Enable this to support the Rockchip USB TYPEC PHY.
|
|
|
|
config PHY_ROCKCHIP_USB
|
|
tristate "Rockchip USB2 PHY Driver"
|
|
depends on ARCH_ROCKCHIP && OF
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support the Rockchip USB 2.0 PHY.
|