162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Phy drivers for Hisilicon platforms
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ciconfig PHY_HI6220_USB
662306a36Sopenharmony_ci	tristate "hi6220 USB PHY support"
762306a36Sopenharmony_ci	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
862306a36Sopenharmony_ci	depends on HAS_IOMEM
962306a36Sopenharmony_ci	select GENERIC_PHY
1062306a36Sopenharmony_ci	select MFD_SYSCON
1162306a36Sopenharmony_ci	help
1262306a36Sopenharmony_ci	  Enable this to support the HISILICON HI6220 USB PHY.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci	  To compile this driver as a module, choose M here.
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciconfig PHY_HI3660_USB
1762306a36Sopenharmony_ci	tristate "hi3660 USB PHY support"
1862306a36Sopenharmony_ci	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
1962306a36Sopenharmony_ci	select GENERIC_PHY
2062306a36Sopenharmony_ci	select MFD_SYSCON
2162306a36Sopenharmony_ci	help
2262306a36Sopenharmony_ci	  Enable this to support the HISILICON HI3660 USB PHY.
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci	  To compile this driver as a module, choose M here.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciconfig PHY_HI3670_USB
2762306a36Sopenharmony_ci	tristate "hi3670 USB PHY support"
2862306a36Sopenharmony_ci	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
2962306a36Sopenharmony_ci	select GENERIC_PHY
3062306a36Sopenharmony_ci	select MFD_SYSCON
3162306a36Sopenharmony_ci	help
3262306a36Sopenharmony_ci	  Enable this to support the HISILICON HI3670 USB PHY.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci	  To compile this driver as a module, choose M here.
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ciconfig PHY_HI3670_PCIE
3762306a36Sopenharmony_ci	tristate "hi3670 PCIe PHY support"
3862306a36Sopenharmony_ci	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
3962306a36Sopenharmony_ci	select GENERIC_PHY
4062306a36Sopenharmony_ci	select MFD_SYSCON
4162306a36Sopenharmony_ci	help
4262306a36Sopenharmony_ci	  Enable this to support the HiSilicon hi3670 PCIe PHY.
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci	  To compile this driver as a module, choose M here.
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ciconfig PHY_HISTB_COMBPHY
4762306a36Sopenharmony_ci	tristate "HiSilicon STB SoCs COMBPHY support"
4862306a36Sopenharmony_ci	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
4962306a36Sopenharmony_ci	select GENERIC_PHY
5062306a36Sopenharmony_ci	select MFD_SYSCON
5162306a36Sopenharmony_ci	help
5262306a36Sopenharmony_ci	  Enable this to support the HISILICON STB SoCs COMBPHY.
5362306a36Sopenharmony_ci	  If unsure, say N.
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ciconfig PHY_HISI_INNO_USB2
5662306a36Sopenharmony_ci	tristate "HiSilicon INNO USB2 PHY support"
5762306a36Sopenharmony_ci	depends on ARCH_HISI || COMPILE_TEST
5862306a36Sopenharmony_ci	select GENERIC_PHY
5962306a36Sopenharmony_ci	select MFD_SYSCON
6062306a36Sopenharmony_ci	help
6162306a36Sopenharmony_ci	  Support for INNO USB2 PHY on HiSilicon SoCs. This Phy supports
6262306a36Sopenharmony_ci	  USB 1.5Mb/s, USB 12Mb/s, USB 480Mb/s speeds. It supports one
6362306a36Sopenharmony_ci	  USB host port to accept one USB device.
6462306a36Sopenharmony_ci
6562306a36Sopenharmony_ciconfig PHY_HIX5HD2_SATA
6662306a36Sopenharmony_ci	tristate "HIX5HD2 SATA PHY Driver"
6762306a36Sopenharmony_ci	depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
6862306a36Sopenharmony_ci	select GENERIC_PHY
6962306a36Sopenharmony_ci	select MFD_SYSCON
7062306a36Sopenharmony_ci	help
7162306a36Sopenharmony_ci	  Support for SATA PHY on Hisilicon hix5hd2 Soc.
72