da7210.c 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. /*
  2. * DA7210 ALSA Soc codec driver
  3. *
  4. * Copyright (c) 2009 Dialog Semiconductor
  5. * Written by David Chen <Dajun.chen@diasemi.com>
  6. *
  7. * Copyright (C) 2009 Renesas Solutions Corp.
  8. * Cleanups by Kuninori Morimoto <morimoto.kuninori@renesas.com>
  9. *
  10. * Tested on SuperH Ecovec24 board with S16/S24 LE in 48KHz using I2S
  11. *
  12. * This program is free software; you can redistribute it and/or modify it
  13. * under the terms of the GNU General Public License as published by the
  14. * Free Software Foundation; either version 2 of the License, or (at your
  15. * option) any later version.
  16. */
  17. #include <linux/module.h>
  18. #include <linux/moduleparam.h>
  19. #include <linux/kernel.h>
  20. #include <linux/init.h>
  21. #include <linux/delay.h>
  22. #include <linux/pm.h>
  23. #include <linux/i2c.h>
  24. #include <linux/platform_device.h>
  25. #include <sound/core.h>
  26. #include <sound/pcm.h>
  27. #include <sound/pcm_params.h>
  28. #include <sound/soc.h>
  29. #include <sound/soc-dapm.h>
  30. #include <sound/tlv.h>
  31. #include <sound/initval.h>
  32. #include <asm/div64.h>
  33. #include "da7210.h"
  34. /* DA7210 register space */
  35. #define DA7210_STATUS 0x02
  36. #define DA7210_STARTUP1 0x03
  37. #define DA7210_MIC_L 0x07
  38. #define DA7210_MIC_R 0x08
  39. #define DA7210_INMIX_L 0x0D
  40. #define DA7210_INMIX_R 0x0E
  41. #define DA7210_ADC_HPF 0x0F
  42. #define DA7210_ADC 0x10
  43. #define DA7210_DAC_HPF 0x14
  44. #define DA7210_DAC_L 0x15
  45. #define DA7210_DAC_R 0x16
  46. #define DA7210_DAC_SEL 0x17
  47. #define DA7210_OUTMIX_L 0x1C
  48. #define DA7210_OUTMIX_R 0x1D
  49. #define DA7210_HP_L_VOL 0x21
  50. #define DA7210_HP_R_VOL 0x22
  51. #define DA7210_HP_CFG 0x23
  52. #define DA7210_DAI_SRC_SEL 0x25
  53. #define DA7210_DAI_CFG1 0x26
  54. #define DA7210_DAI_CFG3 0x28
  55. #define DA7210_PLL_DIV3 0x2B
  56. #define DA7210_PLL 0x2C
  57. /* STARTUP1 bit fields */
  58. #define DA7210_SC_MST_EN (1 << 0)
  59. /* MIC_L bit fields */
  60. #define DA7210_MICBIAS_EN (1 << 6)
  61. #define DA7210_MIC_L_EN (1 << 7)
  62. /* MIC_R bit fields */
  63. #define DA7210_MIC_R_EN (1 << 7)
  64. /* INMIX_L bit fields */
  65. #define DA7210_IN_L_EN (1 << 7)
  66. /* INMIX_R bit fields */
  67. #define DA7210_IN_R_EN (1 << 7)
  68. /* ADC_HPF bit fields */
  69. #define DA7210_ADC_VOICE_EN (1 << 7)
  70. /* ADC bit fields */
  71. #define DA7210_ADC_L_EN (1 << 3)
  72. #define DA7210_ADC_R_EN (1 << 7)
  73. /* DAC_SEL bit fields */
  74. #define DA7210_DAC_L_SRC_DAI_L (4 << 0)
  75. #define DA7210_DAC_L_EN (1 << 3)
  76. #define DA7210_DAC_R_SRC_DAI_R (5 << 4)
  77. #define DA7210_DAC_R_EN (1 << 7)
  78. /* OUTMIX_L bit fields */
  79. #define DA7210_OUT_L_EN (1 << 7)
  80. /* OUTMIX_R bit fields */
  81. #define DA7210_OUT_R_EN (1 << 7)
  82. /* HP_CFG bit fields */
  83. #define DA7210_HP_2CAP_MODE (1 << 1)
  84. #define DA7210_HP_SENSE_EN (1 << 2)
  85. #define DA7210_HP_L_EN (1 << 3)
  86. #define DA7210_HP_MODE (1 << 6)
  87. #define DA7210_HP_R_EN (1 << 7)
  88. /* DAI_SRC_SEL bit fields */
  89. #define DA7210_DAI_OUT_L_SRC (6 << 0)
  90. #define DA7210_DAI_OUT_R_SRC (7 << 4)
  91. /* DAI_CFG1 bit fields */
  92. #define DA7210_DAI_WORD_S16_LE (0 << 0)
  93. #define DA7210_DAI_WORD_S24_LE (2 << 0)
  94. #define DA7210_DAI_FLEN_64BIT (1 << 2)
  95. #define DA7210_DAI_MODE_MASTER (1 << 7)
  96. /* DAI_CFG3 bit fields */
  97. #define DA7210_DAI_FORMAT_I2SMODE (0 << 0)
  98. #define DA7210_DAI_OE (1 << 3)
  99. #define DA7210_DAI_EN (1 << 7)
  100. /*PLL_DIV3 bit fields */
  101. #define DA7210_MCLK_RANGE_10_20_MHZ (1 << 4)
  102. #define DA7210_PLL_BYP (1 << 6)
  103. /* PLL bit fields */
  104. #define DA7210_PLL_FS_48000 (11 << 0)
  105. #define DA7210_VERSION "0.0.1"
  106. /* Codec private data */
  107. struct da7210_priv {
  108. struct snd_soc_codec codec;
  109. };
  110. static struct snd_soc_codec *da7210_codec;
  111. /*
  112. * Register cache
  113. */
  114. static const u8 da7210_reg[] = {
  115. 0x00, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* R0 - R7 */
  116. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, /* R8 - RF */
  117. 0x00, 0x00, 0x00, 0x00, 0x08, 0x10, 0x10, 0x54, /* R10 - R17 */
  118. 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* R18 - R1F */
  119. 0x00, 0x00, 0x00, 0x02, 0x00, 0x76, 0x00, 0x00, /* R20 - R27 */
  120. 0x04, 0x00, 0x00, 0x30, 0x2A, 0x00, 0x40, 0x00, /* R28 - R2F */
  121. 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, /* R30 - R37 */
  122. 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x00, 0x00, /* R38 - R3F */
  123. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* R40 - R4F */
  124. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* R48 - R4F */
  125. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* R50 - R57 */
  126. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* R58 - R5F */
  127. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* R60 - R67 */
  128. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* R68 - R6F */
  129. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* R70 - R77 */
  130. 0x00, 0x00, 0x00, 0x00, 0x00, 0x54, 0x54, 0x00, /* R78 - R7F */
  131. 0x00, 0x00, 0x2C, 0x00, 0x00, 0x00, 0x00, 0x00, /* R80 - R87 */
  132. 0x00, /* R88 */
  133. };
  134. /*
  135. * Read da7210 register cache
  136. */
  137. static inline u32 da7210_read_reg_cache(struct snd_soc_codec *codec, u32 reg)
  138. {
  139. u8 *cache = codec->reg_cache;
  140. BUG_ON(reg > ARRAY_SIZE(da7210_reg));
  141. return cache[reg];
  142. }
  143. /*
  144. * Write to the da7210 register space
  145. */
  146. static int da7210_write(struct snd_soc_codec *codec, u32 reg, u32 value)
  147. {
  148. u8 *cache = codec->reg_cache;
  149. u8 data[2];
  150. BUG_ON(codec->volatile_register);
  151. data[0] = reg & 0xff;
  152. data[1] = value & 0xff;
  153. if (reg >= codec->reg_cache_size)
  154. return -EIO;
  155. if (2 != codec->hw_write(codec->control_data, data, 2))
  156. return -EIO;
  157. cache[reg] = value;
  158. return 0;
  159. }
  160. /*
  161. * Read from the da7210 register space.
  162. */
  163. static inline u32 da7210_read(struct snd_soc_codec *codec, u32 reg)
  164. {
  165. if (DA7210_STATUS == reg)
  166. return i2c_smbus_read_byte_data(codec->control_data, reg);
  167. return da7210_read_reg_cache(codec, reg);
  168. }
  169. static int da7210_startup(struct snd_pcm_substream *substream,
  170. struct snd_soc_dai *dai)
  171. {
  172. int is_play = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
  173. struct snd_soc_codec *codec = dai->codec;
  174. if (is_play) {
  175. /* PlayBack Volume 40 */
  176. snd_soc_update_bits(codec, DA7210_HP_L_VOL, 0x3F, 40);
  177. snd_soc_update_bits(codec, DA7210_HP_R_VOL, 0x3F, 40);
  178. /* Enable Out */
  179. snd_soc_update_bits(codec, DA7210_OUTMIX_L, 0x1F, 0x10);
  180. snd_soc_update_bits(codec, DA7210_OUTMIX_R, 0x1F, 0x10);
  181. } else {
  182. /* Volume 7 */
  183. snd_soc_update_bits(codec, DA7210_MIC_L, 0x7, 0x7);
  184. snd_soc_update_bits(codec, DA7210_MIC_R, 0x7, 0x7);
  185. /* Enable Mic */
  186. snd_soc_update_bits(codec, DA7210_INMIX_L, 0x1F, 0x1);
  187. snd_soc_update_bits(codec, DA7210_INMIX_R, 0x1F, 0x1);
  188. }
  189. return 0;
  190. }
  191. /*
  192. * Set PCM DAI word length.
  193. */
  194. static int da7210_hw_params(struct snd_pcm_substream *substream,
  195. struct snd_pcm_hw_params *params,
  196. struct snd_soc_dai *dai)
  197. {
  198. struct snd_soc_pcm_runtime *rtd = substream->private_data;
  199. struct snd_soc_device *socdev = rtd->socdev;
  200. struct snd_soc_codec *codec = socdev->card->codec;
  201. u32 dai_cfg1;
  202. u32 reg, mask;
  203. /* set DAI source to Left and Right ADC */
  204. da7210_write(codec, DA7210_DAI_SRC_SEL,
  205. DA7210_DAI_OUT_R_SRC | DA7210_DAI_OUT_L_SRC);
  206. /* Enable DAI */
  207. da7210_write(codec, DA7210_DAI_CFG3, DA7210_DAI_OE | DA7210_DAI_EN);
  208. dai_cfg1 = 0xFC & da7210_read(codec, DA7210_DAI_CFG1);
  209. switch (params_format(params)) {
  210. case SNDRV_PCM_FORMAT_S16_LE:
  211. dai_cfg1 |= DA7210_DAI_WORD_S16_LE;
  212. break;
  213. case SNDRV_PCM_FORMAT_S24_LE:
  214. dai_cfg1 |= DA7210_DAI_WORD_S24_LE;
  215. break;
  216. default:
  217. return -EINVAL;
  218. }
  219. da7210_write(codec, DA7210_DAI_CFG1, dai_cfg1);
  220. /* FIXME
  221. *
  222. * It support 48K only now
  223. */
  224. switch (params_rate(params)) {
  225. case 48000:
  226. if (SNDRV_PCM_STREAM_PLAYBACK == substream->stream) {
  227. reg = DA7210_DAC_HPF;
  228. mask = DA7210_DAC_VOICE_EN;
  229. } else {
  230. reg = DA7210_ADC_HPF;
  231. mask = DA7210_ADC_VOICE_EN;
  232. }
  233. break;
  234. default:
  235. return -EINVAL;
  236. }
  237. snd_soc_update_bits(codec, reg, mask, 0);
  238. return 0;
  239. }
  240. /*
  241. * Set DAI mode and Format
  242. */
  243. static int da7210_set_dai_fmt(struct snd_soc_dai *codec_dai, u32 fmt)
  244. {
  245. struct snd_soc_codec *codec = codec_dai->codec;
  246. u32 dai_cfg1;
  247. u32 dai_cfg3;
  248. dai_cfg1 = 0x7f & da7210_read(codec, DA7210_DAI_CFG1);
  249. dai_cfg3 = 0xfc & da7210_read(codec, DA7210_DAI_CFG3);
  250. switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
  251. case SND_SOC_DAIFMT_CBM_CFM:
  252. dai_cfg1 |= DA7210_DAI_MODE_MASTER;
  253. break;
  254. default:
  255. return -EINVAL;
  256. }
  257. /* FIXME
  258. *
  259. * It support I2S only now
  260. */
  261. switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
  262. case SND_SOC_DAIFMT_I2S:
  263. dai_cfg3 |= DA7210_DAI_FORMAT_I2SMODE;
  264. break;
  265. default:
  266. return -EINVAL;
  267. }
  268. /* FIXME
  269. *
  270. * It support 64bit data transmission only now
  271. */
  272. dai_cfg1 |= DA7210_DAI_FLEN_64BIT;
  273. da7210_write(codec, DA7210_DAI_CFG1, dai_cfg1);
  274. da7210_write(codec, DA7210_DAI_CFG3, dai_cfg3);
  275. return 0;
  276. }
  277. #define DA7210_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE)
  278. /* DAI operations */
  279. static struct snd_soc_dai_ops da7210_dai_ops = {
  280. .startup = da7210_startup,
  281. .hw_params = da7210_hw_params,
  282. .set_fmt = da7210_set_dai_fmt,
  283. };
  284. struct snd_soc_dai da7210_dai = {
  285. .name = "DA7210 IIS",
  286. .id = 0,
  287. /* playback capabilities */
  288. .playback = {
  289. .stream_name = "Playback",
  290. .channels_min = 1,
  291. .channels_max = 2,
  292. .rates = SNDRV_PCM_RATE_8000_96000,
  293. .formats = DA7210_FORMATS,
  294. },
  295. /* capture capabilities */
  296. .capture = {
  297. .stream_name = "Capture",
  298. .channels_min = 1,
  299. .channels_max = 2,
  300. .rates = SNDRV_PCM_RATE_8000_96000,
  301. .formats = DA7210_FORMATS,
  302. },
  303. .ops = &da7210_dai_ops,
  304. };
  305. EXPORT_SYMBOL_GPL(da7210_dai);
  306. /*
  307. * Initialize the DA7210 driver
  308. * register the mixer and dsp interfaces with the kernel
  309. */
  310. static int da7210_init(struct da7210_priv *da7210)
  311. {
  312. struct snd_soc_codec *codec = &da7210->codec;
  313. int ret = 0;
  314. if (da7210_codec) {
  315. dev_err(codec->dev, "Another da7210 is registered\n");
  316. return -EINVAL;
  317. }
  318. mutex_init(&codec->mutex);
  319. INIT_LIST_HEAD(&codec->dapm_widgets);
  320. INIT_LIST_HEAD(&codec->dapm_paths);
  321. codec->private_data = da7210;
  322. codec->name = "DA7210";
  323. codec->owner = THIS_MODULE;
  324. codec->read = da7210_read;
  325. codec->write = da7210_write;
  326. codec->dai = &da7210_dai;
  327. codec->num_dai = 1;
  328. codec->hw_write = (hw_write_t)i2c_master_send;
  329. codec->reg_cache_size = ARRAY_SIZE(da7210_reg);
  330. codec->reg_cache = kmemdup(da7210_reg,
  331. sizeof(da7210_reg), GFP_KERNEL);
  332. if (!codec->reg_cache)
  333. return -ENOMEM;
  334. da7210_dai.dev = codec->dev;
  335. da7210_codec = codec;
  336. ret = snd_soc_register_codec(codec);
  337. if (ret) {
  338. dev_err(codec->dev, "Failed to register CODEC: %d\n", ret);
  339. goto init_err;
  340. }
  341. ret = snd_soc_register_dai(&da7210_dai);
  342. if (ret) {
  343. dev_err(codec->dev, "Failed to register DAI: %d\n", ret);
  344. goto init_err;
  345. }
  346. /* FIXME
  347. *
  348. * This driver use fixed value here
  349. */
  350. /*
  351. * ADC settings
  352. */
  353. /* Enable Left & Right MIC PGA and Mic Bias */
  354. da7210_write(codec, DA7210_MIC_L, DA7210_MIC_L_EN | DA7210_MICBIAS_EN);
  355. da7210_write(codec, DA7210_MIC_R, DA7210_MIC_R_EN);
  356. /* Enable Left and Right input PGA */
  357. da7210_write(codec, DA7210_INMIX_L, DA7210_IN_L_EN);
  358. da7210_write(codec, DA7210_INMIX_R, DA7210_IN_R_EN);
  359. /* Enable Left and Right ADC */
  360. da7210_write(codec, DA7210_ADC, DA7210_ADC_L_EN | DA7210_ADC_R_EN);
  361. /*
  362. * DAC settings
  363. */
  364. /* Enable Left and Right DAC */
  365. da7210_write(codec, DA7210_DAC_SEL,
  366. DA7210_DAC_L_SRC_DAI_L | DA7210_DAC_L_EN |
  367. DA7210_DAC_R_SRC_DAI_R | DA7210_DAC_R_EN);
  368. /* Enable Left and Right out PGA */
  369. da7210_write(codec, DA7210_OUTMIX_L, DA7210_OUT_L_EN);
  370. da7210_write(codec, DA7210_OUTMIX_R, DA7210_OUT_R_EN);
  371. /* Enable Left and Right HeadPhone PGA */
  372. da7210_write(codec, DA7210_HP_CFG,
  373. DA7210_HP_2CAP_MODE | DA7210_HP_SENSE_EN |
  374. DA7210_HP_L_EN | DA7210_HP_MODE | DA7210_HP_R_EN);
  375. /* Diable PLL and bypass it */
  376. da7210_write(codec, DA7210_PLL, DA7210_PLL_FS_48000);
  377. /* Bypass PLL and set MCLK freq rang to 10-20MHz */
  378. da7210_write(codec, DA7210_PLL_DIV3,
  379. DA7210_MCLK_RANGE_10_20_MHZ | DA7210_PLL_BYP);
  380. /* Activate all enabled subsystem */
  381. da7210_write(codec, DA7210_STARTUP1, DA7210_SC_MST_EN);
  382. return ret;
  383. init_err:
  384. kfree(codec->reg_cache);
  385. codec->reg_cache = NULL;
  386. return ret;
  387. }
  388. #if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
  389. static int da7210_i2c_probe(struct i2c_client *i2c,
  390. const struct i2c_device_id *id)
  391. {
  392. struct da7210_priv *da7210;
  393. struct snd_soc_codec *codec;
  394. int ret;
  395. da7210 = kzalloc(sizeof(struct da7210_priv), GFP_KERNEL);
  396. if (!da7210)
  397. return -ENOMEM;
  398. codec = &da7210->codec;
  399. codec->dev = &i2c->dev;
  400. i2c_set_clientdata(i2c, da7210);
  401. codec->control_data = i2c;
  402. ret = da7210_init(da7210);
  403. if (ret < 0)
  404. pr_err("Failed to initialise da7210 audio codec\n");
  405. return ret;
  406. }
  407. static int da7210_i2c_remove(struct i2c_client *client)
  408. {
  409. struct da7210_priv *da7210 = i2c_get_clientdata(client);
  410. snd_soc_unregister_dai(&da7210_dai);
  411. kfree(da7210->codec.reg_cache);
  412. kfree(da7210);
  413. da7210_codec = NULL;
  414. return 0;
  415. }
  416. static const struct i2c_device_id da7210_i2c_id[] = {
  417. { "da7210", 0 },
  418. { }
  419. };
  420. MODULE_DEVICE_TABLE(i2c, da7210_i2c_id);
  421. /* I2C codec control layer */
  422. static struct i2c_driver da7210_i2c_driver = {
  423. .driver = {
  424. .name = "DA7210 I2C Codec",
  425. .owner = THIS_MODULE,
  426. },
  427. .probe = da7210_i2c_probe,
  428. .remove = __devexit_p(da7210_i2c_remove),
  429. .id_table = da7210_i2c_id,
  430. };
  431. #endif
  432. static int da7210_probe(struct platform_device *pdev)
  433. {
  434. struct snd_soc_device *socdev = platform_get_drvdata(pdev);
  435. struct snd_soc_codec *codec;
  436. int ret;
  437. if (!da7210_codec) {
  438. dev_err(&pdev->dev, "Codec device not registered\n");
  439. return -ENODEV;
  440. }
  441. socdev->card->codec = da7210_codec;
  442. codec = da7210_codec;
  443. /* Register pcms */
  444. ret = snd_soc_new_pcms(socdev, SNDRV_DEFAULT_IDX1, SNDRV_DEFAULT_STR1);
  445. if (ret < 0)
  446. goto pcm_err;
  447. dev_info(&pdev->dev, "DA7210 Audio Codec %s\n", DA7210_VERSION);
  448. pcm_err:
  449. return ret;
  450. }
  451. static int da7210_remove(struct platform_device *pdev)
  452. {
  453. struct snd_soc_device *socdev = platform_get_drvdata(pdev);
  454. snd_soc_free_pcms(socdev);
  455. snd_soc_dapm_free(socdev);
  456. return 0;
  457. }
  458. struct snd_soc_codec_device soc_codec_dev_da7210 = {
  459. .probe = da7210_probe,
  460. .remove = da7210_remove,
  461. };
  462. EXPORT_SYMBOL_GPL(soc_codec_dev_da7210);
  463. static int __init da7210_modinit(void)
  464. {
  465. int ret = 0;
  466. #if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
  467. ret = i2c_add_driver(&da7210_i2c_driver);
  468. #endif
  469. return ret;
  470. }
  471. module_init(da7210_modinit);
  472. static void __exit da7210_exit(void)
  473. {
  474. #if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
  475. i2c_del_driver(&da7210_i2c_driver);
  476. #endif
  477. }
  478. module_exit(da7210_exit);
  479. MODULE_DESCRIPTION("ASoC DA7210 driver");
  480. MODULE_AUTHOR("David Chen, Kuninori Morimoto");
  481. MODULE_LICENSE("GPL");