xref: /openbmc/linux/drivers/phy/hisilicon/Kconfig (revision fdab4786)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
20b56e9a7SVivek Gautam#
30b56e9a7SVivek Gautam# Phy drivers for Hisilicon platforms
40b56e9a7SVivek Gautam#
50b56e9a7SVivek Gautamconfig PHY_HI6220_USB
60b56e9a7SVivek Gautam	tristate "hi6220 USB PHY support"
70b56e9a7SVivek Gautam	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
8bb0e500bSMasahiro Yamada	depends on HAS_IOMEM
90b56e9a7SVivek Gautam	select GENERIC_PHY
100b56e9a7SVivek Gautam	select MFD_SYSCON
110b56e9a7SVivek Gautam	help
120b56e9a7SVivek Gautam	  Enable this to support the HISILICON HI6220 USB PHY.
130b56e9a7SVivek Gautam
140b56e9a7SVivek Gautam	  To compile this driver as a module, choose M here.
150b56e9a7SVivek Gautam
1694e487a4SYu Chenconfig PHY_HI3660_USB
1794e487a4SYu Chen	tristate "hi3660 USB PHY support"
1894e487a4SYu Chen	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
1994e487a4SYu Chen	select GENERIC_PHY
2094e487a4SYu Chen	select MFD_SYSCON
2194e487a4SYu Chen	help
2294e487a4SYu Chen	  Enable this to support the HISILICON HI3660 USB PHY.
2394e487a4SYu Chen
2494e487a4SYu Chen	  To compile this driver as a module, choose M here.
2594e487a4SYu Chen
268de6b7edSMauro Carvalho Chehabconfig PHY_HI3670_USB
278de6b7edSMauro Carvalho Chehab	tristate "hi3670 USB PHY support"
288de6b7edSMauro Carvalho Chehab	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
298de6b7edSMauro Carvalho Chehab	select GENERIC_PHY
308de6b7edSMauro Carvalho Chehab	select MFD_SYSCON
318de6b7edSMauro Carvalho Chehab	help
328de6b7edSMauro Carvalho Chehab	  Enable this to support the HISILICON HI3670 USB PHY.
338de6b7edSMauro Carvalho Chehab
348de6b7edSMauro Carvalho Chehab	  To compile this driver as a module, choose M here.
358de6b7edSMauro Carvalho Chehab
3673075011SMauro Carvalho Chehabconfig PHY_HI3670_PCIE
3773075011SMauro Carvalho Chehab	tristate "hi3670 PCIe PHY support"
3873075011SMauro Carvalho Chehab	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
3973075011SMauro Carvalho Chehab	select GENERIC_PHY
4073075011SMauro Carvalho Chehab	select MFD_SYSCON
4173075011SMauro Carvalho Chehab	help
4273075011SMauro Carvalho Chehab	  Enable this to support the HiSilicon hi3670 PCIe PHY.
4373075011SMauro Carvalho Chehab
4473075011SMauro Carvalho Chehab	  To compile this driver as a module, choose M here.
4573075011SMauro Carvalho Chehab
46d0bffd17SJianguo Sunconfig PHY_HISTB_COMBPHY
47d0bffd17SJianguo Sun	tristate "HiSilicon STB SoCs COMBPHY support"
48d0bffd17SJianguo Sun	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
49d0bffd17SJianguo Sun	select GENERIC_PHY
50d0bffd17SJianguo Sun	select MFD_SYSCON
51d0bffd17SJianguo Sun	help
52d0bffd17SJianguo Sun	  Enable this to support the HISILICON STB SoCs COMBPHY.
53d0bffd17SJianguo Sun	  If unsure, say N.
54d0bffd17SJianguo Sun
55ba8b0ee8SPengcheng Liconfig PHY_HISI_INNO_USB2
56ba8b0ee8SPengcheng Li	tristate "HiSilicon INNO USB2 PHY support"
57*fdab4786SDavid Yang	depends on ARCH_HISI || COMPILE_TEST
58ba8b0ee8SPengcheng Li	select GENERIC_PHY
59ba8b0ee8SPengcheng Li	select MFD_SYSCON
60ba8b0ee8SPengcheng Li	help
61ba8b0ee8SPengcheng Li	  Support for INNO USB2 PHY on HiSilicon SoCs. This Phy supports
62ba8b0ee8SPengcheng Li	  USB 1.5Mb/s, USB 12Mb/s, USB 480Mb/s speeds. It supports one
63ba8b0ee8SPengcheng Li	  USB host port to accept one USB device.
64ba8b0ee8SPengcheng Li
650b56e9a7SVivek Gautamconfig PHY_HIX5HD2_SATA
660b56e9a7SVivek Gautam	tristate "HIX5HD2 SATA PHY Driver"
670b56e9a7SVivek Gautam	depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
680b56e9a7SVivek Gautam	select GENERIC_PHY
690b56e9a7SVivek Gautam	select MFD_SYSCON
700b56e9a7SVivek Gautam	help
710b56e9a7SVivek Gautam	  Support for SATA PHY on Hisilicon hix5hd2 Soc.
72