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 86553be283SCristian Ciocalteaconfig PHY_ROCKCHIP_SAMSUNG_DCPHY 87553be283SCristian Ciocaltea tristate "Rockchip Samsung MIPI DCPHY driver" 88553be283SCristian Ciocaltea depends on (ARCH_ROCKCHIP || COMPILE_TEST) 89d8f9d6d8SCristian Ciocaltea select GENERIC_PHY 90edf9e049SCristian Ciocaltea select GENERIC_PHY_MIPI_DPHY 91553be283SCristian Ciocaltea help 92edf9e049SCristian Ciocaltea Enable this to support the Rockchip MIPI DCPHY with 93e1c9216bSCristian Ciocaltea Samsung IP block. 94553be283SCristian Ciocaltea 95553be283SCristian Ciocaltea To compile this driver as a module, choose M here: the module 96553be283SCristian Ciocaltea will be called phy-rockchip-samsung-dcphy 97553be283SCristian Ciocaltea 982e9bffc4SShawn Linconfig PHY_ROCKCHIP_SAMSUNG_HDPTX 992e9bffc4SShawn Lin tristate "Rockchip Samsung HDMI/eDP Combo PHY driver" 1002e9bffc4SShawn Lin depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF 1012e9bffc4SShawn Lin depends on COMMON_CLK 1022e9bffc4SShawn Lin depends on HAS_IOMEM 1032e9bffc4SShawn Lin select GENERIC_PHY 1042e9bffc4SShawn Lin select MFD_SYSCON 1052e9bffc4SShawn Lin select RATIONAL 1062e9bffc4SShawn Lin help 1070b56e9a7SVivek Gautam Enable this to support the Rockchip HDMI/eDP Combo PHY 1080b56e9a7SVivek Gautam with Samsung IP block. 1090b56e9a7SVivek Gautam 1100b56e9a7SVivek Gautamconfig PHY_ROCKCHIP_SNPS_PCIE3 1110b56e9a7SVivek Gautam tristate "Rockchip Snps PCIe3 PHY Driver" 1120b56e9a7SVivek Gautam depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST 1130b56e9a7SVivek Gautam depends on HAS_IOMEM 1140b56e9a7SVivek Gautam select GENERIC_PHY 1150b56e9a7SVivek Gautam select MFD_SYSCON 1160b56e9a7SVivek Gautam help 1170b56e9a7SVivek Gautam Enable this to support the Rockchip snps PCIe3 PHY. 1180b56e9a7SVivek Gautam 1190b56e9a7SVivek Gautamconfig PHY_ROCKCHIP_TYPEC 1200b56e9a7SVivek Gautam tristate "Rockchip TYPEC PHY Driver" 1210b56e9a7SVivek Gautam depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST) 1222f70bbddSSebastian Reichel select EXTCON 1232f70bbddSSebastian Reichel select GENERIC_PHY 1242f70bbddSSebastian Reichel select RESET_CONTROLLER 1252f70bbddSSebastian Reichel help 1269c79b779SArnd Bergmann Enable this to support the Rockchip USB TYPEC PHY. 1272f70bbddSSebastian Reichel 128*fcf5d353SArnd Bergmannconfig PHY_ROCKCHIP_USB 1292f70bbddSSebastian Reichel tristate "Rockchip USB2 PHY Driver" 1302f70bbddSSebastian Reichel depends on ARCH_ROCKCHIP && OF 1312f70bbddSSebastian Reichel select GENERIC_PHY 1322f70bbddSSebastian Reichel help 1332f70bbddSSebastian Reichel Enable this to support the Rockchip USB 2.0 PHY. 1342f70bbddSSebastian Reichel 135config PHY_ROCKCHIP_USBDP 136 tristate "Rockchip USBDP COMBO PHY Driver" 137 depends on ARCH_ROCKCHIP && OF 138 depends on TYPEC 139 select GENERIC_PHY 140 select USB_COMMON 141 help 142 Enable this to support the Rockchip USB3.0/DP combo PHY with 143 Samsung IP block. This is required for USB3 support on RK3588. 144 145 To compile this driver as a module, choose M here: the module 146 will be called phy-rockchip-usbdp 147