blob: 2aead8b7dc60658fbc77fca91105282898287182 [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
Sebastian Hesselbarth06c886a2014-03-01 09:33:21 +010030 depends on ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE
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"
36 help
37 Enable this to add support for the PHY part present in the control
38 module. This driver has API to power on the USB2 PHY and to write to
39 the mailbox. The mailbox is present only in omap4 and the register to
40 power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
41 additional register to power on USB3 PHY/SATA PHY/PCIE PHY
42 (PIPE3 PHY).
43
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053044config OMAP_USB2
45 tristate "OMAP USB2 PHY Driver"
46 depends on ARCH_OMAP2PLUS
Kishon Vijay Abraham I88207842013-12-06 17:51:20 +053047 depends on USB_PHY
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053048 select GENERIC_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020049 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +020050 depends on OMAP_OCP2SCP
Kishon Vijay Abraham I5d93d1e2013-09-27 11:53:26 +053051 help
52 Enable this to support the transceiver that is part of SOC. This
53 driver takes care of all the PHY functionality apart from comparator.
54 The USB OTG controller communicates with the comparator using this
55 driver.
56
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +053057config TI_PIPE3
58 tristate "TI PIPE3 PHY Driver"
59 depends on ARCH_OMAP2PLUS || COMPILE_TEST
60 select GENERIC_PHY
Kishon Vijay Abraham I14da6992014-03-06 16:38:37 +020061 select OMAP_CONTROL_PHY
Roger Quadros02133b92014-03-06 16:38:45 +020062 depends on OMAP_OCP2SCP
Kishon Vijay Abraham Ia70143b2014-03-03 17:08:12 +053063 help
64 Enable this to support the PIPE3 PHY that is part of TI SOCs. This
65 driver takes care of all the PHY functionality apart from comparator.
66 This driver interacts with the "OMAP Control PHY Driver" to power
67 on/off the PHY.
68
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +053069config TWL4030_USB
70 tristate "TWL4030 USB Transceiver Driver"
71 depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
Kishon Vijay Abraham I88207842013-12-06 17:51:20 +053072 depends on USB_PHY
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +053073 select GENERIC_PHY
Kishon Vijay Abraham I6747caa2013-09-27 11:53:27 +053074 help
75 Enable this to support the USB OTG transceiver on TWL4030
76 family chips (including the TWL5030 and TPS659x0 devices).
77 This transceiver supports high and full speed devices plus,
78 in host mode, low speed.
79
Jingoo Han74988e82013-10-16 21:58:14 +053080config PHY_EXYNOS_DP_VIDEO
81 tristate "EXYNOS SoC series Display Port PHY driver"
82 depends on OF
Sylwester Nawrockia50ce202014-02-21 17:44:02 +010083 depends on ARCH_EXYNOS || COMPILE_TEST
84 default ARCH_EXYNOS
Jingoo Han74988e82013-10-16 21:58:14 +053085 select GENERIC_PHY
86 help
87 Support for Display Port PHY found on Samsung EXYNOS SoCs.
88
Matt Porter7597fdf2013-12-19 09:23:09 -050089config BCM_KONA_USB2_PHY
90 tristate "Broadcom Kona USB2 PHY Driver"
91 depends on GENERIC_PHY
Richard Weinberger06c304e2014-02-17 14:29:21 +053092 depends on HAS_IOMEM
Matt Porter7597fdf2013-12-19 09:23:09 -050093 help
94 Enable this to support the Broadcom Kona USB 2.0 PHY.
95
Yuvaraj Kumar C Dbcff4cb2014-03-03 10:52:39 +053096config PHY_EXYNOS5250_SATA
97 tristate "Exynos5250 Sata SerDes/PHY driver"
98 depends on SOC_EXYNOS5250
99 depends on HAS_IOMEM
100 depends on OF
101 select GENERIC_PHY
102 select I2C
103 select I2C_S3C2410
104 select MFD_SYSCON
105 help
106 Enable this to support SATA SerDes/Phy found on Samsung's
107 Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
108 SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
109 port to accept one SATA device.
110
Hans de Goedeba4bdc92014-03-01 18:09:26 +0100111config PHY_SUN4I_USB
112 tristate "Allwinner sunxi SoC USB PHY driver"
113 depends on ARCH_SUNXI && HAS_IOMEM && OF
114 select GENERIC_PHY
115 help
116 Enable this to support the transceiver that is part of Allwinner
117 sunxi SoCs.
118
119 This driver controls the entire USB PHY block, both the USB OTG
120 parts, as well as the 2 regular USB 2 host PHYs.
121
Kamil Debski06fb0132014-03-06 12:16:48 +0100122config PHY_SAMSUNG_USB2
123 tristate "Samsung USB 2.0 PHY driver"
124 select GENERIC_PHY
125 select MFD_SYSCON
126 help
127 Enable this to support the Samsung USB 2.0 PHY driver for Samsung
128 SoCs. This driver provides the interface for USB 2.0 PHY. Support for
129 particular SoCs has to be enabled in addition to this driver. Number
130 and type of supported phys depends on the SoC.
131
132config PHY_EXYNOS4210_USB2
133 bool "Support for Exynos 4210"
134 depends on PHY_SAMSUNG_USB2
135 depends on CPU_EXYNOS4210
136 help
137 Enable USB PHY support for Exynos 4210. This option requires that
138 Samsung USB 2.0 PHY driver is enabled and means that support for this
139 particular SoC is compiled in the driver. In case of Exynos 4210 four
140 phys are available - device, host, HSIC0 and HSIC1.
141
142config PHY_EXYNOS4X12_USB2
143 bool "Support for Exynos 4x12"
144 depends on PHY_SAMSUNG_USB2
145 depends on (SOC_EXYNOS4212 || SOC_EXYNOS4412)
146 help
147 Enable USB PHY support for Exynos 4x12. This option requires that
148 Samsung USB 2.0 PHY driver is enabled and means that support for this
149 particular SoC is compiled in the driver. In case of Exynos 4x12 four
150 phys are available - device, host, HSIC0 and HSIC1.
Kamil Debski64bf2b22014-03-06 12:16:49 +0100151
152config PHY_EXYNOS5250_USB2
153 bool "Support for Exynos 5250"
154 depends on PHY_SAMSUNG_USB2
155 depends on SOC_EXYNOS5250
156 help
157 Enable USB PHY support for Exynos 5250. This option requires that
158 Samsung USB 2.0 PHY driver is enabled and means that support for this
159 particular SoC is compiled in the driver. In case of Exynos 5250 four
160 phys are available - device, host, HSIC0 and HSIC.
161
Kishon Vijay Abraham Iff764962013-09-27 11:53:25 +0530162endmenu