xref: /openbmc/linux/drivers/phy/rockchip/Kconfig (revision 37abc181)
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
3553706a11SZheng Yang	select GENERIC_PHY
3653706a11SZheng Yang	help
3753706a11SZheng Yang	  Enable this to support the Rockchip Innosilicon HDMI PHY.
3853706a11SZheng Yang
390b56e9a7SVivek Gautamconfig PHY_ROCKCHIP_INNO_USB2
400b56e9a7SVivek Gautam	tristate "Rockchip INNO USB2PHY Driver"
410b56e9a7SVivek Gautam	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
420b56e9a7SVivek Gautam	depends on COMMON_CLK
430b56e9a7SVivek Gautam	depends on EXTCON
440b56e9a7SVivek Gautam	depends on USB_SUPPORT
450b56e9a7SVivek Gautam	select GENERIC_PHY
460b56e9a7SVivek Gautam	select USB_COMMON
470b56e9a7SVivek Gautam	help
480b56e9a7SVivek Gautam	  Support for Rockchip USB2.0 PHY with Innosilicon IP block.
490b56e9a7SVivek Gautam
50b7535a3bSWyon Biconfig PHY_ROCKCHIP_INNO_DSIDPHY
51b7535a3bSWyon Bi	tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver"
52b7535a3bSWyon Bi	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
53b7535a3bSWyon Bi	select GENERIC_PHY
54f0684c1aSHeiko Stuebner	select GENERIC_PHY_MIPI_DPHY
55b7535a3bSWyon Bi	help
56b7535a3bSWyon Bi	  Enable this to support the Rockchip MIPI/LVDS/TTL PHY with
57b7535a3bSWyon Bi	  Innosilicon IP block.
58b7535a3bSWyon Bi
590b56e9a7SVivek Gautamconfig PHY_ROCKCHIP_PCIE
600b56e9a7SVivek Gautam	tristate "Rockchip PCIe PHY Driver"
610b56e9a7SVivek Gautam	depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
62bb0e500bSMasahiro Yamada	depends on HAS_IOMEM
630b56e9a7SVivek Gautam	select GENERIC_PHY
640b56e9a7SVivek Gautam	select MFD_SYSCON
650b56e9a7SVivek Gautam	help
660b56e9a7SVivek Gautam	  Enable this to support the Rockchip PCIe PHY.
670b56e9a7SVivek Gautam
680b56e9a7SVivek Gautamconfig PHY_ROCKCHIP_TYPEC
690b56e9a7SVivek Gautam	tristate "Rockchip TYPEC PHY Driver"
700b56e9a7SVivek Gautam	depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
710b56e9a7SVivek Gautam	select EXTCON
720b56e9a7SVivek Gautam	select GENERIC_PHY
730b56e9a7SVivek Gautam	select RESET_CONTROLLER
740b56e9a7SVivek Gautam	help
750b56e9a7SVivek Gautam	  Enable this to support the Rockchip USB TYPEC PHY.
760b56e9a7SVivek Gautam
770b56e9a7SVivek Gautamconfig PHY_ROCKCHIP_USB
780b56e9a7SVivek Gautam	tristate "Rockchip USB2 PHY Driver"
790b56e9a7SVivek Gautam	depends on ARCH_ROCKCHIP && OF
800b56e9a7SVivek Gautam	select GENERIC_PHY
810b56e9a7SVivek Gautam	help
820b56e9a7SVivek Gautam	  Enable this to support the Rockchip USB 2.0 PHY.
83