3bb05f17b9b4edcd05cc15e582aa049e64d01df5
[pandora-kernel.git] / drivers / phy / Kconfig
1 #
2 # PHY
3 #
4
5 menu "PHY Subsystem"
6
7 config GENERIC_PHY
8         bool "PHY Core"
9         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
18 config PHY_EXYNOS_MIPI_VIDEO
19         tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
20         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
24         help
25           Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
26           and EXYNOS SoCs.
27
28 config PHY_MVEBU_SATA
29         def_bool y
30         depends on ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
31         depends on OF
32         select GENERIC_PHY
33
34 config 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
44 config OMAP_USB2
45         tristate "OMAP USB2 PHY Driver"
46         depends on ARCH_OMAP2PLUS
47         depends on USB_PHY
48         select GENERIC_PHY
49         select OMAP_CONTROL_PHY
50         depends on OMAP_OCP2SCP
51         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
57 config TI_PIPE3
58         tristate "TI PIPE3 PHY Driver"
59         depends on ARCH_OMAP2PLUS || COMPILE_TEST
60         select GENERIC_PHY
61         select OMAP_CONTROL_PHY
62         depends on OMAP_OCP2SCP
63         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
69 config TWL4030_USB
70         tristate "TWL4030 USB Transceiver Driver"
71         depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
72         depends on USB_PHY
73         select GENERIC_PHY
74         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
80 config PHY_EXYNOS_DP_VIDEO
81         tristate "EXYNOS SoC series Display Port PHY driver"
82         depends on OF
83         depends on ARCH_EXYNOS || COMPILE_TEST
84         default ARCH_EXYNOS
85         select GENERIC_PHY
86         help
87           Support for Display Port PHY found on Samsung EXYNOS SoCs.
88
89 config BCM_KONA_USB2_PHY
90         tristate "Broadcom Kona USB2 PHY Driver"
91         depends on GENERIC_PHY
92         depends on HAS_IOMEM
93         help
94           Enable this to support the Broadcom Kona USB 2.0 PHY.
95
96 config 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
111 config 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
122 config 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
132 config 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
142 config 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.
151
152 config 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
162 config PHY_XGENE
163         tristate "APM X-Gene 15Gbps PHY support"
164         depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
165         select GENERIC_PHY
166         help
167           This option enables support for APM X-Gene SoC multi-purpose PHY.
168
169 endmenu