xref: /openbmc/linux/drivers/phy/rockchip/Kconfig (revision 2e9bffc4)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
20b56e9a7SVivek Gautam#
30b56e9a7SVivek Gautam# Phy drivers for Rockchip platforms
40b56e9a7SVivek Gautam#
50b56e9a7SVivek Gautamconfig PHY_ROCKCHIP_DP
60b56e9a7SVivek Gautam	tristate "Rockchip Display Port PHY Driver"
70b56e9a7SVivek Gautam	depends on ARCH_ROCKCHIP && OF
80b56e9a7SVivek Gautam	select GENERIC_PHY
90b56e9a7SVivek Gautam	help
100b56e9a7SVivek Gautam	  Enable this to support the Rockchip Display Port PHY.
110b56e9a7SVivek Gautam
1237abc181SEzequiel Garciaconfig PHY_ROCKCHIP_DPHY_RX0
1337abc181SEzequiel Garcia	tristate "Rockchip MIPI Synopsys DPHY RX0 driver"
1437abc181SEzequiel Garcia	depends on ARCH_ROCKCHIP || COMPILE_TEST
1537abc181SEzequiel Garcia	select GENERIC_PHY_MIPI_DPHY
1637abc181SEzequiel Garcia	select GENERIC_PHY
1737abc181SEzequiel Garcia	help
1837abc181SEzequiel Garcia	  Enable this to support the Rockchip MIPI Synopsys DPHY RX0
1937abc181SEzequiel Garcia	  associated to the Rockchip ISP module present in RK3399 SoCs.
2037abc181SEzequiel Garcia
2137abc181SEzequiel Garcia	  To compile this driver as a module, choose M here: the module
2237abc181SEzequiel Garcia	  will be called phy-rockchip-dphy-rx0.
2337abc181SEzequiel Garcia
240b56e9a7SVivek Gautamconfig PHY_ROCKCHIP_EMMC
250b56e9a7SVivek Gautam	tristate "Rockchip EMMC PHY Driver"
260b56e9a7SVivek Gautam	depends on ARCH_ROCKCHIP && OF
270b56e9a7SVivek Gautam	select GENERIC_PHY
280b56e9a7SVivek Gautam	help
290b56e9a7SVivek Gautam	  Enable this to support the Rockchip EMMC PHY.
300b56e9a7SVivek Gautam
3153706a11SZheng Yangconfig PHY_ROCKCHIP_INNO_HDMI
3253706a11SZheng Yang	tristate "Rockchip INNO HDMI PHY Driver"
3353706a11SZheng Yang	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
3453706a11SZheng Yang	depends on COMMON_CLK
35ab7dd200STiezhu Yang	depends on HAS_IOMEM
3653706a11SZheng Yang	select GENERIC_PHY
3753706a11SZheng Yang	help
3853706a11SZheng Yang	  Enable this to support the Rockchip Innosilicon HDMI PHY.
3953706a11SZheng Yang
400b56e9a7SVivek Gautamconfig PHY_ROCKCHIP_INNO_USB2
410b56e9a7SVivek Gautam	tristate "Rockchip INNO USB2PHY Driver"
420b56e9a7SVivek Gautam	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
430b56e9a7SVivek Gautam	depends on COMMON_CLK
440b56e9a7SVivek Gautam	depends on EXTCON
450b56e9a7SVivek Gautam	depends on USB_SUPPORT
460b56e9a7SVivek Gautam	select GENERIC_PHY
470b56e9a7SVivek Gautam	select USB_COMMON
480b56e9a7SVivek Gautam	help
490b56e9a7SVivek Gautam	  Support for Rockchip USB2.0 PHY with Innosilicon IP block.
500b56e9a7SVivek Gautam
51bd1f775dSHeiko Stuebnerconfig PHY_ROCKCHIP_INNO_CSIDPHY
52bd1f775dSHeiko Stuebner	tristate "Rockchip Innosilicon MIPI CSI PHY driver"
53bd1f775dSHeiko Stuebner	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
54bd1f775dSHeiko Stuebner	select GENERIC_PHY
55bd1f775dSHeiko Stuebner	select GENERIC_PHY_MIPI_DPHY
56bd1f775dSHeiko Stuebner	help
57bd1f775dSHeiko Stuebner	  Enable this to support the Rockchip MIPI CSI PHY with
58bd1f775dSHeiko Stuebner	  Innosilicon IP block.
59bd1f775dSHeiko Stuebner
60b7535a3bSWyon Biconfig PHY_ROCKCHIP_INNO_DSIDPHY
61b7535a3bSWyon Bi	tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver"
62b7535a3bSWyon Bi	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
63b7535a3bSWyon Bi	select GENERIC_PHY
64f0684c1aSHeiko Stuebner	select GENERIC_PHY_MIPI_DPHY
65b7535a3bSWyon Bi	help
66b7535a3bSWyon Bi	  Enable this to support the Rockchip MIPI/LVDS/TTL PHY with
67b7535a3bSWyon Bi	  Innosilicon IP block.
68b7535a3bSWyon Bi
697160820dSYifeng Zhaoconfig PHY_ROCKCHIP_NANENG_COMBO_PHY
707160820dSYifeng Zhao	tristate "Rockchip NANENG COMBO PHY Driver"
717160820dSYifeng Zhao	depends on ARCH_ROCKCHIP && OF
727160820dSYifeng Zhao	select GENERIC_PHY
737160820dSYifeng Zhao	help
747160820dSYifeng Zhao	  Enable this to support the Rockchip PCIe/USB3.0/SATA/QSGMII
757160820dSYifeng Zhao	  combo PHY with NaNeng IP block.
767160820dSYifeng Zhao
770b56e9a7SVivek Gautamconfig PHY_ROCKCHIP_PCIE
780b56e9a7SVivek Gautam	tristate "Rockchip PCIe PHY Driver"
790b56e9a7SVivek Gautam	depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
80bb0e500bSMasahiro Yamada	depends on HAS_IOMEM
810b56e9a7SVivek Gautam	select GENERIC_PHY
820b56e9a7SVivek Gautam	select MFD_SYSCON
830b56e9a7SVivek Gautam	help
840b56e9a7SVivek Gautam	  Enable this to support the Rockchip PCIe PHY.
850b56e9a7SVivek Gautam
86*2e9bffc4SShawn Linconfig PHY_ROCKCHIP_SNPS_PCIE3
87*2e9bffc4SShawn Lin	tristate "Rockchip Snps PCIe3 PHY Driver"
88*2e9bffc4SShawn Lin	depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
89*2e9bffc4SShawn Lin	depends on HAS_IOMEM
90*2e9bffc4SShawn Lin	select GENERIC_PHY
91*2e9bffc4SShawn Lin	select MFD_SYSCON
92*2e9bffc4SShawn Lin	help
93*2e9bffc4SShawn Lin	  Enable this to support the Rockchip snps PCIe3 PHY.
94*2e9bffc4SShawn Lin
950b56e9a7SVivek Gautamconfig PHY_ROCKCHIP_TYPEC
960b56e9a7SVivek Gautam	tristate "Rockchip TYPEC PHY Driver"
970b56e9a7SVivek Gautam	depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
980b56e9a7SVivek Gautam	select EXTCON
990b56e9a7SVivek Gautam	select GENERIC_PHY
1000b56e9a7SVivek Gautam	select RESET_CONTROLLER
1010b56e9a7SVivek Gautam	help
1020b56e9a7SVivek Gautam	  Enable this to support the Rockchip USB TYPEC PHY.
1030b56e9a7SVivek Gautam
1040b56e9a7SVivek Gautamconfig PHY_ROCKCHIP_USB
1050b56e9a7SVivek Gautam	tristate "Rockchip USB2 PHY Driver"
1060b56e9a7SVivek Gautam	depends on ARCH_ROCKCHIP && OF
1070b56e9a7SVivek Gautam	select GENERIC_PHY
1080b56e9a7SVivek Gautam	help
1090b56e9a7SVivek Gautam	  Enable this to support the Rockchip USB 2.0 PHY.
110