Kishon Vijay Abraham I | ff76496 | 2013-09-27 11:53:25 +0530 | [diff] [blame] | 1 | # |
| 2 | # PHY |
| 3 | # |
| 4 | |
| 5 | menu "PHY Subsystem" |
| 6 | |
| 7 | config GENERIC_PHY |
Hans de Goede | b51fbf9 | 2014-02-17 14:29:24 +0530 | [diff] [blame] | 8 | bool "PHY Core" |
Kishon Vijay Abraham I | ff76496 | 2013-09-27 11:53:25 +0530 | [diff] [blame] | 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 | |
Sylwester Nawrocki | 069d2e2 | 2013-10-16 21:58:10 +0530 | [diff] [blame] | 18 | config PHY_EXYNOS_MIPI_VIDEO |
| 19 | tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver" |
Sylwester Nawrocki | 13454e5 | 2014-02-21 17:44:01 +0100 | [diff] [blame] | 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 |
Sylwester Nawrocki | 069d2e2 | 2013-10-16 21:58:10 +0530 | [diff] [blame] | 24 | help |
| 25 | Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P |
| 26 | and EXYNOS SoCs. |
| 27 | |
Andrew Lunn | e3eae85 | 2013-12-17 21:21:50 +0100 | [diff] [blame] | 28 | config PHY_MVEBU_SATA |
| 29 | def_bool y |
Linus Torvalds | cbda94e | 2014-04-05 15:37:40 -0700 | [diff] [blame] | 30 | depends on ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD |
Andrew Lunn | e3eae85 | 2013-12-17 21:21:50 +0100 | [diff] [blame] | 31 | depends on OF |
| 32 | select GENERIC_PHY |
| 33 | |
Kishon Vijay Abraham I | 14da699 | 2014-03-06 16:38:37 +0200 | [diff] [blame] | 34 | config OMAP_CONTROL_PHY |
| 35 | tristate "OMAP CONTROL PHY Driver" |
Jean Delvare | 907aa3a | 2014-04-19 08:51:42 +0530 | [diff] [blame] | 36 | depends on ARCH_OMAP2PLUS || COMPILE_TEST |
Kishon Vijay Abraham I | 14da699 | 2014-03-06 16:38:37 +0200 | [diff] [blame] | 37 | 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 I | 5d93d1e | 2013-09-27 11:53:26 +0530 | [diff] [blame] | 45 | config OMAP_USB2 |
| 46 | tristate "OMAP USB2 PHY Driver" |
| 47 | depends on ARCH_OMAP2PLUS |
Kishon Vijay Abraham I | 8820784 | 2013-12-06 17:51:20 +0530 | [diff] [blame] | 48 | depends on USB_PHY |
Kishon Vijay Abraham I | 5d93d1e | 2013-09-27 11:53:26 +0530 | [diff] [blame] | 49 | select GENERIC_PHY |
Kishon Vijay Abraham I | 14da699 | 2014-03-06 16:38:37 +0200 | [diff] [blame] | 50 | select OMAP_CONTROL_PHY |
Roger Quadros | 02133b9 | 2014-03-06 16:38:45 +0200 | [diff] [blame] | 51 | depends on OMAP_OCP2SCP |
Kishon Vijay Abraham I | 5d93d1e | 2013-09-27 11:53:26 +0530 | [diff] [blame] | 52 | 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 I | a70143b | 2014-03-03 17:08:12 +0530 | [diff] [blame] | 58 | config TI_PIPE3 |
| 59 | tristate "TI PIPE3 PHY Driver" |
| 60 | depends on ARCH_OMAP2PLUS || COMPILE_TEST |
| 61 | select GENERIC_PHY |
Kishon Vijay Abraham I | 14da699 | 2014-03-06 16:38:37 +0200 | [diff] [blame] | 62 | select OMAP_CONTROL_PHY |
Roger Quadros | 02133b9 | 2014-03-06 16:38:45 +0200 | [diff] [blame] | 63 | depends on OMAP_OCP2SCP |
Kishon Vijay Abraham I | a70143b | 2014-03-03 17:08:12 +0530 | [diff] [blame] | 64 | 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 I | 6747caa | 2013-09-27 11:53:27 +0530 | [diff] [blame] | 70 | config TWL4030_USB |
| 71 | tristate "TWL4030 USB Transceiver Driver" |
| 72 | depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS |
Kishon Vijay Abraham I | 8820784 | 2013-12-06 17:51:20 +0530 | [diff] [blame] | 73 | depends on USB_PHY |
Kishon Vijay Abraham I | 6747caa | 2013-09-27 11:53:27 +0530 | [diff] [blame] | 74 | select GENERIC_PHY |
Kishon Vijay Abraham I | 6747caa | 2013-09-27 11:53:27 +0530 | [diff] [blame] | 75 | 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 Han | 74988e8 | 2013-10-16 21:58:14 +0530 | [diff] [blame] | 81 | config PHY_EXYNOS_DP_VIDEO |
| 82 | tristate "EXYNOS SoC series Display Port PHY driver" |
| 83 | depends on OF |
Sylwester Nawrocki | a50ce20 | 2014-02-21 17:44:02 +0100 | [diff] [blame] | 84 | depends on ARCH_EXYNOS || COMPILE_TEST |
| 85 | default ARCH_EXYNOS |
Jingoo Han | 74988e8 | 2013-10-16 21:58:14 +0530 | [diff] [blame] | 86 | select GENERIC_PHY |
| 87 | help |
| 88 | Support for Display Port PHY found on Samsung EXYNOS SoCs. |
| 89 | |
Matt Porter | 7597fdf | 2013-12-19 09:23:09 -0500 | [diff] [blame] | 90 | config BCM_KONA_USB2_PHY |
| 91 | tristate "Broadcom Kona USB2 PHY Driver" |
Richard Weinberger | 06c304e | 2014-02-17 14:29:21 +0530 | [diff] [blame] | 92 | depends on HAS_IOMEM |
Arnd Bergmann | 3fc03f3 | 2014-05-08 16:46:53 +0200 | [diff] [blame] | 93 | select GENERIC_PHY |
Matt Porter | 7597fdf | 2013-12-19 09:23:09 -0500 | [diff] [blame] | 94 | help |
| 95 | Enable this to support the Broadcom Kona USB 2.0 PHY. |
| 96 | |
Yuvaraj Kumar C D | bcff4cb | 2014-03-03 10:52:39 +0530 | [diff] [blame] | 97 | config 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 | |
Jiancheng Xue | e379413 | 2014-07-03 22:28:38 +0800 | [diff] [blame] | 112 | config PHY_HIX5HD2_SATA |
| 113 | tristate "HIX5HD2 SATA PHY Driver" |
| 114 | depends on ARCH_HIX5HD2 && OF && HAS_IOMEM |
| 115 | select GENERIC_PHY |
| 116 | select MFD_SYSCON |
| 117 | help |
| 118 | Support for SATA PHY on Hisilicon hix5hd2 Soc. |
| 119 | |
Hans de Goede | ba4bdc9 | 2014-03-01 18:09:26 +0100 | [diff] [blame] | 120 | config PHY_SUN4I_USB |
| 121 | tristate "Allwinner sunxi SoC USB PHY driver" |
| 122 | depends on ARCH_SUNXI && HAS_IOMEM && OF |
Maxime Ripard | 9820ccb | 2014-07-10 11:54:59 +0530 | [diff] [blame] | 123 | depends on RESET_CONTROLLER |
Hans de Goede | ba4bdc9 | 2014-03-01 18:09:26 +0100 | [diff] [blame] | 124 | select GENERIC_PHY |
| 125 | help |
| 126 | Enable this to support the transceiver that is part of Allwinner |
| 127 | sunxi SoCs. |
| 128 | |
| 129 | This driver controls the entire USB PHY block, both the USB OTG |
| 130 | parts, as well as the 2 regular USB 2 host PHYs. |
| 131 | |
Kamil Debski | 06fb013 | 2014-03-06 12:16:48 +0100 | [diff] [blame] | 132 | config PHY_SAMSUNG_USB2 |
| 133 | tristate "Samsung USB 2.0 PHY driver" |
Chen Gang | 4732aee | 2014-06-10 20:04:58 +0800 | [diff] [blame] | 134 | depends on HAS_IOMEM |
Sachin Kamat | d6125af | 2014-07-14 15:38:41 +0530 | [diff] [blame] | 135 | depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2 |
Kamil Debski | 06fb013 | 2014-03-06 12:16:48 +0100 | [diff] [blame] | 136 | select GENERIC_PHY |
| 137 | select MFD_SYSCON |
Sachin Kamat | d6125af | 2014-07-14 15:38:41 +0530 | [diff] [blame] | 138 | default ARCH_EXYNOS |
Kamil Debski | 06fb013 | 2014-03-06 12:16:48 +0100 | [diff] [blame] | 139 | help |
| 140 | Enable this to support the Samsung USB 2.0 PHY driver for Samsung |
Sachin Kamat | d6125af | 2014-07-14 15:38:41 +0530 | [diff] [blame] | 141 | SoCs. This driver provides the interface for USB 2.0 PHY. Support |
| 142 | for particular PHYs will be enabled based on the SoC type in addition |
| 143 | to this driver. |
Kamil Debski | 06fb013 | 2014-03-06 12:16:48 +0100 | [diff] [blame] | 144 | |
| 145 | config PHY_EXYNOS4210_USB2 |
Sachin Kamat | d6125af | 2014-07-14 15:38:41 +0530 | [diff] [blame] | 146 | bool |
Kamil Debski | 06fb013 | 2014-03-06 12:16:48 +0100 | [diff] [blame] | 147 | depends on PHY_SAMSUNG_USB2 |
Sachin Kamat | d6125af | 2014-07-14 15:38:41 +0530 | [diff] [blame] | 148 | default CPU_EXYNOS4210 |
Kamil Debski | 06fb013 | 2014-03-06 12:16:48 +0100 | [diff] [blame] | 149 | |
| 150 | config PHY_EXYNOS4X12_USB2 |
Sachin Kamat | d6125af | 2014-07-14 15:38:41 +0530 | [diff] [blame] | 151 | bool |
Kamil Debski | 06fb013 | 2014-03-06 12:16:48 +0100 | [diff] [blame] | 152 | depends on PHY_SAMSUNG_USB2 |
Sachin Kamat | d6125af | 2014-07-14 15:38:41 +0530 | [diff] [blame] | 153 | default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412 |
Kamil Debski | 64bf2b2 | 2014-03-06 12:16:49 +0100 | [diff] [blame] | 154 | |
| 155 | config PHY_EXYNOS5250_USB2 |
Sachin Kamat | d6125af | 2014-07-14 15:38:41 +0530 | [diff] [blame] | 156 | bool |
Kamil Debski | 64bf2b2 | 2014-03-06 12:16:49 +0100 | [diff] [blame] | 157 | depends on PHY_SAMSUNG_USB2 |
Sachin Kamat | d6125af | 2014-07-14 15:38:41 +0530 | [diff] [blame] | 158 | default SOC_EXYNOS5250 || SOC_EXYNOS5420 |
Kamil Debski | 64bf2b2 | 2014-03-06 12:16:49 +0100 | [diff] [blame] | 159 | |
Vivek Gautam | 5902588 | 2014-05-13 15:30:16 +0530 | [diff] [blame] | 160 | config PHY_EXYNOS5_USBDRD |
| 161 | tristate "Exynos5 SoC series USB DRD PHY driver" |
| 162 | depends on ARCH_EXYNOS5 && OF |
| 163 | depends on HAS_IOMEM |
Sachin Kamat | c233f52 | 2014-07-14 15:38:42 +0530 | [diff] [blame^] | 164 | depends on USB_DWC3_EXYNOS |
Vivek Gautam | 5902588 | 2014-05-13 15:30:16 +0530 | [diff] [blame] | 165 | select GENERIC_PHY |
| 166 | select MFD_SYSCON |
Sachin Kamat | c233f52 | 2014-07-14 15:38:42 +0530 | [diff] [blame^] | 167 | default y |
Vivek Gautam | 5902588 | 2014-05-13 15:30:16 +0530 | [diff] [blame] | 168 | help |
| 169 | Enable USB DRD PHY support for Exynos 5 SoC series. |
| 170 | This driver provides PHY interface for USB 3.0 DRD controller |
| 171 | present on Exynos5 SoC series. |
| 172 | |
Loc Ho | 88e670f | 2014-03-07 10:28:08 -0700 | [diff] [blame] | 173 | config PHY_XGENE |
| 174 | tristate "APM X-Gene 15Gbps PHY support" |
| 175 | depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST) |
| 176 | select GENERIC_PHY |
| 177 | help |
| 178 | This option enables support for APM X-Gene SoC multi-purpose PHY. |
| 179 | |
Kishon Vijay Abraham I | ff76496 | 2013-09-27 11:53:25 +0530 | [diff] [blame] | 180 | endmenu |