18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Phy drivers for Rockchip platforms
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ciconfig PHY_ROCKCHIP_DP
68c2ecf20Sopenharmony_ci	tristate "Rockchip Display Port PHY Driver"
78c2ecf20Sopenharmony_ci	depends on ARCH_ROCKCHIP && OF
88c2ecf20Sopenharmony_ci	select GENERIC_PHY
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  Enable this to support the Rockchip Display Port PHY.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciconfig PHY_ROCKCHIP_DPHY_RX0
138c2ecf20Sopenharmony_ci	tristate "Rockchip MIPI Synopsys DPHY RX0 driver"
148c2ecf20Sopenharmony_ci	depends on ARCH_ROCKCHIP || COMPILE_TEST
158c2ecf20Sopenharmony_ci	select GENERIC_PHY_MIPI_DPHY
168c2ecf20Sopenharmony_ci	select GENERIC_PHY
178c2ecf20Sopenharmony_ci	help
188c2ecf20Sopenharmony_ci	  Enable this to support the Rockchip MIPI Synopsys DPHY RX0
198c2ecf20Sopenharmony_ci	  associated to the Rockchip ISP module present in RK3399 SoCs.
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
228c2ecf20Sopenharmony_ci	  will be called phy-rockchip-dphy-rx0.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciconfig PHY_ROCKCHIP_EMMC
258c2ecf20Sopenharmony_ci	tristate "Rockchip EMMC PHY Driver"
268c2ecf20Sopenharmony_ci	depends on ARCH_ROCKCHIP && OF
278c2ecf20Sopenharmony_ci	select GENERIC_PHY
288c2ecf20Sopenharmony_ci	help
298c2ecf20Sopenharmony_ci	  Enable this to support the Rockchip EMMC PHY.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciconfig PHY_ROCKCHIP_INNO_HDMI
328c2ecf20Sopenharmony_ci	tristate "Rockchip INNO HDMI PHY Driver"
338c2ecf20Sopenharmony_ci	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
348c2ecf20Sopenharmony_ci	depends on COMMON_CLK
358c2ecf20Sopenharmony_ci	select GENERIC_PHY
368c2ecf20Sopenharmony_ci	help
378c2ecf20Sopenharmony_ci	  Enable this to support the Rockchip Innosilicon HDMI PHY.
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciconfig PHY_ROCKCHIP_INNO_USB2
408c2ecf20Sopenharmony_ci	tristate "Rockchip INNO USB2PHY Driver"
418c2ecf20Sopenharmony_ci	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
428c2ecf20Sopenharmony_ci	depends on COMMON_CLK
438c2ecf20Sopenharmony_ci	depends on EXTCON
448c2ecf20Sopenharmony_ci	depends on USB_SUPPORT
458c2ecf20Sopenharmony_ci	select GENERIC_PHY
468c2ecf20Sopenharmony_ci	select USB_COMMON
478c2ecf20Sopenharmony_ci	help
488c2ecf20Sopenharmony_ci	  Support for Rockchip USB2.0 PHY with Innosilicon IP block.
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ciconfig PHY_ROCKCHIP_INNO_DSIDPHY
518c2ecf20Sopenharmony_ci	tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver"
528c2ecf20Sopenharmony_ci	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
538c2ecf20Sopenharmony_ci	select GENERIC_PHY
548c2ecf20Sopenharmony_ci	select GENERIC_PHY_MIPI_DPHY
558c2ecf20Sopenharmony_ci	help
568c2ecf20Sopenharmony_ci	  Enable this to support the Rockchip MIPI/LVDS/TTL PHY with
578c2ecf20Sopenharmony_ci	  Innosilicon IP block.
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ciconfig PHY_ROCKCHIP_PCIE
608c2ecf20Sopenharmony_ci	tristate "Rockchip PCIe PHY Driver"
618c2ecf20Sopenharmony_ci	depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
628c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
638c2ecf20Sopenharmony_ci	select GENERIC_PHY
648c2ecf20Sopenharmony_ci	select MFD_SYSCON
658c2ecf20Sopenharmony_ci	help
668c2ecf20Sopenharmony_ci	  Enable this to support the Rockchip PCIe PHY.
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ciconfig PHY_ROCKCHIP_TYPEC
698c2ecf20Sopenharmony_ci	tristate "Rockchip TYPEC PHY Driver"
708c2ecf20Sopenharmony_ci	depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
718c2ecf20Sopenharmony_ci	select EXTCON
728c2ecf20Sopenharmony_ci	select GENERIC_PHY
738c2ecf20Sopenharmony_ci	select RESET_CONTROLLER
748c2ecf20Sopenharmony_ci	help
758c2ecf20Sopenharmony_ci	  Enable this to support the Rockchip USB TYPEC PHY.
768c2ecf20Sopenharmony_ci
778c2ecf20Sopenharmony_ciconfig PHY_ROCKCHIP_USB
788c2ecf20Sopenharmony_ci	tristate "Rockchip USB2 PHY Driver"
798c2ecf20Sopenharmony_ci	depends on ARCH_ROCKCHIP && OF
808c2ecf20Sopenharmony_ci	select GENERIC_PHY
818c2ecf20Sopenharmony_ci	help
828c2ecf20Sopenharmony_ci	  Enable this to support the Rockchip USB 2.0 PHY.
83