18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2011 Marvell International Ltd. All rights reserved.
48c2ecf20Sopenharmony_ci * Copyright (C) 2018,2019 Lubomir Rintel <lkundrak@v3.sk>
58c2ecf20Sopenharmony_ci */
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#include <linux/delay.h>
88c2ecf20Sopenharmony_ci#include <linux/io.h>
98c2ecf20Sopenharmony_ci#include <linux/module.h>
108c2ecf20Sopenharmony_ci#include <linux/phy/phy.h>
118c2ecf20Sopenharmony_ci#include <linux/platform_device.h>
128c2ecf20Sopenharmony_ci#include <linux/soc/mmp/cputype.h>
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#define USB2_PLL_REG0		0x4
158c2ecf20Sopenharmony_ci#define USB2_PLL_REG1		0x8
168c2ecf20Sopenharmony_ci#define USB2_TX_REG0		0x10
178c2ecf20Sopenharmony_ci#define USB2_TX_REG1		0x14
188c2ecf20Sopenharmony_ci#define USB2_TX_REG2		0x18
198c2ecf20Sopenharmony_ci#define USB2_RX_REG0		0x20
208c2ecf20Sopenharmony_ci#define USB2_RX_REG1		0x24
218c2ecf20Sopenharmony_ci#define USB2_RX_REG2		0x28
228c2ecf20Sopenharmony_ci#define USB2_ANA_REG0		0x30
238c2ecf20Sopenharmony_ci#define USB2_ANA_REG1		0x34
248c2ecf20Sopenharmony_ci#define USB2_ANA_REG2		0x38
258c2ecf20Sopenharmony_ci#define USB2_DIG_REG0		0x3C
268c2ecf20Sopenharmony_ci#define USB2_DIG_REG1		0x40
278c2ecf20Sopenharmony_ci#define USB2_DIG_REG2		0x44
288c2ecf20Sopenharmony_ci#define USB2_DIG_REG3		0x48
298c2ecf20Sopenharmony_ci#define USB2_TEST_REG0		0x4C
308c2ecf20Sopenharmony_ci#define USB2_TEST_REG1		0x50
318c2ecf20Sopenharmony_ci#define USB2_TEST_REG2		0x54
328c2ecf20Sopenharmony_ci#define USB2_CHARGER_REG0	0x58
338c2ecf20Sopenharmony_ci#define USB2_OTG_REG0		0x5C
348c2ecf20Sopenharmony_ci#define USB2_PHY_MON0		0x60
358c2ecf20Sopenharmony_ci#define USB2_RESETVE_REG0	0x64
368c2ecf20Sopenharmony_ci#define USB2_ICID_REG0		0x78
378c2ecf20Sopenharmony_ci#define USB2_ICID_REG1		0x7C
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci/* USB2_PLL_REG0 */
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci/* This is for Ax stepping */
428c2ecf20Sopenharmony_ci#define USB2_PLL_FBDIV_SHIFT_MMP3		0
438c2ecf20Sopenharmony_ci#define USB2_PLL_FBDIV_MASK_MMP3		(0xFF << 0)
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ci#define USB2_PLL_REFDIV_SHIFT_MMP3		8
468c2ecf20Sopenharmony_ci#define USB2_PLL_REFDIV_MASK_MMP3		(0xF << 8)
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ci#define USB2_PLL_VDD12_SHIFT_MMP3		12
498c2ecf20Sopenharmony_ci#define USB2_PLL_VDD18_SHIFT_MMP3		14
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci/* This is for B0 stepping */
528c2ecf20Sopenharmony_ci#define USB2_PLL_FBDIV_SHIFT_MMP3_B0		0
538c2ecf20Sopenharmony_ci#define USB2_PLL_REFDIV_SHIFT_MMP3_B0		9
548c2ecf20Sopenharmony_ci#define USB2_PLL_VDD18_SHIFT_MMP3_B0		14
558c2ecf20Sopenharmony_ci#define USB2_PLL_FBDIV_MASK_MMP3_B0		0x01FF
568c2ecf20Sopenharmony_ci#define USB2_PLL_REFDIV_MASK_MMP3_B0		0x3E00
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ci#define USB2_PLL_CAL12_SHIFT_MMP3		0
598c2ecf20Sopenharmony_ci#define USB2_PLL_CALI12_MASK_MMP3		(0x3 << 0)
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ci#define USB2_PLL_VCOCAL_START_SHIFT_MMP3	2
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci#define USB2_PLL_KVCO_SHIFT_MMP3		4
648c2ecf20Sopenharmony_ci#define USB2_PLL_KVCO_MASK_MMP3			(0x7<<4)
658c2ecf20Sopenharmony_ci
668c2ecf20Sopenharmony_ci#define USB2_PLL_ICP_SHIFT_MMP3			8
678c2ecf20Sopenharmony_ci#define USB2_PLL_ICP_MASK_MMP3			(0x7<<8)
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_ci#define USB2_PLL_LOCK_BYPASS_SHIFT_MMP3		12
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ci#define USB2_PLL_PU_PLL_SHIFT_MMP3		13
728c2ecf20Sopenharmony_ci#define USB2_PLL_PU_PLL_MASK			(0x1 << 13)
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ci#define USB2_PLL_READY_MASK_MMP3		(0x1 << 15)
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ci/* USB2_TX_REG0 */
778c2ecf20Sopenharmony_ci#define USB2_TX_IMPCAL_VTH_SHIFT_MMP3		8
788c2ecf20Sopenharmony_ci#define USB2_TX_IMPCAL_VTH_MASK_MMP3		(0x7 << 8)
798c2ecf20Sopenharmony_ci
808c2ecf20Sopenharmony_ci#define USB2_TX_RCAL_START_SHIFT_MMP3		13
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ci/* USB2_TX_REG1 */
838c2ecf20Sopenharmony_ci#define USB2_TX_CK60_PHSEL_SHIFT_MMP3		0
848c2ecf20Sopenharmony_ci#define USB2_TX_CK60_PHSEL_MASK_MMP3		(0xf << 0)
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ci#define USB2_TX_AMP_SHIFT_MMP3			4
878c2ecf20Sopenharmony_ci#define USB2_TX_AMP_MASK_MMP3			(0x7 << 4)
888c2ecf20Sopenharmony_ci
898c2ecf20Sopenharmony_ci#define USB2_TX_VDD12_SHIFT_MMP3		8
908c2ecf20Sopenharmony_ci#define USB2_TX_VDD12_MASK_MMP3			(0x3 << 8)
918c2ecf20Sopenharmony_ci
928c2ecf20Sopenharmony_ci/* USB2_TX_REG2 */
938c2ecf20Sopenharmony_ci#define USB2_TX_DRV_SLEWRATE_SHIFT		10
948c2ecf20Sopenharmony_ci
958c2ecf20Sopenharmony_ci/* USB2_RX_REG0 */
968c2ecf20Sopenharmony_ci#define USB2_RX_SQ_THRESH_SHIFT_MMP3		4
978c2ecf20Sopenharmony_ci#define USB2_RX_SQ_THRESH_MASK_MMP3		(0xf << 4)
988c2ecf20Sopenharmony_ci
998c2ecf20Sopenharmony_ci#define USB2_RX_SQ_LENGTH_SHIFT_MMP3		10
1008c2ecf20Sopenharmony_ci#define USB2_RX_SQ_LENGTH_MASK_MMP3		(0x3 << 10)
1018c2ecf20Sopenharmony_ci
1028c2ecf20Sopenharmony_ci/* USB2_ANA_REG1*/
1038c2ecf20Sopenharmony_ci#define USB2_ANA_PU_ANA_SHIFT_MMP3		14
1048c2ecf20Sopenharmony_ci
1058c2ecf20Sopenharmony_ci/* USB2_OTG_REG0 */
1068c2ecf20Sopenharmony_ci#define USB2_OTG_PU_OTG_SHIFT_MMP3		3
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_cistruct mmp3_usb_phy {
1098c2ecf20Sopenharmony_ci	struct phy *phy;
1108c2ecf20Sopenharmony_ci	void __iomem *base;
1118c2ecf20Sopenharmony_ci};
1128c2ecf20Sopenharmony_ci
1138c2ecf20Sopenharmony_cistatic unsigned int u2o_get(void __iomem *base, unsigned int offset)
1148c2ecf20Sopenharmony_ci{
1158c2ecf20Sopenharmony_ci	return readl_relaxed(base + offset);
1168c2ecf20Sopenharmony_ci}
1178c2ecf20Sopenharmony_ci
1188c2ecf20Sopenharmony_cistatic void u2o_set(void __iomem *base, unsigned int offset,
1198c2ecf20Sopenharmony_ci		unsigned int value)
1208c2ecf20Sopenharmony_ci{
1218c2ecf20Sopenharmony_ci	u32 reg;
1228c2ecf20Sopenharmony_ci
1238c2ecf20Sopenharmony_ci	reg = readl_relaxed(base + offset);
1248c2ecf20Sopenharmony_ci	reg |= value;
1258c2ecf20Sopenharmony_ci	writel_relaxed(reg, base + offset);
1268c2ecf20Sopenharmony_ci	readl_relaxed(base + offset);
1278c2ecf20Sopenharmony_ci}
1288c2ecf20Sopenharmony_ci
1298c2ecf20Sopenharmony_cistatic void u2o_clear(void __iomem *base, unsigned int offset,
1308c2ecf20Sopenharmony_ci		unsigned int value)
1318c2ecf20Sopenharmony_ci{
1328c2ecf20Sopenharmony_ci	u32 reg;
1338c2ecf20Sopenharmony_ci
1348c2ecf20Sopenharmony_ci	reg = readl_relaxed(base + offset);
1358c2ecf20Sopenharmony_ci	reg &= ~value;
1368c2ecf20Sopenharmony_ci	writel_relaxed(reg, base + offset);
1378c2ecf20Sopenharmony_ci	readl_relaxed(base + offset);
1388c2ecf20Sopenharmony_ci}
1398c2ecf20Sopenharmony_ci
1408c2ecf20Sopenharmony_cistatic int mmp3_usb_phy_init(struct phy *phy)
1418c2ecf20Sopenharmony_ci{
1428c2ecf20Sopenharmony_ci	struct mmp3_usb_phy *mmp3_usb_phy = phy_get_drvdata(phy);
1438c2ecf20Sopenharmony_ci	void __iomem *base = mmp3_usb_phy->base;
1448c2ecf20Sopenharmony_ci
1458c2ecf20Sopenharmony_ci	if (cpu_is_mmp3_a0()) {
1468c2ecf20Sopenharmony_ci		u2o_clear(base, USB2_PLL_REG0, (USB2_PLL_FBDIV_MASK_MMP3
1478c2ecf20Sopenharmony_ci			| USB2_PLL_REFDIV_MASK_MMP3));
1488c2ecf20Sopenharmony_ci		u2o_set(base, USB2_PLL_REG0,
1498c2ecf20Sopenharmony_ci			0xd << USB2_PLL_REFDIV_SHIFT_MMP3
1508c2ecf20Sopenharmony_ci			| 0xf0 << USB2_PLL_FBDIV_SHIFT_MMP3);
1518c2ecf20Sopenharmony_ci	} else if (cpu_is_mmp3_b0()) {
1528c2ecf20Sopenharmony_ci		u2o_clear(base, USB2_PLL_REG0, USB2_PLL_REFDIV_MASK_MMP3_B0
1538c2ecf20Sopenharmony_ci			| USB2_PLL_FBDIV_MASK_MMP3_B0);
1548c2ecf20Sopenharmony_ci		u2o_set(base, USB2_PLL_REG0,
1558c2ecf20Sopenharmony_ci			0xd << USB2_PLL_REFDIV_SHIFT_MMP3_B0
1568c2ecf20Sopenharmony_ci			| 0xf0 << USB2_PLL_FBDIV_SHIFT_MMP3_B0);
1578c2ecf20Sopenharmony_ci	} else {
1588c2ecf20Sopenharmony_ci		dev_err(&phy->dev, "unsupported silicon revision\n");
1598c2ecf20Sopenharmony_ci		return -ENODEV;
1608c2ecf20Sopenharmony_ci	}
1618c2ecf20Sopenharmony_ci
1628c2ecf20Sopenharmony_ci	u2o_clear(base, USB2_PLL_REG1, USB2_PLL_PU_PLL_MASK
1638c2ecf20Sopenharmony_ci		| USB2_PLL_ICP_MASK_MMP3
1648c2ecf20Sopenharmony_ci		| USB2_PLL_KVCO_MASK_MMP3
1658c2ecf20Sopenharmony_ci		| USB2_PLL_CALI12_MASK_MMP3);
1668c2ecf20Sopenharmony_ci	u2o_set(base, USB2_PLL_REG1, 1 << USB2_PLL_PU_PLL_SHIFT_MMP3
1678c2ecf20Sopenharmony_ci		| 1 << USB2_PLL_LOCK_BYPASS_SHIFT_MMP3
1688c2ecf20Sopenharmony_ci		| 3 << USB2_PLL_ICP_SHIFT_MMP3
1698c2ecf20Sopenharmony_ci		| 3 << USB2_PLL_KVCO_SHIFT_MMP3
1708c2ecf20Sopenharmony_ci		| 3 << USB2_PLL_CAL12_SHIFT_MMP3);
1718c2ecf20Sopenharmony_ci
1728c2ecf20Sopenharmony_ci	u2o_clear(base, USB2_TX_REG0, USB2_TX_IMPCAL_VTH_MASK_MMP3);
1738c2ecf20Sopenharmony_ci	u2o_set(base, USB2_TX_REG0, 2 << USB2_TX_IMPCAL_VTH_SHIFT_MMP3);
1748c2ecf20Sopenharmony_ci
1758c2ecf20Sopenharmony_ci	u2o_clear(base, USB2_TX_REG1, USB2_TX_VDD12_MASK_MMP3
1768c2ecf20Sopenharmony_ci		| USB2_TX_AMP_MASK_MMP3
1778c2ecf20Sopenharmony_ci		| USB2_TX_CK60_PHSEL_MASK_MMP3);
1788c2ecf20Sopenharmony_ci	u2o_set(base, USB2_TX_REG1, 3 << USB2_TX_VDD12_SHIFT_MMP3
1798c2ecf20Sopenharmony_ci		| 4 << USB2_TX_AMP_SHIFT_MMP3
1808c2ecf20Sopenharmony_ci		| 4 << USB2_TX_CK60_PHSEL_SHIFT_MMP3);
1818c2ecf20Sopenharmony_ci
1828c2ecf20Sopenharmony_ci	u2o_clear(base, USB2_TX_REG2, 3 << USB2_TX_DRV_SLEWRATE_SHIFT);
1838c2ecf20Sopenharmony_ci	u2o_set(base, USB2_TX_REG2, 2 << USB2_TX_DRV_SLEWRATE_SHIFT);
1848c2ecf20Sopenharmony_ci
1858c2ecf20Sopenharmony_ci	u2o_clear(base, USB2_RX_REG0, USB2_RX_SQ_THRESH_MASK_MMP3);
1868c2ecf20Sopenharmony_ci	u2o_set(base, USB2_RX_REG0, 0xa << USB2_RX_SQ_THRESH_SHIFT_MMP3);
1878c2ecf20Sopenharmony_ci
1888c2ecf20Sopenharmony_ci	u2o_set(base, USB2_ANA_REG1, 0x1 << USB2_ANA_PU_ANA_SHIFT_MMP3);
1898c2ecf20Sopenharmony_ci
1908c2ecf20Sopenharmony_ci	u2o_set(base, USB2_OTG_REG0, 0x1 << USB2_OTG_PU_OTG_SHIFT_MMP3);
1918c2ecf20Sopenharmony_ci
1928c2ecf20Sopenharmony_ci	return 0;
1938c2ecf20Sopenharmony_ci}
1948c2ecf20Sopenharmony_ci
1958c2ecf20Sopenharmony_cistatic int mmp3_usb_phy_calibrate(struct phy *phy)
1968c2ecf20Sopenharmony_ci{
1978c2ecf20Sopenharmony_ci	struct mmp3_usb_phy *mmp3_usb_phy = phy_get_drvdata(phy);
1988c2ecf20Sopenharmony_ci	void __iomem *base = mmp3_usb_phy->base;
1998c2ecf20Sopenharmony_ci	int loops;
2008c2ecf20Sopenharmony_ci
2018c2ecf20Sopenharmony_ci	/*
2028c2ecf20Sopenharmony_ci	 * PLL VCO and TX Impedance Calibration Timing:
2038c2ecf20Sopenharmony_ci	 *
2048c2ecf20Sopenharmony_ci	 *                _____________________________________
2058c2ecf20Sopenharmony_ci	 * PU  __________|
2068c2ecf20Sopenharmony_ci	 *                        _____________________________
2078c2ecf20Sopenharmony_ci	 * VCOCAL START _________|
2088c2ecf20Sopenharmony_ci	 *                                 ___
2098c2ecf20Sopenharmony_ci	 * REG_RCAL_START ________________|   |________|_______
2108c2ecf20Sopenharmony_ci	 *               | 200us | 400us  | 40| 400us  | USB PHY READY
2118c2ecf20Sopenharmony_ci	 */
2128c2ecf20Sopenharmony_ci
2138c2ecf20Sopenharmony_ci	udelay(200);
2148c2ecf20Sopenharmony_ci	u2o_set(base, USB2_PLL_REG1, 1 << USB2_PLL_VCOCAL_START_SHIFT_MMP3);
2158c2ecf20Sopenharmony_ci	udelay(400);
2168c2ecf20Sopenharmony_ci	u2o_set(base, USB2_TX_REG0, 1 << USB2_TX_RCAL_START_SHIFT_MMP3);
2178c2ecf20Sopenharmony_ci	udelay(40);
2188c2ecf20Sopenharmony_ci	u2o_clear(base, USB2_TX_REG0, 1 << USB2_TX_RCAL_START_SHIFT_MMP3);
2198c2ecf20Sopenharmony_ci	udelay(400);
2208c2ecf20Sopenharmony_ci
2218c2ecf20Sopenharmony_ci	loops = 0;
2228c2ecf20Sopenharmony_ci	while ((u2o_get(base, USB2_PLL_REG1) & USB2_PLL_READY_MASK_MMP3) == 0) {
2238c2ecf20Sopenharmony_ci		mdelay(1);
2248c2ecf20Sopenharmony_ci		loops++;
2258c2ecf20Sopenharmony_ci		if (loops > 100) {
2268c2ecf20Sopenharmony_ci			dev_err(&phy->dev, "PLL_READY not set after 100mS.\n");
2278c2ecf20Sopenharmony_ci			return -ETIMEDOUT;
2288c2ecf20Sopenharmony_ci		}
2298c2ecf20Sopenharmony_ci	}
2308c2ecf20Sopenharmony_ci
2318c2ecf20Sopenharmony_ci	return 0;
2328c2ecf20Sopenharmony_ci}
2338c2ecf20Sopenharmony_ci
2348c2ecf20Sopenharmony_cistatic const struct phy_ops mmp3_usb_phy_ops = {
2358c2ecf20Sopenharmony_ci	.init		= mmp3_usb_phy_init,
2368c2ecf20Sopenharmony_ci	.calibrate	= mmp3_usb_phy_calibrate,
2378c2ecf20Sopenharmony_ci	.owner		= THIS_MODULE,
2388c2ecf20Sopenharmony_ci};
2398c2ecf20Sopenharmony_ci
2408c2ecf20Sopenharmony_cistatic const struct of_device_id mmp3_usb_phy_of_match[] = {
2418c2ecf20Sopenharmony_ci	{ .compatible = "marvell,mmp3-usb-phy", },
2428c2ecf20Sopenharmony_ci	{ },
2438c2ecf20Sopenharmony_ci};
2448c2ecf20Sopenharmony_ciMODULE_DEVICE_TABLE(of, mmp3_usb_phy_of_match);
2458c2ecf20Sopenharmony_ci
2468c2ecf20Sopenharmony_cistatic int mmp3_usb_phy_probe(struct platform_device *pdev)
2478c2ecf20Sopenharmony_ci{
2488c2ecf20Sopenharmony_ci	struct device *dev = &pdev->dev;
2498c2ecf20Sopenharmony_ci	struct resource *resource;
2508c2ecf20Sopenharmony_ci	struct mmp3_usb_phy *mmp3_usb_phy;
2518c2ecf20Sopenharmony_ci	struct phy_provider *provider;
2528c2ecf20Sopenharmony_ci
2538c2ecf20Sopenharmony_ci	mmp3_usb_phy = devm_kzalloc(dev, sizeof(*mmp3_usb_phy), GFP_KERNEL);
2548c2ecf20Sopenharmony_ci	if (!mmp3_usb_phy)
2558c2ecf20Sopenharmony_ci		return -ENOMEM;
2568c2ecf20Sopenharmony_ci
2578c2ecf20Sopenharmony_ci	resource = platform_get_resource(pdev, IORESOURCE_MEM, 0);
2588c2ecf20Sopenharmony_ci	mmp3_usb_phy->base = devm_ioremap_resource(dev, resource);
2598c2ecf20Sopenharmony_ci	if (IS_ERR(mmp3_usb_phy->base)) {
2608c2ecf20Sopenharmony_ci		dev_err(dev, "failed to remap PHY regs\n");
2618c2ecf20Sopenharmony_ci		return PTR_ERR(mmp3_usb_phy->base);
2628c2ecf20Sopenharmony_ci	}
2638c2ecf20Sopenharmony_ci
2648c2ecf20Sopenharmony_ci	mmp3_usb_phy->phy = devm_phy_create(dev, NULL, &mmp3_usb_phy_ops);
2658c2ecf20Sopenharmony_ci	if (IS_ERR(mmp3_usb_phy->phy)) {
2668c2ecf20Sopenharmony_ci		dev_err(dev, "failed to create PHY\n");
2678c2ecf20Sopenharmony_ci		return PTR_ERR(mmp3_usb_phy->phy);
2688c2ecf20Sopenharmony_ci	}
2698c2ecf20Sopenharmony_ci
2708c2ecf20Sopenharmony_ci	phy_set_drvdata(mmp3_usb_phy->phy, mmp3_usb_phy);
2718c2ecf20Sopenharmony_ci	provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate);
2728c2ecf20Sopenharmony_ci	if (IS_ERR(provider)) {
2738c2ecf20Sopenharmony_ci		dev_err(dev, "failed to register PHY provider\n");
2748c2ecf20Sopenharmony_ci		return PTR_ERR(provider);
2758c2ecf20Sopenharmony_ci	}
2768c2ecf20Sopenharmony_ci
2778c2ecf20Sopenharmony_ci	return 0;
2788c2ecf20Sopenharmony_ci}
2798c2ecf20Sopenharmony_ci
2808c2ecf20Sopenharmony_cistatic struct platform_driver mmp3_usb_phy_driver = {
2818c2ecf20Sopenharmony_ci	.probe		= mmp3_usb_phy_probe,
2828c2ecf20Sopenharmony_ci	.driver		= {
2838c2ecf20Sopenharmony_ci		.name	= "mmp3-usb-phy",
2848c2ecf20Sopenharmony_ci		.of_match_table = mmp3_usb_phy_of_match,
2858c2ecf20Sopenharmony_ci	},
2868c2ecf20Sopenharmony_ci};
2878c2ecf20Sopenharmony_cimodule_platform_driver(mmp3_usb_phy_driver);
2888c2ecf20Sopenharmony_ci
2898c2ecf20Sopenharmony_ciMODULE_AUTHOR("Lubomir Rintel <lkundrak@v3.sk>");
2908c2ecf20Sopenharmony_ciMODULE_DESCRIPTION("Marvell MMP3 USB PHY Driver");
2918c2ecf20Sopenharmony_ciMODULE_LICENSE("GPL v2");
292