blob: 1704fd4be99ed2dcb6f1fc07c096ef602d167caf [file] [log] [blame]
Kishon Vijay Abraham Iff764962013-09-27 11:53:25 +05301#
2# PHY
3#
4
5menu "PHY Subsystem"
6
7config GENERIC_PHY
Hans de Goedeb51fbf92014-02-17 14:29:24 +05308 bool "PHY Core"
Kishon Vijay Abraham Iff764962013-09-27 11:53:25 +05309 help
10 Generic PHY support.
11
12 This framework is designed to provide a generic interface for PHY
13 devices present in the kernel. This layer will have the generic
14 API by which phy drivers can create PHY using the phy framework and
15 phy users can obtain reference to the PHY. All the users of this
16 framework should select this config.
17
Antoine Ténart942a31b2014-07-07 12:16:07 +020018config PHY_BERLIN_SATA
19 tristate "Marvell Berlin SATA PHY driver"
20 depends on ARCH_BERLIN && HAS_IOMEM && OF
21 select GENERIC_PHY
22 help
23 Enable this to support the SATA PHY on Marvell Berlin SoCs.
24
Sylwester Nawrocki069d2e22013-10-16 21:58:10 +053025config PHY_EXYNOS_MIPI_VIDEO
26 tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
Sylwester Nawrocki13454e52014-02-21 17:44:01 +010027 depends on HAS_IOMEM
28 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
29 select GENERIC_PHY
30 default y if ARCH_S5PV210 || ARCH_EXYNOS
Sylwester Nawrocki069d2e22013-10-16 21:58:10 +053031 help
32 Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
33 and EXYNOS SoCs.
34
Andrew Lunne3eae852013-12-17 21:21:50 +010035config PHY_MVEBU_SATA
36 def_bool y
Andrew Lunn74d64b52014-07-10 23:36:30 +020037 depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
Andrew Lunne3eae852013-12-17 21:21:50 +010038 depends on OF
39 select GENERIC_PHY
40
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020041config OMAP_CONTROL_PHY
42 tristate "OMAP CONTROL PHY Driver"
Jean Delvare907aa3a2014-04-19 08:51:42 +053043 depends on ARCH_OMAP2PLUS || COMPILE_TEST
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020044 help
45 Enable this to add support for the PHY part present in the control
46 module. This driver has API to power on the USB2 PHY and to write to
47 the mailbox. The mailbox is present only in omap4 and the register to
48 power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
49 additional register to power on USB3 PHY/SATA PHY/PCIE PHY
50 (PIPE3 PHY).
51
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053052config OMAP_USB2
53 tristate "OMAP USB2 PHY Driver"
54 depends on ARCH_OMAP2PLUS
Kishon Vijay Abraham I88207842013-12-06 17:51:20 +053055 depends on USB_PHY
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053056 select GENERIC_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020057 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +020058 depends on OMAP_OCP2SCP
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053059 help
60 Enable this to support the transceiver that is part of SOC. This
61 driver takes care of all the PHY functionality apart from comparator.
62 The USB OTG controller communicates with the comparator using this
63 driver.
64
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +053065config TI_PIPE3
66 tristate "TI PIPE3 PHY Driver"
67 depends on ARCH_OMAP2PLUS || COMPILE_TEST
68 select GENERIC_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020069 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +020070 depends on OMAP_OCP2SCP
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +053071 help
72 Enable this to support the PIPE3 PHY that is part of TI SOCs. This
73 driver takes care of all the PHY functionality apart from comparator.
74 This driver interacts with the "OMAP Control PHY Driver" to power
75 on/off the PHY.
76
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +053077config TWL4030_USB
78 tristate "TWL4030 USB Transceiver Driver"
79 depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
Kishon Vijay Abraham I88207842013-12-06 17:51:20 +053080 depends on USB_PHY
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +053081 select GENERIC_PHY
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +053082 help
83 Enable this to support the USB OTG transceiver on TWL4030
84 family chips (including the TWL5030 and TPS659x0 devices).
85 This transceiver supports high and full speed devices plus,
86 in host mode, low speed.
87
Jingoo Han74988e82013-10-16 21:58:14 +053088config PHY_EXYNOS_DP_VIDEO
89 tristate "EXYNOS SoC series Display Port PHY driver"
90 depends on OF
Sylwester Nawrockia50ce202014-02-21 17:44:02 +010091 depends on ARCH_EXYNOS || COMPILE_TEST
92 default ARCH_EXYNOS
Jingoo Han74988e82013-10-16 21:58:14 +053093 select GENERIC_PHY
94 help
95 Support for Display Port PHY found on Samsung EXYNOS SoCs.
96
Matt Porter7597fdf2013-12-19 09:23:09 -050097config BCM_KONA_USB2_PHY
98 tristate "Broadcom Kona USB2 PHY Driver"
Richard Weinberger06c304e2014-02-17 14:29:21 +053099 depends on HAS_IOMEM
Arnd Bergmann3fc03f32014-05-08 16:46:53 +0200100 select GENERIC_PHY
Matt Porter7597fdf2013-12-19 09:23:09 -0500101 help
102 Enable this to support the Broadcom Kona USB 2.0 PHY.
103
Yuvaraj Kumar C Dbcff4cb2014-03-03 10:52:39 +0530104config PHY_EXYNOS5250_SATA
105 tristate "Exynos5250 Sata SerDes/PHY driver"
106 depends on SOC_EXYNOS5250
107 depends on HAS_IOMEM
108 depends on OF
109 select GENERIC_PHY
110 select I2C
111 select I2C_S3C2410
112 select MFD_SYSCON
113 help
114 Enable this to support SATA SerDes/Phy found on Samsung's
115 Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
116 SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
117 port to accept one SATA device.
118
Jiancheng Xuee3794132014-07-03 22:28:38 +0800119config PHY_HIX5HD2_SATA
120 tristate "HIX5HD2 SATA PHY Driver"
121 depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
122 select GENERIC_PHY
123 select MFD_SYSCON
124 help
125 Support for SATA PHY on Hisilicon hix5hd2 Soc.
126
Hans de Goedeba4bdc92014-03-01 18:09:26 +0100127config PHY_SUN4I_USB
128 tristate "Allwinner sunxi SoC USB PHY driver"
129 depends on ARCH_SUNXI && HAS_IOMEM && OF
Maxime Ripard9820ccb2014-07-10 11:54:59 +0530130 depends on RESET_CONTROLLER
Hans de Goedeba4bdc92014-03-01 18:09:26 +0100131 select GENERIC_PHY
132 help
133 Enable this to support the transceiver that is part of Allwinner
134 sunxi SoCs.
135
136 This driver controls the entire USB PHY block, both the USB OTG
137 parts, as well as the 2 regular USB 2 host PHYs.
138
Kamil Debski06fb0132014-03-06 12:16:48 +0100139config PHY_SAMSUNG_USB2
140 tristate "Samsung USB 2.0 PHY driver"
Chen Gang4732aee2014-06-10 20:04:58 +0800141 depends on HAS_IOMEM
Sachin Kamatd6125af2014-07-14 15:38:41 +0530142 depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
Kamil Debski06fb0132014-03-06 12:16:48 +0100143 select GENERIC_PHY
144 select MFD_SYSCON
Sachin Kamatd6125af2014-07-14 15:38:41 +0530145 default ARCH_EXYNOS
Kamil Debski06fb0132014-03-06 12:16:48 +0100146 help
147 Enable this to support the Samsung USB 2.0 PHY driver for Samsung
Sachin Kamatd6125af2014-07-14 15:38:41 +0530148 SoCs. This driver provides the interface for USB 2.0 PHY. Support
149 for particular PHYs will be enabled based on the SoC type in addition
150 to this driver.
Kamil Debski06fb0132014-03-06 12:16:48 +0100151
152config PHY_EXYNOS4210_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530153 bool
Kamil Debski06fb0132014-03-06 12:16:48 +0100154 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530155 default CPU_EXYNOS4210
Kamil Debski06fb0132014-03-06 12:16:48 +0100156
157config PHY_EXYNOS4X12_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530158 bool
Kamil Debski06fb0132014-03-06 12:16:48 +0100159 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530160 default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
Kamil Debski64bf2b22014-03-06 12:16:49 +0100161
162config PHY_EXYNOS5250_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530163 bool
Kamil Debski64bf2b22014-03-06 12:16:49 +0100164 depends on PHY_SAMSUNG_USB2
Sachin Kamatd6125af2014-07-14 15:38:41 +0530165 default SOC_EXYNOS5250 || SOC_EXYNOS5420
Kamil Debski64bf2b22014-03-06 12:16:49 +0100166
Vivek Gautam59025882014-05-13 15:30:16 +0530167config PHY_EXYNOS5_USBDRD
168 tristate "Exynos5 SoC series USB DRD PHY driver"
169 depends on ARCH_EXYNOS5 && OF
170 depends on HAS_IOMEM
Sachin Kamatc233f522014-07-14 15:38:42 +0530171 depends on USB_DWC3_EXYNOS
Vivek Gautam59025882014-05-13 15:30:16 +0530172 select GENERIC_PHY
173 select MFD_SYSCON
Sachin Kamatc233f522014-07-14 15:38:42 +0530174 default y
Vivek Gautam59025882014-05-13 15:30:16 +0530175 help
176 Enable USB DRD PHY support for Exynos 5 SoC series.
177 This driver provides PHY interface for USB 3.0 DRD controller
178 present on Exynos5 SoC series.
179
Loc Ho88e670f2014-03-07 10:28:08 -0700180config PHY_XGENE
181 tristate "APM X-Gene 15Gbps PHY support"
182 depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
183 select GENERIC_PHY
184 help
185 This option enables support for APM X-Gene SoC multi-purpose PHY.
186
Srinivas Kandagatla1de990d2014-07-14 12:17:59 +0100187config PHY_QCOM_APQ8064_SATA
188 tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
189 depends on ARCH_QCOM
190 depends on HAS_IOMEM
191 depends on OF
192 select GENERIC_PHY
193
Kishon Vijay Abraham Iff764962013-09-27 11:53:25 +0530194endmenu