blob: 7a603f66a9bc541f1ed30c1cc854f216090bc37b [file] [log] [blame]
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +09001/*
Jingoo Han29824c12013-10-10 16:42:47 +09002 * SAMSUNG EXYNOS USB HOST EHCI Controller
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +09003 *
4 * Copyright (C) 2011 Samsung Electronics Co.Ltd
5 * Author: Jingoo Han <jg1.han@samsung.com>
6 * Author: Joonyoung Shim <jy0922.shim@samsung.com>
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
12 *
13 */
14
15#include <linux/clk.h>
Manjunath Goudar7edb3da2013-04-02 18:24:01 +020016#include <linux/dma-mapping.h>
17#include <linux/io.h>
18#include <linux/kernel.h>
19#include <linux/module.h>
Vivek Gautam2c026e22012-07-16 11:25:37 +053020#include <linux/of.h>
Vivek Gautamfd81d592012-07-17 10:10:50 +053021#include <linux/of_gpio.h>
Kamil Debski1c176752014-05-05 10:32:28 +053022#include <linux/phy/phy.h>
Manjunath Goudar7edb3da2013-04-02 18:24:01 +020023#include <linux/platform_device.h>
Manjunath Goudar7edb3da2013-04-02 18:24:01 +020024#include <linux/usb.h>
25#include <linux/usb/hcd.h>
Manjunath Goudar7edb3da2013-04-02 18:24:01 +020026
27#include "ehci.h"
28
Jingoo Han29824c12013-10-10 16:42:47 +090029#define DRIVER_DESC "EHCI EXYNOS driver"
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +090030
Jingoo Han88555a62012-03-05 10:40:14 +090031#define EHCI_INSNREG00(base) (base + 0x90)
32#define EHCI_INSNREG00_ENA_INCR16 (0x1 << 25)
33#define EHCI_INSNREG00_ENA_INCR8 (0x1 << 24)
34#define EHCI_INSNREG00_ENA_INCR4 (0x1 << 23)
35#define EHCI_INSNREG00_ENA_INCRX_ALIGN (0x1 << 22)
36#define EHCI_INSNREG00_ENABLE_DMA_BURST \
37 (EHCI_INSNREG00_ENA_INCR16 | EHCI_INSNREG00_ENA_INCR8 | \
38 EHCI_INSNREG00_ENA_INCR4 | EHCI_INSNREG00_ENA_INCRX_ALIGN)
39
Jingoo Han29824c12013-10-10 16:42:47 +090040static const char hcd_name[] = "ehci-exynos";
41static struct hc_driver __read_mostly exynos_ehci_hc_driver;
Manjunath Goudar7edb3da2013-04-02 18:24:01 +020042
Kamil Debski1c176752014-05-05 10:32:28 +053043#define PHY_NUMBER 3
44
Jingoo Han29824c12013-10-10 16:42:47 +090045struct exynos_ehci_hcd {
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +090046 struct clk *clk;
Vivek Gautam46c1cda2014-09-29 11:54:14 +053047 struct phy *phy[PHY_NUMBER];
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +090048};
49
Jingoo Han29824c12013-10-10 16:42:47 +090050#define to_exynos_ehci(hcd) (struct exynos_ehci_hcd *)(hcd_to_ehci(hcd)->priv)
Vivek Gautamd233c192013-01-22 18:30:42 +053051
Kamil Debski1c176752014-05-05 10:32:28 +053052static int exynos_ehci_get_phy(struct device *dev,
53 struct exynos_ehci_hcd *exynos_ehci)
54{
55 struct device_node *child;
56 struct phy *phy;
57 int phy_number;
Vivek Gautam46c1cda2014-09-29 11:54:14 +053058 int ret;
Kamil Debski1c176752014-05-05 10:32:28 +053059
Vivek Gautam46c1cda2014-09-29 11:54:14 +053060 /* Get PHYs for the controller */
Kamil Debski1c176752014-05-05 10:32:28 +053061 for_each_available_child_of_node(dev->of_node, child) {
62 ret = of_property_read_u32(child, "reg", &phy_number);
63 if (ret) {
64 dev_err(dev, "Failed to parse device tree\n");
65 of_node_put(child);
66 return ret;
67 }
68
69 if (phy_number >= PHY_NUMBER) {
70 dev_err(dev, "Invalid number of PHYs\n");
71 of_node_put(child);
72 return -EINVAL;
73 }
74
Sachin Kamat14ad5a92014-06-06 14:13:45 +053075 phy = devm_of_phy_get(dev, child, NULL);
Vivek Gautam46c1cda2014-09-29 11:54:14 +053076 exynos_ehci->phy[phy_number] = phy;
Vivek Gautam46c1cda2014-09-29 11:54:14 +053077 if (IS_ERR(phy)) {
78 ret = PTR_ERR(phy);
79 if (ret == -EPROBE_DEFER) {
Krzysztof Kozlowski8f50cb82017-01-07 10:41:40 +020080 of_node_put(child);
Vivek Gautam46c1cda2014-09-29 11:54:14 +053081 return ret;
82 } else if (ret != -ENOSYS && ret != -ENODEV) {
83 dev_err(dev,
84 "Error retrieving usb2 phy: %d\n", ret);
Krzysztof Kozlowski8f50cb82017-01-07 10:41:40 +020085 of_node_put(child);
Vivek Gautam46c1cda2014-09-29 11:54:14 +053086 return ret;
87 }
88 }
Vivek Gautam2f7f41c2014-08-05 16:09:08 +053089 }
90
91 return 0;
Kamil Debski1c176752014-05-05 10:32:28 +053092}
93
94static int exynos_ehci_phy_enable(struct device *dev)
95{
96 struct usb_hcd *hcd = dev_get_drvdata(dev);
97 struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd);
98 int i;
99 int ret = 0;
100
Kamil Debski1c176752014-05-05 10:32:28 +0530101 for (i = 0; ret == 0 && i < PHY_NUMBER; i++)
Vivek Gautam46c1cda2014-09-29 11:54:14 +0530102 if (!IS_ERR(exynos_ehci->phy[i]))
103 ret = phy_power_on(exynos_ehci->phy[i]);
Kamil Debski1c176752014-05-05 10:32:28 +0530104 if (ret)
105 for (i--; i >= 0; i--)
Vivek Gautam46c1cda2014-09-29 11:54:14 +0530106 if (!IS_ERR(exynos_ehci->phy[i]))
107 phy_power_off(exynos_ehci->phy[i]);
Kamil Debski1c176752014-05-05 10:32:28 +0530108
109 return ret;
110}
111
112static void exynos_ehci_phy_disable(struct device *dev)
113{
114 struct usb_hcd *hcd = dev_get_drvdata(dev);
115 struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd);
116 int i;
117
Kamil Debski1c176752014-05-05 10:32:28 +0530118 for (i = 0; i < PHY_NUMBER; i++)
Vivek Gautam46c1cda2014-09-29 11:54:14 +0530119 if (!IS_ERR(exynos_ehci->phy[i]))
120 phy_power_off(exynos_ehci->phy[i]);
Kamil Debski1c176752014-05-05 10:32:28 +0530121}
122
Vivek Gautam91a96772014-05-05 10:34:25 +0530123static void exynos_setup_vbus_gpio(struct device *dev)
Vivek Gautamfd81d592012-07-17 10:10:50 +0530124{
125 int err;
126 int gpio;
127
Doug Anderson3f3b55b2013-03-14 20:15:37 -0700128 if (!dev->of_node)
Vivek Gautamfd81d592012-07-17 10:10:50 +0530129 return;
130
Doug Anderson3f3b55b2013-03-14 20:15:37 -0700131 gpio = of_get_named_gpio(dev->of_node, "samsung,vbus-gpio", 0);
Vivek Gautamfd81d592012-07-17 10:10:50 +0530132 if (!gpio_is_valid(gpio))
133 return;
134
Doug Anderson3f3b55b2013-03-14 20:15:37 -0700135 err = devm_gpio_request_one(dev, gpio, GPIOF_OUT_INIT_HIGH,
136 "ehci_vbus_gpio");
Vivek Gautamfd81d592012-07-17 10:10:50 +0530137 if (err)
Doug Anderson3f3b55b2013-03-14 20:15:37 -0700138 dev_err(dev, "can't request ehci vbus gpio %d", gpio);
Vivek Gautamfd81d592012-07-17 10:10:50 +0530139}
140
Jingoo Han29824c12013-10-10 16:42:47 +0900141static int exynos_ehci_probe(struct platform_device *pdev)
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900142{
Jingoo Han29824c12013-10-10 16:42:47 +0900143 struct exynos_ehci_hcd *exynos_ehci;
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900144 struct usb_hcd *hcd;
145 struct ehci_hcd *ehci;
146 struct resource *res;
147 int irq;
148 int err;
149
Vivek Gautam2c026e22012-07-16 11:25:37 +0530150 /*
151 * Right now device-tree probed devices don't get dma_mask set.
152 * Since shared usb code relies on it, set it here for now.
153 * Once we move to full device tree support this will vanish off.
154 */
Linus Torvalds8ceafbf2013-11-14 07:55:21 +0900155 err = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
156 if (err)
157 return err;
Vivek Gautam2c026e22012-07-16 11:25:37 +0530158
Vivek Gautam91a96772014-05-05 10:34:25 +0530159 exynos_setup_vbus_gpio(&pdev->dev);
Vivek Gautamfd81d592012-07-17 10:10:50 +0530160
Jingoo Han29824c12013-10-10 16:42:47 +0900161 hcd = usb_create_hcd(&exynos_ehci_hc_driver,
Manjunath Goudar7edb3da2013-04-02 18:24:01 +0200162 &pdev->dev, dev_name(&pdev->dev));
163 if (!hcd) {
164 dev_err(&pdev->dev, "Unable to create HCD\n");
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900165 return -ENOMEM;
Manjunath Goudar7edb3da2013-04-02 18:24:01 +0200166 }
Jingoo Han29824c12013-10-10 16:42:47 +0900167 exynos_ehci = to_exynos_ehci(hcd);
Thomas Abrahame6b0166f2013-05-27 18:42:12 +0900168
169 if (of_device_is_compatible(pdev->dev.of_node,
Jingoo Han57ae1602013-10-10 16:41:19 +0900170 "samsung,exynos5440-ehci"))
Thomas Abrahame6b0166f2013-05-27 18:42:12 +0900171 goto skip_phy;
Thomas Abrahame6b0166f2013-05-27 18:42:12 +0900172
Kamil Debski1c176752014-05-05 10:32:28 +0530173 err = exynos_ehci_get_phy(&pdev->dev, exynos_ehci);
174 if (err)
175 goto fail_clk;
Vivek Gautamd233c192013-01-22 18:30:42 +0530176
Thomas Abrahame6b0166f2013-05-27 18:42:12 +0900177skip_phy:
178
Jingoo Han29824c12013-10-10 16:42:47 +0900179 exynos_ehci->clk = devm_clk_get(&pdev->dev, "usbhost");
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900180
Jingoo Han29824c12013-10-10 16:42:47 +0900181 if (IS_ERR(exynos_ehci->clk)) {
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900182 dev_err(&pdev->dev, "Failed to get usbhost clock\n");
Jingoo Han29824c12013-10-10 16:42:47 +0900183 err = PTR_ERR(exynos_ehci->clk);
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900184 goto fail_clk;
185 }
186
Jingoo Han29824c12013-10-10 16:42:47 +0900187 err = clk_prepare_enable(exynos_ehci->clk);
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900188 if (err)
Julia Lawall63fd0ae2012-07-30 16:43:44 +0200189 goto fail_clk;
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900190
191 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
Vivek Gautam4e24bde2014-05-10 17:30:05 +0530192 hcd->regs = devm_ioremap_resource(&pdev->dev, res);
193 if (IS_ERR(hcd->regs)) {
194 err = PTR_ERR(hcd->regs);
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900195 goto fail_io;
196 }
197
Varka Bhadram35df6472014-11-04 07:51:33 +0530198 hcd->rsrc_start = res->start;
199 hcd->rsrc_len = resource_size(res);
200
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900201 irq = platform_get_irq(pdev, 0);
202 if (!irq) {
203 dev_err(&pdev->dev, "Failed to get IRQ\n");
204 err = -ENODEV;
Jingoo Han9cb07562012-06-28 16:29:46 +0900205 goto fail_io;
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900206 }
207
Kamil Debski1c176752014-05-05 10:32:28 +0530208 err = exynos_ehci_phy_enable(&pdev->dev);
209 if (err) {
210 dev_err(&pdev->dev, "Failed to enable USB phy\n");
211 goto fail_io;
212 }
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900213
214 ehci = hcd_to_ehci(hcd);
215 ehci->caps = hcd->regs;
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900216
Jingoo Han88555a62012-03-05 10:40:14 +0900217 /* DMA burst Enable */
218 writel(EHCI_INSNREG00_ENABLE_DMA_BURST, EHCI_INSNREG00(hcd->regs));
219
Yong Zhangb5dd18d2011-09-07 16:10:52 +0800220 err = usb_add_hcd(hcd, irq, IRQF_SHARED);
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900221 if (err) {
222 dev_err(&pdev->dev, "Failed to add USB HCD\n");
Vivek Gautamd233c192013-01-22 18:30:42 +0530223 goto fail_add_hcd;
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900224 }
Peter Chen3c9740a2013-11-05 10:46:02 +0800225 device_wakeup_enable(hcd->self.controller);
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900226
Vivek Gautambbcd85a2013-04-09 18:42:11 +0530227 platform_set_drvdata(pdev, hcd);
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900228
229 return 0;
230
Vivek Gautamd233c192013-01-22 18:30:42 +0530231fail_add_hcd:
Kamil Debski1c176752014-05-05 10:32:28 +0530232 exynos_ehci_phy_disable(&pdev->dev);
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900233fail_io:
Jingoo Han29824c12013-10-10 16:42:47 +0900234 clk_disable_unprepare(exynos_ehci->clk);
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900235fail_clk:
236 usb_put_hcd(hcd);
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900237 return err;
238}
239
Jingoo Han29824c12013-10-10 16:42:47 +0900240static int exynos_ehci_remove(struct platform_device *pdev)
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900241{
Manjunath Goudar7edb3da2013-04-02 18:24:01 +0200242 struct usb_hcd *hcd = platform_get_drvdata(pdev);
Jingoo Han29824c12013-10-10 16:42:47 +0900243 struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd);
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900244
245 usb_remove_hcd(hcd);
246
Kamil Debski1c176752014-05-05 10:32:28 +0530247 exynos_ehci_phy_disable(&pdev->dev);
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900248
Jingoo Han29824c12013-10-10 16:42:47 +0900249 clk_disable_unprepare(exynos_ehci->clk);
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900250
251 usb_put_hcd(hcd);
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900252
253 return 0;
254}
255
Jingoo Han1acb30e2011-05-20 20:48:33 +0900256#ifdef CONFIG_PM
Jingoo Han29824c12013-10-10 16:42:47 +0900257static int exynos_ehci_suspend(struct device *dev)
Jingoo Han1acb30e2011-05-20 20:48:33 +0900258{
Manjunath Goudar7edb3da2013-04-02 18:24:01 +0200259 struct usb_hcd *hcd = dev_get_drvdata(dev);
Jingoo Han29824c12013-10-10 16:42:47 +0900260 struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd);
Manjunath Goudar7edb3da2013-04-02 18:24:01 +0200261
Alan Sternc5cf9212012-06-28 11:19:02 -0400262 bool do_wakeup = device_may_wakeup(dev);
Alan Sternc5cf9212012-06-28 11:19:02 -0400263 int rc;
Jingoo Han1acb30e2011-05-20 20:48:33 +0900264
Alan Sternc5cf9212012-06-28 11:19:02 -0400265 rc = ehci_suspend(hcd, do_wakeup);
Vivek Gautamd7217512014-04-10 15:58:01 +0530266 if (rc)
267 return rc;
Jingoo Han1acb30e2011-05-20 20:48:33 +0900268
Kamil Debski1c176752014-05-05 10:32:28 +0530269 exynos_ehci_phy_disable(dev);
Jingoo Han1acb30e2011-05-20 20:48:33 +0900270
Jingoo Han29824c12013-10-10 16:42:47 +0900271 clk_disable_unprepare(exynos_ehci->clk);
Jingoo Han8b4fc8c2012-04-13 11:06:36 +0900272
Jingoo Han1acb30e2011-05-20 20:48:33 +0900273 return rc;
274}
275
Jingoo Han29824c12013-10-10 16:42:47 +0900276static int exynos_ehci_resume(struct device *dev)
Jingoo Han1acb30e2011-05-20 20:48:33 +0900277{
Manjunath Goudar7edb3da2013-04-02 18:24:01 +0200278 struct usb_hcd *hcd = dev_get_drvdata(dev);
Jingoo Han29824c12013-10-10 16:42:47 +0900279 struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd);
Kamil Debski1c176752014-05-05 10:32:28 +0530280 int ret;
Jingoo Han1acb30e2011-05-20 20:48:33 +0900281
Jingoo Han29824c12013-10-10 16:42:47 +0900282 clk_prepare_enable(exynos_ehci->clk);
Jingoo Han8b4fc8c2012-04-13 11:06:36 +0900283
Kamil Debski1c176752014-05-05 10:32:28 +0530284 ret = exynos_ehci_phy_enable(dev);
285 if (ret) {
286 dev_err(dev, "Failed to enable USB phy\n");
287 clk_disable_unprepare(exynos_ehci->clk);
288 return ret;
289 }
Jingoo Han1acb30e2011-05-20 20:48:33 +0900290
Jingoo Han88555a62012-03-05 10:40:14 +0900291 /* DMA burst Enable */
292 writel(EHCI_INSNREG00_ENABLE_DMA_BURST, EHCI_INSNREG00(hcd->regs));
293
Alan Sternc5cf9212012-06-28 11:19:02 -0400294 ehci_resume(hcd, false);
Jingoo Han1acb30e2011-05-20 20:48:33 +0900295 return 0;
296}
297#else
Jingoo Han29824c12013-10-10 16:42:47 +0900298#define exynos_ehci_suspend NULL
299#define exynos_ehci_resume NULL
Jingoo Han1acb30e2011-05-20 20:48:33 +0900300#endif
301
Jingoo Han29824c12013-10-10 16:42:47 +0900302static const struct dev_pm_ops exynos_ehci_pm_ops = {
303 .suspend = exynos_ehci_suspend,
304 .resume = exynos_ehci_resume,
Jingoo Han1acb30e2011-05-20 20:48:33 +0900305};
306
Vivek Gautam2c026e22012-07-16 11:25:37 +0530307#ifdef CONFIG_OF
308static const struct of_device_id exynos_ehci_match[] = {
Vivek Gautam6e247772013-01-24 19:15:29 +0530309 { .compatible = "samsung,exynos4210-ehci" },
Thomas Abrahame6b0166f2013-05-27 18:42:12 +0900310 { .compatible = "samsung,exynos5440-ehci" },
Vivek Gautam2c026e22012-07-16 11:25:37 +0530311 {},
312};
313MODULE_DEVICE_TABLE(of, exynos_ehci_match);
314#endif
315
Jingoo Han29824c12013-10-10 16:42:47 +0900316static struct platform_driver exynos_ehci_driver = {
317 .probe = exynos_ehci_probe,
318 .remove = exynos_ehci_remove,
Roger Quadrosaaf6b522013-07-22 15:04:50 +0300319 .shutdown = usb_hcd_platform_shutdown,
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900320 .driver = {
Jingoo Han29824c12013-10-10 16:42:47 +0900321 .name = "exynos-ehci",
Jingoo Han29824c12013-10-10 16:42:47 +0900322 .pm = &exynos_ehci_pm_ops,
Vivek Gautam2c026e22012-07-16 11:25:37 +0530323 .of_match_table = of_match_ptr(exynos_ehci_match),
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900324 }
325};
Nicolas Pitreedc8c542016-04-27 13:28:32 -0400326static const struct ehci_driver_overrides exynos_overrides __initconst = {
Jingoo Han29824c12013-10-10 16:42:47 +0900327 .extra_priv_size = sizeof(struct exynos_ehci_hcd),
Manjunath Goudar7edb3da2013-04-02 18:24:01 +0200328};
Joonyoung Shim1bcc5aa2011-04-08 14:08:50 +0900329
Jingoo Han29824c12013-10-10 16:42:47 +0900330static int __init ehci_exynos_init(void)
Manjunath Goudar7edb3da2013-04-02 18:24:01 +0200331{
332 if (usb_disabled())
333 return -ENODEV;
334
335 pr_info("%s: " DRIVER_DESC "\n", hcd_name);
Jingoo Han29824c12013-10-10 16:42:47 +0900336 ehci_init_driver(&exynos_ehci_hc_driver, &exynos_overrides);
337 return platform_driver_register(&exynos_ehci_driver);
Manjunath Goudar7edb3da2013-04-02 18:24:01 +0200338}
Jingoo Han29824c12013-10-10 16:42:47 +0900339module_init(ehci_exynos_init);
Manjunath Goudar7edb3da2013-04-02 18:24:01 +0200340
Jingoo Han29824c12013-10-10 16:42:47 +0900341static void __exit ehci_exynos_cleanup(void)
Manjunath Goudar7edb3da2013-04-02 18:24:01 +0200342{
Jingoo Han29824c12013-10-10 16:42:47 +0900343 platform_driver_unregister(&exynos_ehci_driver);
Manjunath Goudar7edb3da2013-04-02 18:24:01 +0200344}
Jingoo Han29824c12013-10-10 16:42:47 +0900345module_exit(ehci_exynos_cleanup);
Manjunath Goudar7edb3da2013-04-02 18:24:01 +0200346
347MODULE_DESCRIPTION(DRIVER_DESC);
Jingoo Han29824c12013-10-10 16:42:47 +0900348MODULE_ALIAS("platform:exynos-ehci");
Manjunath Goudar7edb3da2013-04-02 18:24:01 +0200349MODULE_AUTHOR("Jingoo Han");
350MODULE_AUTHOR("Joonyoung Shim");
351MODULE_LICENSE("GPL v2");