xref: /linux/drivers/phy/Kconfig (revision 9e7dfa4bcd4e2c3541c4ee954ea5e66edab94d3f)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2ff764963SKishon Vijay Abraham I#
3ff764963SKishon Vijay Abraham I# PHY
4ff764963SKishon Vijay Abraham I#
5ff764963SKishon Vijay Abraham I
6ff764963SKishon Vijay Abraham Imenu "PHY Subsystem"
7ff764963SKishon Vijay Abraham I
8e7556b59SVladimir Olteanconfig PHY_COMMON_PROPS
948fafffcSVladimir Oltean	bool "PHY common properties" if KUNIT_ALL_TESTS
10e7556b59SVladimir Oltean	help
11e7556b59SVladimir Oltean	  This parses properties common between generic PHYs and Ethernet PHYs.
12e7556b59SVladimir Oltean
13e7556b59SVladimir Oltean	  Select this from consumer drivers to gain access to helpers for
14e7556b59SVladimir Oltean	  parsing properties from the
15e7556b59SVladimir Oltean	  Documentation/devicetree/bindings/phy/phy-common-props.yaml schema.
16e7556b59SVladimir Oltean
17e7556b59SVladimir Olteanconfig PHY_COMMON_PROPS_TEST
18e7556b59SVladimir Oltean	tristate "KUnit tests for PHY common props" if !KUNIT_ALL_TESTS
1948fafffcSVladimir Oltean	depends on KUNIT && PHY_COMMON_PROPS
20e7556b59SVladimir Oltean	default KUNIT_ALL_TESTS
21e7556b59SVladimir Oltean	help
22e7556b59SVladimir Oltean	  This builds KUnit tests for the PHY common property API.
23e7556b59SVladimir Oltean
24e7556b59SVladimir Oltean	  For more information on KUnit and unit tests in general,
25e7556b59SVladimir Oltean	  please refer to the KUnit documentation in Documentation/dev-tools/kunit/.
26e7556b59SVladimir Oltean
27e7556b59SVladimir Oltean	  When in doubt, say N.
28e7556b59SVladimir Oltean
29ff764963SKishon Vijay Abraham Iconfig GENERIC_PHY
30b51fbf9fSHans de Goede	bool "PHY Core"
31ff764963SKishon Vijay Abraham I	help
32ff764963SKishon Vijay Abraham I	  Generic PHY support.
33ff764963SKishon Vijay Abraham I
34ff764963SKishon Vijay Abraham I	  This framework is designed to provide a generic interface for PHY
35ff764963SKishon Vijay Abraham I	  devices present in the kernel. This layer will have the generic
36ff764963SKishon Vijay Abraham I	  API by which phy drivers can create PHY using the phy framework and
37ff764963SKishon Vijay Abraham I	  phy users can obtain reference to the PHY. All the users of this
38ff764963SKishon Vijay Abraham I	  framework should select this config.
39ff764963SKishon Vijay Abraham I
40dddc97e8SMaxime Ripardconfig GENERIC_PHY_MIPI_DPHY
41dddc97e8SMaxime Ripard	bool
42d0ec7b9cSSakari Ailus	select GENERIC_PHY
43dddc97e8SMaxime Ripard	help
44dddc97e8SMaxime Ripard	  Generic MIPI D-PHY support.
45dddc97e8SMaxime Ripard
46dddc97e8SMaxime Ripard	  Provides a number of helpers a core functions for MIPI D-PHY
47dddc97e8SMaxime Ripard	  drivers to us.
48dddc97e8SMaxime Ripard
49dee40773SVinod Koulconfig PHY_AIROHA_PCIE
50dee40773SVinod Koul	tristate "Airoha PCIe-PHY Driver"
51dee40773SVinod Koul	depends on ARCH_AIROHA || COMPILE_TEST
52dee40773SVinod Koul	depends on OF
53dee40773SVinod Koul	select GENERIC_PHY
54dee40773SVinod Koul	help
55dee40773SVinod Koul	  Say Y here to add support for Airoha PCIe PHY driver.
56dee40773SVinod Koul	  This driver create the basic PHY instance and provides initialize
57dee40773SVinod Koul	  callback for PCIe GEN3 port.
58dee40773SVinod Koul
59dee40773SVinod Koulconfig PHY_CAN_TRANSCEIVER
60dee40773SVinod Koul	tristate "CAN transceiver PHY"
61dee40773SVinod Koul	select GENERIC_PHY
62dee40773SVinod Koul	select MULTIPLEXER
63dee40773SVinod Koul	help
64dee40773SVinod Koul	  This option enables support for CAN transceivers as a PHY. This
65dee40773SVinod Koul	  driver provides function for putting the transceivers in various
66dee40773SVinod Koul	  functional modes using gpios and sets the attribute max link
67dee40773SVinod Koul	  rate, for CAN drivers.
68dee40773SVinod Koul
69cbce6666SRoy Luoconfig PHY_GOOGLE_USB
70cbce6666SRoy Luo	tristate "Google Tensor SoC USB PHY driver"
71cbce6666SRoy Luo	select GENERIC_PHY
728a139684SArnd Bergmann	depends on TYPEC
73cbce6666SRoy Luo	help
74cbce6666SRoy Luo	  Enable support for the USB PHY on Google Tensor SoCs, starting with
75cbce6666SRoy Luo	  the G5 generation (Laguna). This driver provides the PHY interfaces
76cbce6666SRoy Luo	  to interact with the SNPS eUSB2 and USB 3.2/DisplayPort Combo PHY,
77cbce6666SRoy Luo	  both of which are integrated with the DWC3 USB DRD controller.
78cbce6666SRoy Luo	  This driver currently supports USB high-speed.
79cbce6666SRoy Luo
80dee40773SVinod Koulconfig USB_LGM_PHY
81dee40773SVinod Koul	tristate "INTEL Lightning Mountain USB PHY Driver"
82dee40773SVinod Koul	depends on USB_SUPPORT
83dee40773SVinod Koul	depends on X86 || COMPILE_TEST
84dee40773SVinod Koul	select USB_PHY
85dee40773SVinod Koul	select REGULATOR
86dee40773SVinod Koul	select REGULATOR_FIXED_VOLTAGE
87dee40773SVinod Koul	help
88dee40773SVinod Koul	  Enable this to support Intel DWC3 PHY USB phy. This driver provides
89dee40773SVinod Koul	  interface to interact with USB GEN-II and USB 3.x PHY that is part
90dee40773SVinod Koul	  of the Intel network SOC.
91dee40773SVinod Koul
92cbf919bdSJoachim Eastwoodconfig PHY_LPC18XX_USB_OTG
93cbf919bdSJoachim Eastwood	tristate "NXP LPC18xx/43xx SoC USB OTG PHY driver"
94cbf919bdSJoachim Eastwood	depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
95cbf919bdSJoachim Eastwood	depends on MFD_SYSCON
96cbf919bdSJoachim Eastwood	select GENERIC_PHY
97cbf919bdSJoachim Eastwood	help
98cbf919bdSJoachim Eastwood	  Enable this to support NXP LPC18xx/43xx internal USB OTG PHY.
99cbf919bdSJoachim Eastwood
100cbf919bdSJoachim Eastwood	  This driver is need for USB0 support on LPC18xx/43xx and takes
101cbf919bdSJoachim Eastwood	  care of enabling and clock setup.
102cbf919bdSJoachim Eastwood
103dee40773SVinod Koulconfig PHY_NXP_PTN3222
104dee40773SVinod Koul	tristate "NXP PTN3222 1-port eUSB2 to USB2 redriver"
105dee40773SVinod Koul	depends on I2C
106dee40773SVinod Koul	depends on OF
107dee40773SVinod Koul	select GENERIC_PHY
108dee40773SVinod Koul	help
109dee40773SVinod Koul	  Enable this to support NXP PTN3222 1-port eUSB2 to USB2 Redriver.
110dee40773SVinod Koul	  This redriver performs translation between eUSB2 and USB2 signalling
111dee40773SVinod Koul	  schemes. It supports all three USB 2.0 data rates: Low Speed, Full
112dee40773SVinod Koul	  Speed and High Speed.
113dee40773SVinod Koul
11457991ebaSAndrew Brestickerconfig PHY_PISTACHIO_USB
11557991ebaSAndrew Bresticker	tristate "IMG Pistachio USB2.0 PHY driver"
116e238f10dSJiaxun Yang	depends on MIPS || COMPILE_TEST
11757991ebaSAndrew Bresticker	select GENERIC_PHY
11857991ebaSAndrew Bresticker	help
11957991ebaSAndrew Bresticker	  Enable this to support the USB2.0 PHY on the IMG Pistachio SoC.
12057991ebaSAndrew Bresticker
1218d3b5f63SIvaylo Ivanovconfig PHY_SNPS_EUSB2
1228d3b5f63SIvaylo Ivanov	tristate "SNPS eUSB2 PHY Driver"
123c4098f3eSIvaylo Ivanov	depends on OF && (ARCH_EXYNOS || ARCH_QCOM || COMPILE_TEST)
1248d3b5f63SIvaylo Ivanov	select GENERIC_PHY
1258d3b5f63SIvaylo Ivanov	help
1268d3b5f63SIvaylo Ivanov	  Enable support for the USB high-speed SNPS eUSB2 phy on select
1278d3b5f63SIvaylo Ivanov	  SoCs. The PHY is usually paired with a Synopsys DWC3 USB controller.
1288d3b5f63SIvaylo Ivanov
12910c8e056SLinus Torvaldsconfig PHY_XGENE
13010c8e056SLinus Torvalds	tristate "APM X-Gene 15Gbps PHY support"
13184a59a31SMark Brown	depends on HAS_IOMEM && OF && (ARCH_XGENE || COMPILE_TEST)
13210c8e056SLinus Torvalds	select GENERIC_PHY
13310c8e056SLinus Torvalds	help
13410c8e056SLinus Torvalds	  This option enables support for APM X-Gene SoC multi-purpose PHY.
13510c8e056SLinus Torvalds
1360b56e9a7SVivek Gautamsource "drivers/phy/allwinner/Kconfig"
1370b56e9a7SVivek Gautamsource "drivers/phy/amlogic/Kconfig"
1388e98ca1eSSven Petersource "drivers/phy/apple/Kconfig"
139*9e7dfa4bSSriNavmani Asource "drivers/phy/axiado/Kconfig"
1400b56e9a7SVivek Gautamsource "drivers/phy/broadcom/Kconfig"
141c8b427edSScott Telfordsource "drivers/phy/cadence/Kconfig"
1428787fa1dSJiayu Dusource "drivers/phy/canaan/Kconfig"
14367ee9ccaSYulin Lusource "drivers/phy/eswin/Kconfig"
144efe81beaSLi Junsource "drivers/phy/freescale/Kconfig"
1450b56e9a7SVivek Gautamsource "drivers/phy/hisilicon/Kconfig"
14631de313dS周琰杰 (Zhou Yanjie)source "drivers/phy/ingenic/Kconfig"
147dee40773SVinod Koulsource "drivers/phy/intel/Kconfig"
148dea54fbaSHauke Mehrtenssource "drivers/phy/lantiq/Kconfig"
1490b56e9a7SVivek Gautamsource "drivers/phy/marvell/Kconfig"
150cd4ec4b0SChunfeng Yunsource "drivers/phy/mediatek/Kconfig"
1512ff8a1eeSSteen Hegelundsource "drivers/phy/microchip/Kconfig"
1526d6ce40fSTony Lindgrensource "drivers/phy/motorola/Kconfig"
15351f6b410SQuentin Schulzsource "drivers/phy/mscc/Kconfig"
154b48baf69SHui-Ping Chensource "drivers/phy/nuvoton/Kconfig"
1550b56e9a7SVivek Gautamsource "drivers/phy/qualcomm/Kconfig"
1562411a736SJohn Crispinsource "drivers/phy/ralink/Kconfig"
157eeda4945SStanley Changsource "drivers/phy/realtek/Kconfig"
1580b56e9a7SVivek Gautamsource "drivers/phy/renesas/Kconfig"
1590b56e9a7SVivek Gautamsource "drivers/phy/rockchip/Kconfig"
1600b56e9a7SVivek Gautamsource "drivers/phy/samsung/Kconfig"
1615ab43d0fSKunihiko Hayashisource "drivers/phy/socionext/Kconfig"
162f0c6d776SInochi Amaotosource "drivers/phy/sophgo/Kconfig"
163fe4bc1a0SZe Huangsource "drivers/phy/spacemit/Kconfig"
1640b56e9a7SVivek Gautamsource "drivers/phy/st/Kconfig"
16516d3a71cSMinda Chensource "drivers/phy/starfive/Kconfig"
16699d9ccd9SVincent Shihsource "drivers/phy/sunplus/Kconfig"
16753d2a715SThierry Redingsource "drivers/phy/tegra/Kconfig"
1680b56e9a7SVivek Gautamsource "drivers/phy/ti/Kconfig"
1694a33bea0SAnurag Kumar Vulishasource "drivers/phy/xilinx/Kconfig"
1707965ba05SMartin Blumenstingl
171ff764963SKishon Vijay Abraham Iendmenu
172