Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 1 | /* |
Peter Chen | 2400780 | 2014-02-24 10:20:54 +0800 | [diff] [blame] | 2 | * Copyright 2012-2013 Freescale Semiconductor, Inc. |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 3 | * Copyright (C) 2012 Marek Vasut <marex@denx.de> |
| 4 | * on behalf of DENX Software Engineering GmbH |
| 5 | * |
| 6 | * The code contained herein is licensed under the GNU General Public |
| 7 | * License. You may obtain a copy of the GNU General Public License |
| 8 | * Version 2 or later at the following locations: |
| 9 | * |
| 10 | * http://www.opensource.org/licenses/gpl-license.html |
| 11 | * http://www.gnu.org/copyleft/gpl.html |
| 12 | */ |
| 13 | |
| 14 | #include <linux/module.h> |
| 15 | #include <linux/kernel.h> |
| 16 | #include <linux/platform_device.h> |
| 17 | #include <linux/clk.h> |
| 18 | #include <linux/usb/otg.h> |
| 19 | #include <linux/stmp_device.h> |
| 20 | #include <linux/delay.h> |
| 21 | #include <linux/err.h> |
| 22 | #include <linux/io.h> |
Peter Chen | 2400780 | 2014-02-24 10:20:54 +0800 | [diff] [blame] | 23 | #include <linux/of_device.h> |
Peter Chen | 0d89653 | 2014-02-24 10:20:57 +0800 | [diff] [blame] | 24 | #include <linux/regmap.h> |
| 25 | #include <linux/mfd/syscon.h> |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 26 | |
| 27 | #define DRIVER_NAME "mxs_phy" |
| 28 | |
| 29 | #define HW_USBPHY_PWD 0x00 |
| 30 | #define HW_USBPHY_CTRL 0x30 |
| 31 | #define HW_USBPHY_CTRL_SET 0x34 |
| 32 | #define HW_USBPHY_CTRL_CLR 0x38 |
| 33 | |
Peter Chen | 22db05e | 2014-02-24 10:20:59 +0800 | [diff] [blame^] | 34 | #define HW_USBPHY_IP 0x90 |
| 35 | #define HW_USBPHY_IP_SET 0x94 |
| 36 | #define HW_USBPHY_IP_CLR 0x98 |
| 37 | |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 38 | #define BM_USBPHY_CTRL_SFTRST BIT(31) |
| 39 | #define BM_USBPHY_CTRL_CLKGATE BIT(30) |
Peter Chen | 1364414 | 2014-02-24 10:20:55 +0800 | [diff] [blame] | 40 | #define BM_USBPHY_CTRL_ENAUTOSET_USBCLKS BIT(26) |
| 41 | #define BM_USBPHY_CTRL_ENAUTOCLR_USBCLKGATE BIT(25) |
| 42 | #define BM_USBPHY_CTRL_ENAUTOCLR_PHY_PWD BIT(20) |
| 43 | #define BM_USBPHY_CTRL_ENAUTOCLR_CLKGATE BIT(19) |
| 44 | #define BM_USBPHY_CTRL_ENAUTO_PWRON_PLL BIT(18) |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 45 | #define BM_USBPHY_CTRL_ENUTMILEVEL3 BIT(15) |
| 46 | #define BM_USBPHY_CTRL_ENUTMILEVEL2 BIT(14) |
| 47 | #define BM_USBPHY_CTRL_ENHOSTDISCONDETECT BIT(1) |
| 48 | |
Peter Chen | 22db05e | 2014-02-24 10:20:59 +0800 | [diff] [blame^] | 49 | #define BM_USBPHY_IP_FIX (BIT(17) | BIT(18)) |
| 50 | |
Peter Chen | 2400780 | 2014-02-24 10:20:54 +0800 | [diff] [blame] | 51 | #define to_mxs_phy(p) container_of((p), struct mxs_phy, phy) |
| 52 | |
| 53 | /* Do disconnection between PHY and controller without vbus */ |
| 54 | #define MXS_PHY_DISCONNECT_LINE_WITHOUT_VBUS BIT(0) |
| 55 | |
| 56 | /* |
| 57 | * The PHY will be in messy if there is a wakeup after putting |
| 58 | * bus to suspend (set portsc.suspendM) but before setting PHY to low |
| 59 | * power mode (set portsc.phcd). |
| 60 | */ |
| 61 | #define MXS_PHY_ABNORMAL_IN_SUSPEND BIT(1) |
| 62 | |
| 63 | /* |
| 64 | * The SOF sends too fast after resuming, it will cause disconnection |
| 65 | * between host and high speed device. |
| 66 | */ |
| 67 | #define MXS_PHY_SENDING_SOF_TOO_FAST BIT(2) |
| 68 | |
Peter Chen | 22db05e | 2014-02-24 10:20:59 +0800 | [diff] [blame^] | 69 | /* |
| 70 | * IC has bug fixes logic, they include |
| 71 | * MXS_PHY_ABNORMAL_IN_SUSPEND and MXS_PHY_SENDING_SOF_TOO_FAST |
| 72 | * which are described at above flags, the RTL will handle it |
| 73 | * according to different versions. |
| 74 | */ |
| 75 | #define MXS_PHY_NEED_IP_FIX BIT(3) |
| 76 | |
Peter Chen | 2400780 | 2014-02-24 10:20:54 +0800 | [diff] [blame] | 77 | struct mxs_phy_data { |
| 78 | unsigned int flags; |
| 79 | }; |
| 80 | |
| 81 | static const struct mxs_phy_data imx23_phy_data = { |
| 82 | .flags = MXS_PHY_ABNORMAL_IN_SUSPEND | MXS_PHY_SENDING_SOF_TOO_FAST, |
| 83 | }; |
| 84 | |
| 85 | static const struct mxs_phy_data imx6q_phy_data = { |
| 86 | .flags = MXS_PHY_SENDING_SOF_TOO_FAST | |
Peter Chen | 22db05e | 2014-02-24 10:20:59 +0800 | [diff] [blame^] | 87 | MXS_PHY_DISCONNECT_LINE_WITHOUT_VBUS | |
| 88 | MXS_PHY_NEED_IP_FIX, |
Peter Chen | 2400780 | 2014-02-24 10:20:54 +0800 | [diff] [blame] | 89 | }; |
| 90 | |
| 91 | static const struct mxs_phy_data imx6sl_phy_data = { |
Peter Chen | 22db05e | 2014-02-24 10:20:59 +0800 | [diff] [blame^] | 92 | .flags = MXS_PHY_DISCONNECT_LINE_WITHOUT_VBUS | |
| 93 | MXS_PHY_NEED_IP_FIX, |
Peter Chen | 2400780 | 2014-02-24 10:20:54 +0800 | [diff] [blame] | 94 | }; |
| 95 | |
| 96 | static const struct of_device_id mxs_phy_dt_ids[] = { |
| 97 | { .compatible = "fsl,imx6sl-usbphy", .data = &imx6sl_phy_data, }, |
| 98 | { .compatible = "fsl,imx6q-usbphy", .data = &imx6q_phy_data, }, |
| 99 | { .compatible = "fsl,imx23-usbphy", .data = &imx23_phy_data, }, |
| 100 | { /* sentinel */ } |
| 101 | }; |
| 102 | MODULE_DEVICE_TABLE(of, mxs_phy_dt_ids); |
| 103 | |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 104 | struct mxs_phy { |
| 105 | struct usb_phy phy; |
| 106 | struct clk *clk; |
Peter Chen | 2400780 | 2014-02-24 10:20:54 +0800 | [diff] [blame] | 107 | const struct mxs_phy_data *data; |
Peter Chen | 0d89653 | 2014-02-24 10:20:57 +0800 | [diff] [blame] | 108 | struct regmap *regmap_anatop; |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 109 | }; |
| 110 | |
Fabio Estevam | 51e563e | 2013-07-03 16:34:13 -0300 | [diff] [blame] | 111 | static int mxs_phy_hw_init(struct mxs_phy *mxs_phy) |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 112 | { |
Fabio Estevam | 51e563e | 2013-07-03 16:34:13 -0300 | [diff] [blame] | 113 | int ret; |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 114 | void __iomem *base = mxs_phy->phy.io_priv; |
| 115 | |
Fabio Estevam | 51e563e | 2013-07-03 16:34:13 -0300 | [diff] [blame] | 116 | ret = stmp_reset_block(base + HW_USBPHY_CTRL); |
| 117 | if (ret) |
| 118 | return ret; |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 119 | |
| 120 | /* Power up the PHY */ |
Marc Kleine-Budde | b5a726b | 2013-02-28 11:52:30 +0100 | [diff] [blame] | 121 | writel(0, base + HW_USBPHY_PWD); |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 122 | |
Peter Chen | 1364414 | 2014-02-24 10:20:55 +0800 | [diff] [blame] | 123 | /* |
| 124 | * USB PHY Ctrl Setting |
| 125 | * - Auto clock/power on |
| 126 | * - Enable full/low speed support |
| 127 | */ |
| 128 | writel(BM_USBPHY_CTRL_ENAUTOSET_USBCLKS | |
| 129 | BM_USBPHY_CTRL_ENAUTOCLR_USBCLKGATE | |
| 130 | BM_USBPHY_CTRL_ENAUTOCLR_PHY_PWD | |
| 131 | BM_USBPHY_CTRL_ENAUTOCLR_CLKGATE | |
| 132 | BM_USBPHY_CTRL_ENAUTO_PWRON_PLL | |
| 133 | BM_USBPHY_CTRL_ENUTMILEVEL2 | |
| 134 | BM_USBPHY_CTRL_ENUTMILEVEL3, |
Marc Kleine-Budde | b5a726b | 2013-02-28 11:52:30 +0100 | [diff] [blame] | 135 | base + HW_USBPHY_CTRL_SET); |
Fabio Estevam | 51e563e | 2013-07-03 16:34:13 -0300 | [diff] [blame] | 136 | |
Peter Chen | 22db05e | 2014-02-24 10:20:59 +0800 | [diff] [blame^] | 137 | if (mxs_phy->data->flags & MXS_PHY_NEED_IP_FIX) |
| 138 | writel(BM_USBPHY_IP_FIX, base + HW_USBPHY_IP_SET); |
| 139 | |
Fabio Estevam | 51e563e | 2013-07-03 16:34:13 -0300 | [diff] [blame] | 140 | return 0; |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 141 | } |
| 142 | |
| 143 | static int mxs_phy_init(struct usb_phy *phy) |
| 144 | { |
Fabio Estevam | 67c21fc | 2013-12-02 01:02:34 -0200 | [diff] [blame] | 145 | int ret; |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 146 | struct mxs_phy *mxs_phy = to_mxs_phy(phy); |
| 147 | |
Fabio Estevam | 67c21fc | 2013-12-02 01:02:34 -0200 | [diff] [blame] | 148 | ret = clk_prepare_enable(mxs_phy->clk); |
| 149 | if (ret) |
| 150 | return ret; |
| 151 | |
Fabio Estevam | 51e563e | 2013-07-03 16:34:13 -0300 | [diff] [blame] | 152 | return mxs_phy_hw_init(mxs_phy); |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 153 | } |
| 154 | |
| 155 | static void mxs_phy_shutdown(struct usb_phy *phy) |
| 156 | { |
| 157 | struct mxs_phy *mxs_phy = to_mxs_phy(phy); |
| 158 | |
Marc Kleine-Budde | b5a726b | 2013-02-28 11:52:30 +0100 | [diff] [blame] | 159 | writel(BM_USBPHY_CTRL_CLKGATE, |
| 160 | phy->io_priv + HW_USBPHY_CTRL_SET); |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 161 | |
| 162 | clk_disable_unprepare(mxs_phy->clk); |
| 163 | } |
| 164 | |
Peter Chen | 04a6221 | 2013-01-10 16:35:53 +0800 | [diff] [blame] | 165 | static int mxs_phy_suspend(struct usb_phy *x, int suspend) |
| 166 | { |
Fabio Estevam | 67c21fc | 2013-12-02 01:02:34 -0200 | [diff] [blame] | 167 | int ret; |
Peter Chen | 04a6221 | 2013-01-10 16:35:53 +0800 | [diff] [blame] | 168 | struct mxs_phy *mxs_phy = to_mxs_phy(x); |
| 169 | |
| 170 | if (suspend) { |
Marc Kleine-Budde | b5a726b | 2013-02-28 11:52:30 +0100 | [diff] [blame] | 171 | writel(0xffffffff, x->io_priv + HW_USBPHY_PWD); |
| 172 | writel(BM_USBPHY_CTRL_CLKGATE, |
| 173 | x->io_priv + HW_USBPHY_CTRL_SET); |
Peter Chen | 04a6221 | 2013-01-10 16:35:53 +0800 | [diff] [blame] | 174 | clk_disable_unprepare(mxs_phy->clk); |
| 175 | } else { |
Fabio Estevam | 67c21fc | 2013-12-02 01:02:34 -0200 | [diff] [blame] | 176 | ret = clk_prepare_enable(mxs_phy->clk); |
| 177 | if (ret) |
| 178 | return ret; |
Marc Kleine-Budde | b5a726b | 2013-02-28 11:52:30 +0100 | [diff] [blame] | 179 | writel(BM_USBPHY_CTRL_CLKGATE, |
| 180 | x->io_priv + HW_USBPHY_CTRL_CLR); |
| 181 | writel(0, x->io_priv + HW_USBPHY_PWD); |
Peter Chen | 04a6221 | 2013-01-10 16:35:53 +0800 | [diff] [blame] | 182 | } |
| 183 | |
| 184 | return 0; |
| 185 | } |
| 186 | |
Peter Chen | ac96511 | 2012-11-09 09:44:44 +0800 | [diff] [blame] | 187 | static int mxs_phy_on_connect(struct usb_phy *phy, |
| 188 | enum usb_device_speed speed) |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 189 | { |
Peter Chen | f6a1582 | 2014-02-24 10:20:58 +0800 | [diff] [blame] | 190 | dev_dbg(phy->dev, "%s device has connected\n", |
| 191 | (speed == USB_SPEED_HIGH) ? "HS" : "FS/LS"); |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 192 | |
Peter Chen | ac96511 | 2012-11-09 09:44:44 +0800 | [diff] [blame] | 193 | if (speed == USB_SPEED_HIGH) |
Marc Kleine-Budde | b5a726b | 2013-02-28 11:52:30 +0100 | [diff] [blame] | 194 | writel(BM_USBPHY_CTRL_ENHOSTDISCONDETECT, |
| 195 | phy->io_priv + HW_USBPHY_CTRL_SET); |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 196 | |
| 197 | return 0; |
| 198 | } |
| 199 | |
Peter Chen | ac96511 | 2012-11-09 09:44:44 +0800 | [diff] [blame] | 200 | static int mxs_phy_on_disconnect(struct usb_phy *phy, |
| 201 | enum usb_device_speed speed) |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 202 | { |
Peter Chen | f6a1582 | 2014-02-24 10:20:58 +0800 | [diff] [blame] | 203 | dev_dbg(phy->dev, "%s device has disconnected\n", |
| 204 | (speed == USB_SPEED_HIGH) ? "HS" : "FS/LS"); |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 205 | |
Peter Chen | ac96511 | 2012-11-09 09:44:44 +0800 | [diff] [blame] | 206 | if (speed == USB_SPEED_HIGH) |
Marc Kleine-Budde | b5a726b | 2013-02-28 11:52:30 +0100 | [diff] [blame] | 207 | writel(BM_USBPHY_CTRL_ENHOSTDISCONDETECT, |
| 208 | phy->io_priv + HW_USBPHY_CTRL_CLR); |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 209 | |
| 210 | return 0; |
| 211 | } |
| 212 | |
| 213 | static int mxs_phy_probe(struct platform_device *pdev) |
| 214 | { |
| 215 | struct resource *res; |
| 216 | void __iomem *base; |
| 217 | struct clk *clk; |
| 218 | struct mxs_phy *mxs_phy; |
Sascha Hauer | 25df639 | 2013-02-27 15:16:30 +0100 | [diff] [blame] | 219 | int ret; |
Peter Chen | 2400780 | 2014-02-24 10:20:54 +0800 | [diff] [blame] | 220 | const struct of_device_id *of_id = |
| 221 | of_match_device(mxs_phy_dt_ids, &pdev->dev); |
Peter Chen | 0d89653 | 2014-02-24 10:20:57 +0800 | [diff] [blame] | 222 | struct device_node *np = pdev->dev.of_node; |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 223 | |
| 224 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
Thierry Reding | 148e113 | 2013-01-21 11:09:22 +0100 | [diff] [blame] | 225 | base = devm_ioremap_resource(&pdev->dev, res); |
| 226 | if (IS_ERR(base)) |
| 227 | return PTR_ERR(base); |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 228 | |
| 229 | clk = devm_clk_get(&pdev->dev, NULL); |
| 230 | if (IS_ERR(clk)) { |
| 231 | dev_err(&pdev->dev, |
| 232 | "can't get the clock, err=%ld", PTR_ERR(clk)); |
| 233 | return PTR_ERR(clk); |
| 234 | } |
| 235 | |
| 236 | mxs_phy = devm_kzalloc(&pdev->dev, sizeof(*mxs_phy), GFP_KERNEL); |
| 237 | if (!mxs_phy) { |
| 238 | dev_err(&pdev->dev, "Failed to allocate USB PHY structure!\n"); |
| 239 | return -ENOMEM; |
| 240 | } |
| 241 | |
Peter Chen | 0d89653 | 2014-02-24 10:20:57 +0800 | [diff] [blame] | 242 | /* Some SoCs don't have anatop registers */ |
| 243 | if (of_get_property(np, "fsl,anatop", NULL)) { |
| 244 | mxs_phy->regmap_anatop = syscon_regmap_lookup_by_phandle |
| 245 | (np, "fsl,anatop"); |
| 246 | if (IS_ERR(mxs_phy->regmap_anatop)) { |
| 247 | dev_dbg(&pdev->dev, |
| 248 | "failed to find regmap for anatop\n"); |
| 249 | return PTR_ERR(mxs_phy->regmap_anatop); |
| 250 | } |
| 251 | } |
| 252 | |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 253 | mxs_phy->phy.io_priv = base; |
| 254 | mxs_phy->phy.dev = &pdev->dev; |
| 255 | mxs_phy->phy.label = DRIVER_NAME; |
| 256 | mxs_phy->phy.init = mxs_phy_init; |
| 257 | mxs_phy->phy.shutdown = mxs_phy_shutdown; |
Peter Chen | 04a6221 | 2013-01-10 16:35:53 +0800 | [diff] [blame] | 258 | mxs_phy->phy.set_suspend = mxs_phy_suspend; |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 259 | mxs_phy->phy.notify_connect = mxs_phy_on_connect; |
| 260 | mxs_phy->phy.notify_disconnect = mxs_phy_on_disconnect; |
Michael Grzeschik | 4e0aa63 | 2013-05-15 15:03:14 +0200 | [diff] [blame] | 261 | mxs_phy->phy.type = USB_PHY_TYPE_USB2; |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 262 | |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 263 | mxs_phy->clk = clk; |
Peter Chen | 2400780 | 2014-02-24 10:20:54 +0800 | [diff] [blame] | 264 | mxs_phy->data = of_id->data; |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 265 | |
Jisheng Zhang | 97a27f7 | 2013-11-07 10:55:49 +0800 | [diff] [blame] | 266 | platform_set_drvdata(pdev, mxs_phy); |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 267 | |
Sascha Hauer | 25df639 | 2013-02-27 15:16:30 +0100 | [diff] [blame] | 268 | ret = usb_add_phy_dev(&mxs_phy->phy); |
| 269 | if (ret) |
| 270 | return ret; |
| 271 | |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 272 | return 0; |
| 273 | } |
| 274 | |
Bill Pemberton | fb4e98a | 2012-11-19 13:26:20 -0500 | [diff] [blame] | 275 | static int mxs_phy_remove(struct platform_device *pdev) |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 276 | { |
Sascha Hauer | 25df639 | 2013-02-27 15:16:30 +0100 | [diff] [blame] | 277 | struct mxs_phy *mxs_phy = platform_get_drvdata(pdev); |
| 278 | |
| 279 | usb_remove_phy(&mxs_phy->phy); |
| 280 | |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 281 | return 0; |
| 282 | } |
| 283 | |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 284 | static struct platform_driver mxs_phy_driver = { |
| 285 | .probe = mxs_phy_probe, |
Bill Pemberton | 7690417 | 2012-11-19 13:21:08 -0500 | [diff] [blame] | 286 | .remove = mxs_phy_remove, |
Richard Zhao | b3d9968 | 2012-07-07 22:56:47 +0800 | [diff] [blame] | 287 | .driver = { |
| 288 | .name = DRIVER_NAME, |
| 289 | .owner = THIS_MODULE, |
| 290 | .of_match_table = mxs_phy_dt_ids, |
| 291 | }, |
| 292 | }; |
| 293 | |
| 294 | static int __init mxs_phy_module_init(void) |
| 295 | { |
| 296 | return platform_driver_register(&mxs_phy_driver); |
| 297 | } |
| 298 | postcore_initcall(mxs_phy_module_init); |
| 299 | |
| 300 | static void __exit mxs_phy_module_exit(void) |
| 301 | { |
| 302 | platform_driver_unregister(&mxs_phy_driver); |
| 303 | } |
| 304 | module_exit(mxs_phy_module_exit); |
| 305 | |
| 306 | MODULE_ALIAS("platform:mxs-usb-phy"); |
| 307 | MODULE_AUTHOR("Marek Vasut <marex@denx.de>"); |
| 308 | MODULE_AUTHOR("Richard Zhao <richard.zhao@freescale.com>"); |
| 309 | MODULE_DESCRIPTION("Freescale MXS USB PHY driver"); |
| 310 | MODULE_LICENSE("GPL"); |