1c942fddfSThomas Gleixner // SPDX-License-Identifier: GPL-2.0-or-later
20b56e9a7SVivek Gautam /*
30b56e9a7SVivek Gautam * omap-control-phy.c - The PHY part of control module.
40b56e9a7SVivek Gautam *
50b56e9a7SVivek Gautam * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com
60b56e9a7SVivek Gautam * Author: Kishon Vijay Abraham I <kishon@ti.com>
70b56e9a7SVivek Gautam */
80b56e9a7SVivek Gautam
90b56e9a7SVivek Gautam #include <linux/module.h>
100b56e9a7SVivek Gautam #include <linux/platform_device.h>
11*21bf6fc4SRob Herring #include <linux/property.h>
120b56e9a7SVivek Gautam #include <linux/slab.h>
130b56e9a7SVivek Gautam #include <linux/of.h>
140b56e9a7SVivek Gautam #include <linux/err.h>
150b56e9a7SVivek Gautam #include <linux/io.h>
160b56e9a7SVivek Gautam #include <linux/clk.h>
170b56e9a7SVivek Gautam #include <linux/phy/omap_control_phy.h>
180b56e9a7SVivek Gautam
190b56e9a7SVivek Gautam /**
200b56e9a7SVivek Gautam * omap_control_pcie_pcs - set the PCS delay count
210b56e9a7SVivek Gautam * @dev: the control module device
220b56e9a7SVivek Gautam * @delay: 8 bit delay value
230b56e9a7SVivek Gautam */
omap_control_pcie_pcs(struct device * dev,u8 delay)240b56e9a7SVivek Gautam void omap_control_pcie_pcs(struct device *dev, u8 delay)
250b56e9a7SVivek Gautam {
260b56e9a7SVivek Gautam u32 val;
270b56e9a7SVivek Gautam struct omap_control_phy *control_phy;
280b56e9a7SVivek Gautam
2916c57fffSMiaoqian Lin if (IS_ERR_OR_NULL(dev)) {
300b56e9a7SVivek Gautam pr_err("%s: invalid device\n", __func__);
310b56e9a7SVivek Gautam return;
320b56e9a7SVivek Gautam }
330b56e9a7SVivek Gautam
340b56e9a7SVivek Gautam control_phy = dev_get_drvdata(dev);
350b56e9a7SVivek Gautam if (!control_phy) {
360b56e9a7SVivek Gautam dev_err(dev, "%s: invalid control phy device\n", __func__);
370b56e9a7SVivek Gautam return;
380b56e9a7SVivek Gautam }
390b56e9a7SVivek Gautam
400b56e9a7SVivek Gautam if (control_phy->type != OMAP_CTRL_TYPE_PCIE) {
410b56e9a7SVivek Gautam dev_err(dev, "%s: unsupported operation\n", __func__);
420b56e9a7SVivek Gautam return;
430b56e9a7SVivek Gautam }
440b56e9a7SVivek Gautam
450b56e9a7SVivek Gautam val = readl(control_phy->pcie_pcs);
460b56e9a7SVivek Gautam val &= ~(OMAP_CTRL_PCIE_PCS_MASK <<
470b56e9a7SVivek Gautam OMAP_CTRL_PCIE_PCS_DELAY_COUNT_SHIFT);
480b56e9a7SVivek Gautam val |= (delay << OMAP_CTRL_PCIE_PCS_DELAY_COUNT_SHIFT);
490b56e9a7SVivek Gautam writel(val, control_phy->pcie_pcs);
500b56e9a7SVivek Gautam }
510b56e9a7SVivek Gautam EXPORT_SYMBOL_GPL(omap_control_pcie_pcs);
520b56e9a7SVivek Gautam
530b56e9a7SVivek Gautam /**
540b56e9a7SVivek Gautam * omap_control_phy_power - power on/off the phy using control module reg
550b56e9a7SVivek Gautam * @dev: the control module device
560b56e9a7SVivek Gautam * @on: 0 or 1, based on powering on or off the PHY
570b56e9a7SVivek Gautam */
omap_control_phy_power(struct device * dev,int on)580b56e9a7SVivek Gautam void omap_control_phy_power(struct device *dev, int on)
590b56e9a7SVivek Gautam {
600b56e9a7SVivek Gautam u32 val;
610b56e9a7SVivek Gautam unsigned long rate;
620b56e9a7SVivek Gautam struct omap_control_phy *control_phy;
630b56e9a7SVivek Gautam
6416c57fffSMiaoqian Lin if (IS_ERR_OR_NULL(dev)) {
650b56e9a7SVivek Gautam pr_err("%s: invalid device\n", __func__);
660b56e9a7SVivek Gautam return;
670b56e9a7SVivek Gautam }
680b56e9a7SVivek Gautam
690b56e9a7SVivek Gautam control_phy = dev_get_drvdata(dev);
700b56e9a7SVivek Gautam if (!control_phy) {
710b56e9a7SVivek Gautam dev_err(dev, "%s: invalid control phy device\n", __func__);
720b56e9a7SVivek Gautam return;
730b56e9a7SVivek Gautam }
740b56e9a7SVivek Gautam
750b56e9a7SVivek Gautam if (control_phy->type == OMAP_CTRL_TYPE_OTGHS)
760b56e9a7SVivek Gautam return;
770b56e9a7SVivek Gautam
780b56e9a7SVivek Gautam val = readl(control_phy->power);
790b56e9a7SVivek Gautam
800b56e9a7SVivek Gautam switch (control_phy->type) {
810b56e9a7SVivek Gautam case OMAP_CTRL_TYPE_USB2:
820b56e9a7SVivek Gautam if (on)
830b56e9a7SVivek Gautam val &= ~OMAP_CTRL_DEV_PHY_PD;
840b56e9a7SVivek Gautam else
850b56e9a7SVivek Gautam val |= OMAP_CTRL_DEV_PHY_PD;
860b56e9a7SVivek Gautam break;
870b56e9a7SVivek Gautam
880b56e9a7SVivek Gautam case OMAP_CTRL_TYPE_PCIE:
890b56e9a7SVivek Gautam case OMAP_CTRL_TYPE_PIPE3:
900b56e9a7SVivek Gautam rate = clk_get_rate(control_phy->sys_clk);
910b56e9a7SVivek Gautam rate = rate/1000000;
920b56e9a7SVivek Gautam
930b56e9a7SVivek Gautam if (on) {
940b56e9a7SVivek Gautam val &= ~(OMAP_CTRL_PIPE3_PHY_PWRCTL_CLK_CMD_MASK |
950b56e9a7SVivek Gautam OMAP_CTRL_PIPE3_PHY_PWRCTL_CLK_FREQ_MASK);
960b56e9a7SVivek Gautam val |= OMAP_CTRL_PIPE3_PHY_TX_RX_POWERON <<
970b56e9a7SVivek Gautam OMAP_CTRL_PIPE3_PHY_PWRCTL_CLK_CMD_SHIFT;
980b56e9a7SVivek Gautam val |= rate <<
990b56e9a7SVivek Gautam OMAP_CTRL_PIPE3_PHY_PWRCTL_CLK_FREQ_SHIFT;
1000b56e9a7SVivek Gautam } else {
1010b56e9a7SVivek Gautam val &= ~OMAP_CTRL_PIPE3_PHY_PWRCTL_CLK_CMD_MASK;
1020b56e9a7SVivek Gautam val |= OMAP_CTRL_PIPE3_PHY_TX_RX_POWEROFF <<
1030b56e9a7SVivek Gautam OMAP_CTRL_PIPE3_PHY_PWRCTL_CLK_CMD_SHIFT;
1040b56e9a7SVivek Gautam }
1050b56e9a7SVivek Gautam break;
1060b56e9a7SVivek Gautam
1070b56e9a7SVivek Gautam case OMAP_CTRL_TYPE_DRA7USB2:
1080b56e9a7SVivek Gautam if (on)
1090b56e9a7SVivek Gautam val &= ~OMAP_CTRL_USB2_PHY_PD;
1100b56e9a7SVivek Gautam else
1110b56e9a7SVivek Gautam val |= OMAP_CTRL_USB2_PHY_PD;
1120b56e9a7SVivek Gautam break;
1130b56e9a7SVivek Gautam
1140b56e9a7SVivek Gautam case OMAP_CTRL_TYPE_AM437USB2:
1150b56e9a7SVivek Gautam if (on) {
1160b56e9a7SVivek Gautam val &= ~(AM437X_CTRL_USB2_PHY_PD |
1170b56e9a7SVivek Gautam AM437X_CTRL_USB2_OTG_PD);
1180b56e9a7SVivek Gautam val |= (AM437X_CTRL_USB2_OTGVDET_EN |
1190b56e9a7SVivek Gautam AM437X_CTRL_USB2_OTGSESSEND_EN);
1200b56e9a7SVivek Gautam } else {
1210b56e9a7SVivek Gautam val &= ~(AM437X_CTRL_USB2_OTGVDET_EN |
1220b56e9a7SVivek Gautam AM437X_CTRL_USB2_OTGSESSEND_EN);
1230b56e9a7SVivek Gautam val |= (AM437X_CTRL_USB2_PHY_PD |
1240b56e9a7SVivek Gautam AM437X_CTRL_USB2_OTG_PD);
1250b56e9a7SVivek Gautam }
1260b56e9a7SVivek Gautam break;
1270b56e9a7SVivek Gautam default:
1280b56e9a7SVivek Gautam dev_err(dev, "%s: type %d not recognized\n",
1290b56e9a7SVivek Gautam __func__, control_phy->type);
1300b56e9a7SVivek Gautam break;
1310b56e9a7SVivek Gautam }
1320b56e9a7SVivek Gautam
1330b56e9a7SVivek Gautam writel(val, control_phy->power);
1340b56e9a7SVivek Gautam }
1350b56e9a7SVivek Gautam EXPORT_SYMBOL_GPL(omap_control_phy_power);
1360b56e9a7SVivek Gautam
1370b56e9a7SVivek Gautam /**
1380b56e9a7SVivek Gautam * omap_control_usb_host_mode - set AVALID, VBUSVALID and ID pin in grounded
1390b56e9a7SVivek Gautam * @ctrl_phy: struct omap_control_phy *
1400b56e9a7SVivek Gautam *
1410b56e9a7SVivek Gautam * Writes to the mailbox register to notify the usb core that a usb
1420b56e9a7SVivek Gautam * device has been connected.
1430b56e9a7SVivek Gautam */
omap_control_usb_host_mode(struct omap_control_phy * ctrl_phy)1440b56e9a7SVivek Gautam static void omap_control_usb_host_mode(struct omap_control_phy *ctrl_phy)
1450b56e9a7SVivek Gautam {
1460b56e9a7SVivek Gautam u32 val;
1470b56e9a7SVivek Gautam
1480b56e9a7SVivek Gautam val = readl(ctrl_phy->otghs_control);
1490b56e9a7SVivek Gautam val &= ~(OMAP_CTRL_DEV_IDDIG | OMAP_CTRL_DEV_SESSEND);
1500b56e9a7SVivek Gautam val |= OMAP_CTRL_DEV_AVALID | OMAP_CTRL_DEV_VBUSVALID;
1510b56e9a7SVivek Gautam writel(val, ctrl_phy->otghs_control);
1520b56e9a7SVivek Gautam }
1530b56e9a7SVivek Gautam
1540b56e9a7SVivek Gautam /**
1550b56e9a7SVivek Gautam * omap_control_usb_device_mode - set AVALID, VBUSVALID and ID pin in high
1560b56e9a7SVivek Gautam * impedance
1570b56e9a7SVivek Gautam * @ctrl_phy: struct omap_control_phy *
1580b56e9a7SVivek Gautam *
1590b56e9a7SVivek Gautam * Writes to the mailbox register to notify the usb core that it has been
1600b56e9a7SVivek Gautam * connected to a usb host.
1610b56e9a7SVivek Gautam */
omap_control_usb_device_mode(struct omap_control_phy * ctrl_phy)1620b56e9a7SVivek Gautam static void omap_control_usb_device_mode(struct omap_control_phy *ctrl_phy)
1630b56e9a7SVivek Gautam {
1640b56e9a7SVivek Gautam u32 val;
1650b56e9a7SVivek Gautam
1660b56e9a7SVivek Gautam val = readl(ctrl_phy->otghs_control);
1670b56e9a7SVivek Gautam val &= ~OMAP_CTRL_DEV_SESSEND;
1680b56e9a7SVivek Gautam val |= OMAP_CTRL_DEV_IDDIG | OMAP_CTRL_DEV_AVALID |
1690b56e9a7SVivek Gautam OMAP_CTRL_DEV_VBUSVALID;
1700b56e9a7SVivek Gautam writel(val, ctrl_phy->otghs_control);
1710b56e9a7SVivek Gautam }
1720b56e9a7SVivek Gautam
1730b56e9a7SVivek Gautam /**
1740b56e9a7SVivek Gautam * omap_control_usb_set_sessionend - Enable SESSIONEND and IDIG to high
1750b56e9a7SVivek Gautam * impedance
1760b56e9a7SVivek Gautam * @ctrl_phy: struct omap_control_phy *
1770b56e9a7SVivek Gautam *
1780b56e9a7SVivek Gautam * Writes to the mailbox register to notify the usb core it's now in
1790b56e9a7SVivek Gautam * disconnected state.
1800b56e9a7SVivek Gautam */
omap_control_usb_set_sessionend(struct omap_control_phy * ctrl_phy)1810b56e9a7SVivek Gautam static void omap_control_usb_set_sessionend(struct omap_control_phy *ctrl_phy)
1820b56e9a7SVivek Gautam {
1830b56e9a7SVivek Gautam u32 val;
1840b56e9a7SVivek Gautam
1850b56e9a7SVivek Gautam val = readl(ctrl_phy->otghs_control);
1860b56e9a7SVivek Gautam val &= ~(OMAP_CTRL_DEV_AVALID | OMAP_CTRL_DEV_VBUSVALID);
1870b56e9a7SVivek Gautam val |= OMAP_CTRL_DEV_IDDIG | OMAP_CTRL_DEV_SESSEND;
1880b56e9a7SVivek Gautam writel(val, ctrl_phy->otghs_control);
1890b56e9a7SVivek Gautam }
1900b56e9a7SVivek Gautam
1910b56e9a7SVivek Gautam /**
1920b56e9a7SVivek Gautam * omap_control_usb_set_mode - Calls to functions to set USB in one of host mode
1930b56e9a7SVivek Gautam * or device mode or to denote disconnected state
1940b56e9a7SVivek Gautam * @dev: the control module device
1950b56e9a7SVivek Gautam * @mode: The mode to which usb should be configured
1960b56e9a7SVivek Gautam *
1970b56e9a7SVivek Gautam * This is an API to write to the mailbox register to notify the usb core that
1980b56e9a7SVivek Gautam * a usb device has been connected.
1990b56e9a7SVivek Gautam */
omap_control_usb_set_mode(struct device * dev,enum omap_control_usb_mode mode)2000b56e9a7SVivek Gautam void omap_control_usb_set_mode(struct device *dev,
2010b56e9a7SVivek Gautam enum omap_control_usb_mode mode)
2020b56e9a7SVivek Gautam {
2030b56e9a7SVivek Gautam struct omap_control_phy *ctrl_phy;
2040b56e9a7SVivek Gautam
20516c57fffSMiaoqian Lin if (IS_ERR_OR_NULL(dev))
2060b56e9a7SVivek Gautam return;
2070b56e9a7SVivek Gautam
2080b56e9a7SVivek Gautam ctrl_phy = dev_get_drvdata(dev);
2090b56e9a7SVivek Gautam if (!ctrl_phy) {
2100b56e9a7SVivek Gautam dev_err(dev, "Invalid control phy device\n");
2110b56e9a7SVivek Gautam return;
2120b56e9a7SVivek Gautam }
2130b56e9a7SVivek Gautam
2140b56e9a7SVivek Gautam if (ctrl_phy->type != OMAP_CTRL_TYPE_OTGHS)
2150b56e9a7SVivek Gautam return;
2160b56e9a7SVivek Gautam
2170b56e9a7SVivek Gautam switch (mode) {
2180b56e9a7SVivek Gautam case USB_MODE_HOST:
2190b56e9a7SVivek Gautam omap_control_usb_host_mode(ctrl_phy);
2200b56e9a7SVivek Gautam break;
2210b56e9a7SVivek Gautam case USB_MODE_DEVICE:
2220b56e9a7SVivek Gautam omap_control_usb_device_mode(ctrl_phy);
2230b56e9a7SVivek Gautam break;
2240b56e9a7SVivek Gautam case USB_MODE_DISCONNECT:
2250b56e9a7SVivek Gautam omap_control_usb_set_sessionend(ctrl_phy);
2260b56e9a7SVivek Gautam break;
2270b56e9a7SVivek Gautam default:
2280b56e9a7SVivek Gautam dev_vdbg(dev, "invalid omap control usb mode\n");
2290b56e9a7SVivek Gautam }
2300b56e9a7SVivek Gautam }
2310b56e9a7SVivek Gautam EXPORT_SYMBOL_GPL(omap_control_usb_set_mode);
2320b56e9a7SVivek Gautam
2330b56e9a7SVivek Gautam static const enum omap_control_phy_type otghs_data = OMAP_CTRL_TYPE_OTGHS;
2340b56e9a7SVivek Gautam static const enum omap_control_phy_type usb2_data = OMAP_CTRL_TYPE_USB2;
2350b56e9a7SVivek Gautam static const enum omap_control_phy_type pipe3_data = OMAP_CTRL_TYPE_PIPE3;
2360b56e9a7SVivek Gautam static const enum omap_control_phy_type pcie_data = OMAP_CTRL_TYPE_PCIE;
2370b56e9a7SVivek Gautam static const enum omap_control_phy_type dra7usb2_data = OMAP_CTRL_TYPE_DRA7USB2;
2380b56e9a7SVivek Gautam static const enum omap_control_phy_type am437usb2_data = OMAP_CTRL_TYPE_AM437USB2;
2390b56e9a7SVivek Gautam
2400b56e9a7SVivek Gautam static const struct of_device_id omap_control_phy_id_table[] = {
2410b56e9a7SVivek Gautam {
2420b56e9a7SVivek Gautam .compatible = "ti,control-phy-otghs",
2430b56e9a7SVivek Gautam .data = &otghs_data,
2440b56e9a7SVivek Gautam },
2450b56e9a7SVivek Gautam {
2460b56e9a7SVivek Gautam .compatible = "ti,control-phy-usb2",
2470b56e9a7SVivek Gautam .data = &usb2_data,
2480b56e9a7SVivek Gautam },
2490b56e9a7SVivek Gautam {
2500b56e9a7SVivek Gautam .compatible = "ti,control-phy-pipe3",
2510b56e9a7SVivek Gautam .data = &pipe3_data,
2520b56e9a7SVivek Gautam },
2530b56e9a7SVivek Gautam {
2540b56e9a7SVivek Gautam .compatible = "ti,control-phy-pcie",
2550b56e9a7SVivek Gautam .data = &pcie_data,
2560b56e9a7SVivek Gautam },
2570b56e9a7SVivek Gautam {
2580b56e9a7SVivek Gautam .compatible = "ti,control-phy-usb2-dra7",
2590b56e9a7SVivek Gautam .data = &dra7usb2_data,
2600b56e9a7SVivek Gautam },
2610b56e9a7SVivek Gautam {
2620b56e9a7SVivek Gautam .compatible = "ti,control-phy-usb2-am437",
2630b56e9a7SVivek Gautam .data = &am437usb2_data,
2640b56e9a7SVivek Gautam },
2650b56e9a7SVivek Gautam {},
2660b56e9a7SVivek Gautam };
2670b56e9a7SVivek Gautam MODULE_DEVICE_TABLE(of, omap_control_phy_id_table);
2680b56e9a7SVivek Gautam
omap_control_phy_probe(struct platform_device * pdev)2690b56e9a7SVivek Gautam static int omap_control_phy_probe(struct platform_device *pdev)
2700b56e9a7SVivek Gautam {
2710b56e9a7SVivek Gautam struct omap_control_phy *control_phy;
2720b56e9a7SVivek Gautam
2730b56e9a7SVivek Gautam control_phy = devm_kzalloc(&pdev->dev, sizeof(*control_phy),
2740b56e9a7SVivek Gautam GFP_KERNEL);
2750b56e9a7SVivek Gautam if (!control_phy)
2760b56e9a7SVivek Gautam return -ENOMEM;
2770b56e9a7SVivek Gautam
2780b56e9a7SVivek Gautam control_phy->dev = &pdev->dev;
279*21bf6fc4SRob Herring control_phy->type = *(enum omap_control_phy_type *)device_get_match_data(&pdev->dev);
2800b56e9a7SVivek Gautam
2810b56e9a7SVivek Gautam if (control_phy->type == OMAP_CTRL_TYPE_OTGHS) {
28279caf207SChunfeng Yun control_phy->otghs_control =
28379caf207SChunfeng Yun devm_platform_ioremap_resource_byname(pdev, "otghs_control");
2840b56e9a7SVivek Gautam if (IS_ERR(control_phy->otghs_control))
2850b56e9a7SVivek Gautam return PTR_ERR(control_phy->otghs_control);
2860b56e9a7SVivek Gautam } else {
28779caf207SChunfeng Yun control_phy->power =
28879caf207SChunfeng Yun devm_platform_ioremap_resource_byname(pdev, "power");
2890b56e9a7SVivek Gautam if (IS_ERR(control_phy->power)) {
2900b56e9a7SVivek Gautam dev_err(&pdev->dev, "Couldn't get power register\n");
2910b56e9a7SVivek Gautam return PTR_ERR(control_phy->power);
2920b56e9a7SVivek Gautam }
2930b56e9a7SVivek Gautam }
2940b56e9a7SVivek Gautam
2950b56e9a7SVivek Gautam if (control_phy->type == OMAP_CTRL_TYPE_PIPE3 ||
2960b56e9a7SVivek Gautam control_phy->type == OMAP_CTRL_TYPE_PCIE) {
2970b56e9a7SVivek Gautam control_phy->sys_clk = devm_clk_get(control_phy->dev,
2980b56e9a7SVivek Gautam "sys_clkin");
2990b56e9a7SVivek Gautam if (IS_ERR(control_phy->sys_clk)) {
3000b56e9a7SVivek Gautam pr_err("%s: unable to get sys_clkin\n", __func__);
3010b56e9a7SVivek Gautam return -EINVAL;
3020b56e9a7SVivek Gautam }
3030b56e9a7SVivek Gautam }
3040b56e9a7SVivek Gautam
3050b56e9a7SVivek Gautam if (control_phy->type == OMAP_CTRL_TYPE_PCIE) {
30679caf207SChunfeng Yun control_phy->pcie_pcs =
30779caf207SChunfeng Yun devm_platform_ioremap_resource_byname(pdev, "pcie_pcs");
3080b56e9a7SVivek Gautam if (IS_ERR(control_phy->pcie_pcs))
3090b56e9a7SVivek Gautam return PTR_ERR(control_phy->pcie_pcs);
3100b56e9a7SVivek Gautam }
3110b56e9a7SVivek Gautam
3120b56e9a7SVivek Gautam dev_set_drvdata(control_phy->dev, control_phy);
3130b56e9a7SVivek Gautam
3140b56e9a7SVivek Gautam return 0;
3150b56e9a7SVivek Gautam }
3160b56e9a7SVivek Gautam
3170b56e9a7SVivek Gautam static struct platform_driver omap_control_phy_driver = {
3180b56e9a7SVivek Gautam .probe = omap_control_phy_probe,
3190b56e9a7SVivek Gautam .driver = {
3200b56e9a7SVivek Gautam .name = "omap-control-phy",
3210b56e9a7SVivek Gautam .of_match_table = omap_control_phy_id_table,
3220b56e9a7SVivek Gautam },
3230b56e9a7SVivek Gautam };
3240b56e9a7SVivek Gautam
omap_control_phy_init(void)3250b56e9a7SVivek Gautam static int __init omap_control_phy_init(void)
3260b56e9a7SVivek Gautam {
3270b56e9a7SVivek Gautam return platform_driver_register(&omap_control_phy_driver);
3280b56e9a7SVivek Gautam }
3290b56e9a7SVivek Gautam subsys_initcall(omap_control_phy_init);
3300b56e9a7SVivek Gautam
omap_control_phy_exit(void)3310b56e9a7SVivek Gautam static void __exit omap_control_phy_exit(void)
3320b56e9a7SVivek Gautam {
3330b56e9a7SVivek Gautam platform_driver_unregister(&omap_control_phy_driver);
3340b56e9a7SVivek Gautam }
3350b56e9a7SVivek Gautam module_exit(omap_control_phy_exit);
3360b56e9a7SVivek Gautam
3370b56e9a7SVivek Gautam MODULE_ALIAS("platform:omap_control_phy");
3380b56e9a7SVivek Gautam MODULE_AUTHOR("Texas Instruments Inc.");
3390b56e9a7SVivek Gautam MODULE_DESCRIPTION("OMAP Control Module PHY Driver");
3400b56e9a7SVivek Gautam MODULE_LICENSE("GPL v2");
341