162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Phy drivers for Rockchip platforms
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ciconfig PHY_ROCKCHIP_DP
662306a36Sopenharmony_ci	tristate "Rockchip Display Port PHY Driver"
762306a36Sopenharmony_ci	depends on ARCH_ROCKCHIP && OF
862306a36Sopenharmony_ci	select GENERIC_PHY
962306a36Sopenharmony_ci	help
1062306a36Sopenharmony_ci	  Enable this to support the Rockchip Display Port PHY.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ciconfig PHY_ROCKCHIP_DPHY_RX0
1362306a36Sopenharmony_ci	tristate "Rockchip MIPI Synopsys DPHY RX0 driver"
1462306a36Sopenharmony_ci	depends on ARCH_ROCKCHIP || COMPILE_TEST
1562306a36Sopenharmony_ci	select GENERIC_PHY_MIPI_DPHY
1662306a36Sopenharmony_ci	select GENERIC_PHY
1762306a36Sopenharmony_ci	help
1862306a36Sopenharmony_ci	  Enable this to support the Rockchip MIPI Synopsys DPHY RX0
1962306a36Sopenharmony_ci	  associated to the Rockchip ISP module present in RK3399 SoCs.
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
2262306a36Sopenharmony_ci	  will be called phy-rockchip-dphy-rx0.
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ciconfig PHY_ROCKCHIP_EMMC
2562306a36Sopenharmony_ci	tristate "Rockchip EMMC PHY Driver"
2662306a36Sopenharmony_ci	depends on ARCH_ROCKCHIP && OF
2762306a36Sopenharmony_ci	select GENERIC_PHY
2862306a36Sopenharmony_ci	help
2962306a36Sopenharmony_ci	  Enable this to support the Rockchip EMMC PHY.
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ciconfig PHY_ROCKCHIP_INNO_HDMI
3262306a36Sopenharmony_ci	tristate "Rockchip INNO HDMI PHY Driver"
3362306a36Sopenharmony_ci	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
3462306a36Sopenharmony_ci	depends on COMMON_CLK
3562306a36Sopenharmony_ci	depends on HAS_IOMEM
3662306a36Sopenharmony_ci	select GENERIC_PHY
3762306a36Sopenharmony_ci	help
3862306a36Sopenharmony_ci	  Enable this to support the Rockchip Innosilicon HDMI PHY.
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ciconfig PHY_ROCKCHIP_INNO_USB2
4162306a36Sopenharmony_ci	tristate "Rockchip INNO USB2PHY Driver"
4262306a36Sopenharmony_ci	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
4362306a36Sopenharmony_ci	depends on COMMON_CLK
4462306a36Sopenharmony_ci	depends on EXTCON
4562306a36Sopenharmony_ci	depends on USB_SUPPORT
4662306a36Sopenharmony_ci	select GENERIC_PHY
4762306a36Sopenharmony_ci	select USB_COMMON
4862306a36Sopenharmony_ci	help
4962306a36Sopenharmony_ci	  Support for Rockchip USB2.0 PHY with Innosilicon IP block.
5062306a36Sopenharmony_ci
5162306a36Sopenharmony_ciconfig PHY_ROCKCHIP_INNO_CSIDPHY
5262306a36Sopenharmony_ci	tristate "Rockchip Innosilicon MIPI CSI PHY driver"
5362306a36Sopenharmony_ci	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
5462306a36Sopenharmony_ci	select GENERIC_PHY
5562306a36Sopenharmony_ci	select GENERIC_PHY_MIPI_DPHY
5662306a36Sopenharmony_ci	help
5762306a36Sopenharmony_ci	  Enable this to support the Rockchip MIPI CSI PHY with
5862306a36Sopenharmony_ci	  Innosilicon IP block.
5962306a36Sopenharmony_ci
6062306a36Sopenharmony_ciconfig PHY_ROCKCHIP_INNO_DSIDPHY
6162306a36Sopenharmony_ci	tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver"
6262306a36Sopenharmony_ci	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
6362306a36Sopenharmony_ci	select GENERIC_PHY
6462306a36Sopenharmony_ci	select GENERIC_PHY_MIPI_DPHY
6562306a36Sopenharmony_ci	help
6662306a36Sopenharmony_ci	  Enable this to support the Rockchip MIPI/LVDS/TTL PHY with
6762306a36Sopenharmony_ci	  Innosilicon IP block.
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_ciconfig PHY_ROCKCHIP_NANENG_COMBO_PHY
7062306a36Sopenharmony_ci	tristate "Rockchip NANENG COMBO PHY Driver"
7162306a36Sopenharmony_ci	depends on ARCH_ROCKCHIP && OF
7262306a36Sopenharmony_ci	select GENERIC_PHY
7362306a36Sopenharmony_ci	help
7462306a36Sopenharmony_ci	  Enable this to support the Rockchip PCIe/USB3.0/SATA/QSGMII
7562306a36Sopenharmony_ci	  combo PHY with NaNeng IP block.
7662306a36Sopenharmony_ci
7762306a36Sopenharmony_ciconfig PHY_ROCKCHIP_PCIE
7862306a36Sopenharmony_ci	tristate "Rockchip PCIe PHY Driver"
7962306a36Sopenharmony_ci	depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
8062306a36Sopenharmony_ci	depends on HAS_IOMEM
8162306a36Sopenharmony_ci	select GENERIC_PHY
8262306a36Sopenharmony_ci	select MFD_SYSCON
8362306a36Sopenharmony_ci	help
8462306a36Sopenharmony_ci	  Enable this to support the Rockchip PCIe PHY.
8562306a36Sopenharmony_ci
8662306a36Sopenharmony_ciconfig PHY_ROCKCHIP_SNPS_PCIE3
8762306a36Sopenharmony_ci	tristate "Rockchip Snps PCIe3 PHY Driver"
8862306a36Sopenharmony_ci	depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
8962306a36Sopenharmony_ci	depends on HAS_IOMEM
9062306a36Sopenharmony_ci	select GENERIC_PHY
9162306a36Sopenharmony_ci	select MFD_SYSCON
9262306a36Sopenharmony_ci	help
9362306a36Sopenharmony_ci	  Enable this to support the Rockchip snps PCIe3 PHY.
9462306a36Sopenharmony_ci
9562306a36Sopenharmony_ciconfig PHY_ROCKCHIP_TYPEC
9662306a36Sopenharmony_ci	tristate "Rockchip TYPEC PHY Driver"
9762306a36Sopenharmony_ci	depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
9862306a36Sopenharmony_ci	select EXTCON
9962306a36Sopenharmony_ci	select GENERIC_PHY
10062306a36Sopenharmony_ci	select RESET_CONTROLLER
10162306a36Sopenharmony_ci	help
10262306a36Sopenharmony_ci	  Enable this to support the Rockchip USB TYPEC PHY.
10362306a36Sopenharmony_ci
10462306a36Sopenharmony_ciconfig PHY_ROCKCHIP_USB
10562306a36Sopenharmony_ci	tristate "Rockchip USB2 PHY Driver"
10662306a36Sopenharmony_ci	depends on ARCH_ROCKCHIP && OF
10762306a36Sopenharmony_ci	select GENERIC_PHY
10862306a36Sopenharmony_ci	help
10962306a36Sopenharmony_ci	  Enable this to support the Rockchip USB 2.0 PHY.
110