blob: 64b98d242ea625b7b29d2b08e0bb2c00e83ddec5 [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
Sylwester Nawrocki069d2e22013-10-16 21:58:10 +053018config PHY_EXYNOS_MIPI_VIDEO
19 tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
Sylwester Nawrocki13454e52014-02-21 17:44:01 +010020 depends on HAS_IOMEM
21 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
22 select GENERIC_PHY
23 default y if ARCH_S5PV210 || ARCH_EXYNOS
Sylwester Nawrocki069d2e22013-10-16 21:58:10 +053024 help
25 Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
26 and EXYNOS SoCs.
27
Andrew Lunne3eae852013-12-17 21:21:50 +010028config PHY_MVEBU_SATA
29 def_bool y
Linus Torvaldscbda94e2014-04-05 15:37:40 -070030 depends on ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
Andrew Lunne3eae852013-12-17 21:21:50 +010031 depends on OF
32 select GENERIC_PHY
33
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020034config OMAP_CONTROL_PHY
35 tristate "OMAP CONTROL PHY Driver"
Jean Delvare907aa3a2014-04-19 08:51:42 +053036 depends on ARCH_OMAP2PLUS || COMPILE_TEST
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020037 help
38 Enable this to add support for the PHY part present in the control
39 module. This driver has API to power on the USB2 PHY and to write to
40 the mailbox. The mailbox is present only in omap4 and the register to
41 power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
42 additional register to power on USB3 PHY/SATA PHY/PCIE PHY
43 (PIPE3 PHY).
44
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053045config OMAP_USB2
46 tristate "OMAP USB2 PHY Driver"
47 depends on ARCH_OMAP2PLUS
Kishon Vijay Abraham I88207842013-12-06 17:51:20 +053048 depends on USB_PHY
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053049 select GENERIC_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020050 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +020051 depends on OMAP_OCP2SCP
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053052 help
53 Enable this to support the transceiver that is part of SOC. This
54 driver takes care of all the PHY functionality apart from comparator.
55 The USB OTG controller communicates with the comparator using this
56 driver.
57
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +053058config TI_PIPE3
59 tristate "TI PIPE3 PHY Driver"
60 depends on ARCH_OMAP2PLUS || COMPILE_TEST
61 select GENERIC_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020062 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +020063 depends on OMAP_OCP2SCP
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +053064 help
65 Enable this to support the PIPE3 PHY that is part of TI SOCs. This
66 driver takes care of all the PHY functionality apart from comparator.
67 This driver interacts with the "OMAP Control PHY Driver" to power
68 on/off the PHY.
69
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +053070config TWL4030_USB
71 tristate "TWL4030 USB Transceiver Driver"
72 depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
Kishon Vijay Abraham I88207842013-12-06 17:51:20 +053073 depends on USB_PHY
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +053074 select GENERIC_PHY
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +053075 help
76 Enable this to support the USB OTG transceiver on TWL4030
77 family chips (including the TWL5030 and TPS659x0 devices).
78 This transceiver supports high and full speed devices plus,
79 in host mode, low speed.
80
Jingoo Han74988e82013-10-16 21:58:14 +053081config PHY_EXYNOS_DP_VIDEO
82 tristate "EXYNOS SoC series Display Port PHY driver"
83 depends on OF
Sylwester Nawrockia50ce202014-02-21 17:44:02 +010084 depends on ARCH_EXYNOS || COMPILE_TEST
85 default ARCH_EXYNOS
Jingoo Han74988e82013-10-16 21:58:14 +053086 select GENERIC_PHY
87 help
88 Support for Display Port PHY found on Samsung EXYNOS SoCs.
89
Matt Porter7597fdf2013-12-19 09:23:09 -050090config BCM_KONA_USB2_PHY
91 tristate "Broadcom Kona USB2 PHY Driver"
Richard Weinberger06c304e2014-02-17 14:29:21 +053092 depends on HAS_IOMEM
Arnd Bergmann3fc03f32014-05-08 16:46:53 +020093 select GENERIC_PHY
Matt Porter7597fdf2013-12-19 09:23:09 -050094 help
95 Enable this to support the Broadcom Kona USB 2.0 PHY.
96
Yuvaraj Kumar C Dbcff4cb2014-03-03 10:52:39 +053097config PHY_EXYNOS5250_SATA
98 tristate "Exynos5250 Sata SerDes/PHY driver"
99 depends on SOC_EXYNOS5250
100 depends on HAS_IOMEM
101 depends on OF
102 select GENERIC_PHY
103 select I2C
104 select I2C_S3C2410
105 select MFD_SYSCON
106 help
107 Enable this to support SATA SerDes/Phy found on Samsung's
108 Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
109 SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
110 port to accept one SATA device.
111
Hans de Goedeba4bdc92014-03-01 18:09:26 +0100112config PHY_SUN4I_USB
113 tristate "Allwinner sunxi SoC USB PHY driver"
114 depends on ARCH_SUNXI && HAS_IOMEM && OF
Maxime Ripard9820ccb2014-07-10 11:54:59 +0530115 depends on RESET_CONTROLLER
Hans de Goedeba4bdc92014-03-01 18:09:26 +0100116 select GENERIC_PHY
117 help
118 Enable this to support the transceiver that is part of Allwinner
119 sunxi SoCs.
120
121 This driver controls the entire USB PHY block, both the USB OTG
122 parts, as well as the 2 regular USB 2 host PHYs.
123
Kamil Debski06fb0132014-03-06 12:16:48 +0100124config PHY_SAMSUNG_USB2
125 tristate "Samsung USB 2.0 PHY driver"
Chen Gang4732aee2014-06-10 20:04:58 +0800126 depends on HAS_IOMEM
Kamil Debski06fb0132014-03-06 12:16:48 +0100127 select GENERIC_PHY
128 select MFD_SYSCON
129 help
130 Enable this to support the Samsung USB 2.0 PHY driver for Samsung
131 SoCs. This driver provides the interface for USB 2.0 PHY. Support for
132 particular SoCs has to be enabled in addition to this driver. Number
133 and type of supported phys depends on the SoC.
134
135config PHY_EXYNOS4210_USB2
136 bool "Support for Exynos 4210"
137 depends on PHY_SAMSUNG_USB2
138 depends on CPU_EXYNOS4210
139 help
140 Enable USB PHY support for Exynos 4210. This option requires that
141 Samsung USB 2.0 PHY driver is enabled and means that support for this
142 particular SoC is compiled in the driver. In case of Exynos 4210 four
143 phys are available - device, host, HSIC0 and HSIC1.
144
145config PHY_EXYNOS4X12_USB2
146 bool "Support for Exynos 4x12"
147 depends on PHY_SAMSUNG_USB2
148 depends on (SOC_EXYNOS4212 || SOC_EXYNOS4412)
149 help
150 Enable USB PHY support for Exynos 4x12. This option requires that
151 Samsung USB 2.0 PHY driver is enabled and means that support for this
152 particular SoC is compiled in the driver. In case of Exynos 4x12 four
153 phys are available - device, host, HSIC0 and HSIC1.
Kamil Debski64bf2b22014-03-06 12:16:49 +0100154
155config PHY_EXYNOS5250_USB2
156 bool "Support for Exynos 5250"
157 depends on PHY_SAMSUNG_USB2
158 depends on SOC_EXYNOS5250
159 help
160 Enable USB PHY support for Exynos 5250. This option requires that
161 Samsung USB 2.0 PHY driver is enabled and means that support for this
162 particular SoC is compiled in the driver. In case of Exynos 5250 four
163 phys are available - device, host, HSIC0 and HSIC.
164
Vivek Gautam59025882014-05-13 15:30:16 +0530165config PHY_EXYNOS5_USBDRD
166 tristate "Exynos5 SoC series USB DRD PHY driver"
167 depends on ARCH_EXYNOS5 && OF
168 depends on HAS_IOMEM
169 select GENERIC_PHY
170 select MFD_SYSCON
171 help
172 Enable USB DRD PHY support for Exynos 5 SoC series.
173 This driver provides PHY interface for USB 3.0 DRD controller
174 present on Exynos5 SoC series.
175
Loc Ho88e670f2014-03-07 10:28:08 -0700176config PHY_XGENE
177 tristate "APM X-Gene 15Gbps PHY support"
178 depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
179 select GENERIC_PHY
180 help
181 This option enables support for APM X-Gene SoC multi-purpose PHY.
182
Kishon Vijay Abraham Iff764962013-09-27 11:53:25 +0530183endmenu