xref: /openbmc/linux/drivers/phy/rockchip/Kconfig (revision bd1f775d)
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
51*bd1f775dSHeiko Stuebnerconfig PHY_ROCKCHIP_INNO_CSIDPHY
52*bd1f775dSHeiko Stuebner	tristate "Rockchip Innosilicon MIPI CSI PHY driver"
53*bd1f775dSHeiko Stuebner	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
54*bd1f775dSHeiko Stuebner	select GENERIC_PHY
55*bd1f775dSHeiko Stuebner	select GENERIC_PHY_MIPI_DPHY
56*bd1f775dSHeiko Stuebner	help
57*bd1f775dSHeiko Stuebner	  Enable this to support the Rockchip MIPI CSI PHY with
58*bd1f775dSHeiko Stuebner	  Innosilicon IP block.
59*bd1f775dSHeiko 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
690b56e9a7SVivek Gautamconfig PHY_ROCKCHIP_PCIE
700b56e9a7SVivek Gautam	tristate "Rockchip PCIe PHY Driver"
710b56e9a7SVivek Gautam	depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
72bb0e500bSMasahiro Yamada	depends on HAS_IOMEM
730b56e9a7SVivek Gautam	select GENERIC_PHY
740b56e9a7SVivek Gautam	select MFD_SYSCON
750b56e9a7SVivek Gautam	help
760b56e9a7SVivek Gautam	  Enable this to support the Rockchip PCIe PHY.
770b56e9a7SVivek Gautam
780b56e9a7SVivek Gautamconfig PHY_ROCKCHIP_TYPEC
790b56e9a7SVivek Gautam	tristate "Rockchip TYPEC PHY Driver"
800b56e9a7SVivek Gautam	depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
810b56e9a7SVivek Gautam	select EXTCON
820b56e9a7SVivek Gautam	select GENERIC_PHY
830b56e9a7SVivek Gautam	select RESET_CONTROLLER
840b56e9a7SVivek Gautam	help
850b56e9a7SVivek Gautam	  Enable this to support the Rockchip USB TYPEC PHY.
860b56e9a7SVivek Gautam
870b56e9a7SVivek Gautamconfig PHY_ROCKCHIP_USB
880b56e9a7SVivek Gautam	tristate "Rockchip USB2 PHY Driver"
890b56e9a7SVivek Gautam	depends on ARCH_ROCKCHIP && OF
900b56e9a7SVivek Gautam	select GENERIC_PHY
910b56e9a7SVivek Gautam	help
920b56e9a7SVivek Gautam	  Enable this to support the Rockchip USB 2.0 PHY.
93