evea.c 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571
  1. // SPDX-License-Identifier: GPL-2.0
  2. //
  3. // Socionext UniPhier EVEA ADC/DAC codec driver.
  4. //
  5. // Copyright (c) 2016-2017 Socionext Inc.
  6. #include <linux/clk.h>
  7. #include <linux/module.h>
  8. #include <linux/of.h>
  9. #include <linux/regmap.h>
  10. #include <linux/reset.h>
  11. #include <sound/pcm.h>
  12. #include <sound/soc.h>
  13. #define DRV_NAME "evea"
  14. #define EVEA_RATES SNDRV_PCM_RATE_48000
  15. #define EVEA_FORMATS SNDRV_PCM_FMTBIT_S32_LE
  16. #define AADCPOW(n) (0x0078 + 0x04 * (n))
  17. #define AADCPOW_AADC_POWD BIT(0)
  18. #define ALINSW1 0x0088
  19. #define ALINSW1_SEL1_SHIFT 3
  20. #define AHPOUTPOW 0x0098
  21. #define AHPOUTPOW_HP_ON BIT(4)
  22. #define ALINEPOW 0x009c
  23. #define ALINEPOW_LIN2_POWD BIT(3)
  24. #define ALINEPOW_LIN1_POWD BIT(4)
  25. #define ALO1OUTPOW 0x00a8
  26. #define ALO1OUTPOW_LO1_ON BIT(4)
  27. #define ALO2OUTPOW 0x00ac
  28. #define ALO2OUTPOW_ADAC2_MUTE BIT(0)
  29. #define ALO2OUTPOW_LO2_ON BIT(4)
  30. #define AANAPOW 0x00b8
  31. #define AANAPOW_A_POWD BIT(4)
  32. #define ADACSEQ1(n) (0x0144 + 0x40 * (n))
  33. #define ADACSEQ1_MMUTE BIT(1)
  34. #define ADACSEQ2(n) (0x0160 + 0x40 * (n))
  35. #define ADACSEQ2_ADACIN_FIX BIT(0)
  36. #define ADAC1ODC 0x0200
  37. #define ADAC1ODC_HP_DIS_RES_MASK GENMASK(2, 1)
  38. #define ADAC1ODC_HP_DIS_RES_OFF (0x0 << 1)
  39. #define ADAC1ODC_HP_DIS_RES_ON (0x3 << 1)
  40. #define ADAC1ODC_ADAC_RAMPCLT_MASK GENMASK(8, 7)
  41. #define ADAC1ODC_ADAC_RAMPCLT_NORMAL (0x0 << 7)
  42. #define ADAC1ODC_ADAC_RAMPCLT_REDUCE (0x1 << 7)
  43. struct evea_priv {
  44. struct clk *clk, *clk_exiv;
  45. struct reset_control *rst, *rst_exiv, *rst_adamv;
  46. struct regmap *regmap;
  47. int switch_lin;
  48. int switch_lo;
  49. int switch_hp;
  50. };
  51. static const char * const linsw1_sel1_text[] = {
  52. "LIN1", "LIN2", "LIN3"
  53. };
  54. static SOC_ENUM_SINGLE_DECL(linsw1_sel1_enum,
  55. ALINSW1, ALINSW1_SEL1_SHIFT,
  56. linsw1_sel1_text);
  57. static const struct snd_kcontrol_new linesw1_mux[] = {
  58. SOC_DAPM_ENUM("Line In 1 Source", linsw1_sel1_enum),
  59. };
  60. static const struct snd_soc_dapm_widget evea_widgets[] = {
  61. SND_SOC_DAPM_ADC("ADC", NULL, SND_SOC_NOPM, 0, 0),
  62. SND_SOC_DAPM_MUX("Line In 1 Mux", SND_SOC_NOPM, 0, 0, linesw1_mux),
  63. SND_SOC_DAPM_INPUT("LIN1_LP"),
  64. SND_SOC_DAPM_INPUT("LIN1_RP"),
  65. SND_SOC_DAPM_INPUT("LIN2_LP"),
  66. SND_SOC_DAPM_INPUT("LIN2_RP"),
  67. SND_SOC_DAPM_INPUT("LIN3_LP"),
  68. SND_SOC_DAPM_INPUT("LIN3_RP"),
  69. SND_SOC_DAPM_DAC("DAC HP", NULL, SND_SOC_NOPM, 0, 0),
  70. SND_SOC_DAPM_DAC("DAC LO1", NULL, SND_SOC_NOPM, 0, 0),
  71. SND_SOC_DAPM_DAC("DAC LO2", NULL, SND_SOC_NOPM, 0, 0),
  72. SND_SOC_DAPM_OUTPUT("HP1_L"),
  73. SND_SOC_DAPM_OUTPUT("HP1_R"),
  74. SND_SOC_DAPM_OUTPUT("LO2_L"),
  75. SND_SOC_DAPM_OUTPUT("LO2_R"),
  76. };
  77. static const struct snd_soc_dapm_route evea_routes[] = {
  78. { "Line In 1", NULL, "ADC" },
  79. { "ADC", NULL, "Line In 1 Mux" },
  80. { "Line In 1 Mux", "LIN1", "LIN1_LP" },
  81. { "Line In 1 Mux", "LIN1", "LIN1_RP" },
  82. { "Line In 1 Mux", "LIN2", "LIN2_LP" },
  83. { "Line In 1 Mux", "LIN2", "LIN2_RP" },
  84. { "Line In 1 Mux", "LIN3", "LIN3_LP" },
  85. { "Line In 1 Mux", "LIN3", "LIN3_RP" },
  86. { "DAC HP", NULL, "Headphone 1" },
  87. { "DAC LO1", NULL, "Line Out 1" },
  88. { "DAC LO2", NULL, "Line Out 2" },
  89. { "HP1_L", NULL, "DAC HP" },
  90. { "HP1_R", NULL, "DAC HP" },
  91. { "LO2_L", NULL, "DAC LO2" },
  92. { "LO2_R", NULL, "DAC LO2" },
  93. };
  94. static void evea_set_power_state_on(struct evea_priv *evea)
  95. {
  96. struct regmap *map = evea->regmap;
  97. regmap_update_bits(map, AANAPOW, AANAPOW_A_POWD,
  98. AANAPOW_A_POWD);
  99. regmap_update_bits(map, ADAC1ODC, ADAC1ODC_HP_DIS_RES_MASK,
  100. ADAC1ODC_HP_DIS_RES_ON);
  101. regmap_update_bits(map, ADAC1ODC, ADAC1ODC_ADAC_RAMPCLT_MASK,
  102. ADAC1ODC_ADAC_RAMPCLT_REDUCE);
  103. regmap_update_bits(map, ADACSEQ2(0), ADACSEQ2_ADACIN_FIX, 0);
  104. regmap_update_bits(map, ADACSEQ2(1), ADACSEQ2_ADACIN_FIX, 0);
  105. regmap_update_bits(map, ADACSEQ2(2), ADACSEQ2_ADACIN_FIX, 0);
  106. }
  107. static void evea_set_power_state_off(struct evea_priv *evea)
  108. {
  109. struct regmap *map = evea->regmap;
  110. regmap_update_bits(map, ADAC1ODC, ADAC1ODC_HP_DIS_RES_MASK,
  111. ADAC1ODC_HP_DIS_RES_ON);
  112. regmap_update_bits(map, ADACSEQ1(0), ADACSEQ1_MMUTE,
  113. ADACSEQ1_MMUTE);
  114. regmap_update_bits(map, ADACSEQ1(1), ADACSEQ1_MMUTE,
  115. ADACSEQ1_MMUTE);
  116. regmap_update_bits(map, ADACSEQ1(2), ADACSEQ1_MMUTE,
  117. ADACSEQ1_MMUTE);
  118. regmap_update_bits(map, ALO1OUTPOW, ALO1OUTPOW_LO1_ON, 0);
  119. regmap_update_bits(map, ALO2OUTPOW, ALO2OUTPOW_LO2_ON, 0);
  120. regmap_update_bits(map, AHPOUTPOW, AHPOUTPOW_HP_ON, 0);
  121. }
  122. static int evea_update_switch_lin(struct evea_priv *evea)
  123. {
  124. struct regmap *map = evea->regmap;
  125. if (evea->switch_lin) {
  126. regmap_update_bits(map, ALINEPOW,
  127. ALINEPOW_LIN2_POWD | ALINEPOW_LIN1_POWD,
  128. ALINEPOW_LIN2_POWD | ALINEPOW_LIN1_POWD);
  129. regmap_update_bits(map, AADCPOW(0), AADCPOW_AADC_POWD,
  130. AADCPOW_AADC_POWD);
  131. regmap_update_bits(map, AADCPOW(1), AADCPOW_AADC_POWD,
  132. AADCPOW_AADC_POWD);
  133. } else {
  134. regmap_update_bits(map, AADCPOW(0), AADCPOW_AADC_POWD, 0);
  135. regmap_update_bits(map, AADCPOW(1), AADCPOW_AADC_POWD, 0);
  136. regmap_update_bits(map, ALINEPOW,
  137. ALINEPOW_LIN2_POWD | ALINEPOW_LIN1_POWD, 0);
  138. }
  139. return 0;
  140. }
  141. static int evea_update_switch_lo(struct evea_priv *evea)
  142. {
  143. struct regmap *map = evea->regmap;
  144. if (evea->switch_lo) {
  145. regmap_update_bits(map, ADACSEQ1(0), ADACSEQ1_MMUTE, 0);
  146. regmap_update_bits(map, ADACSEQ1(2), ADACSEQ1_MMUTE, 0);
  147. regmap_update_bits(map, ALO1OUTPOW, ALO1OUTPOW_LO1_ON,
  148. ALO1OUTPOW_LO1_ON);
  149. regmap_update_bits(map, ALO2OUTPOW,
  150. ALO2OUTPOW_ADAC2_MUTE | ALO2OUTPOW_LO2_ON,
  151. ALO2OUTPOW_ADAC2_MUTE | ALO2OUTPOW_LO2_ON);
  152. } else {
  153. regmap_update_bits(map, ADACSEQ1(0), ADACSEQ1_MMUTE,
  154. ADACSEQ1_MMUTE);
  155. regmap_update_bits(map, ADACSEQ1(2), ADACSEQ1_MMUTE,
  156. ADACSEQ1_MMUTE);
  157. regmap_update_bits(map, ALO1OUTPOW, ALO1OUTPOW_LO1_ON, 0);
  158. regmap_update_bits(map, ALO2OUTPOW,
  159. ALO2OUTPOW_ADAC2_MUTE | ALO2OUTPOW_LO2_ON,
  160. 0);
  161. }
  162. return 0;
  163. }
  164. static int evea_update_switch_hp(struct evea_priv *evea)
  165. {
  166. struct regmap *map = evea->regmap;
  167. if (evea->switch_hp) {
  168. regmap_update_bits(map, ADACSEQ1(1), ADACSEQ1_MMUTE, 0);
  169. regmap_update_bits(map, AHPOUTPOW, AHPOUTPOW_HP_ON,
  170. AHPOUTPOW_HP_ON);
  171. regmap_update_bits(map, ADAC1ODC, ADAC1ODC_HP_DIS_RES_MASK,
  172. ADAC1ODC_HP_DIS_RES_OFF);
  173. } else {
  174. regmap_update_bits(map, ADAC1ODC, ADAC1ODC_HP_DIS_RES_MASK,
  175. ADAC1ODC_HP_DIS_RES_ON);
  176. regmap_update_bits(map, ADACSEQ1(1), ADACSEQ1_MMUTE,
  177. ADACSEQ1_MMUTE);
  178. regmap_update_bits(map, AHPOUTPOW, AHPOUTPOW_HP_ON, 0);
  179. }
  180. return 0;
  181. }
  182. static void evea_update_switch_all(struct evea_priv *evea)
  183. {
  184. evea_update_switch_lin(evea);
  185. evea_update_switch_lo(evea);
  186. evea_update_switch_hp(evea);
  187. }
  188. static int evea_get_switch_lin(struct snd_kcontrol *kcontrol,
  189. struct snd_ctl_elem_value *ucontrol)
  190. {
  191. struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol);
  192. struct evea_priv *evea = snd_soc_component_get_drvdata(component);
  193. ucontrol->value.integer.value[0] = evea->switch_lin;
  194. return 0;
  195. }
  196. static int evea_set_switch_lin(struct snd_kcontrol *kcontrol,
  197. struct snd_ctl_elem_value *ucontrol)
  198. {
  199. struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol);
  200. struct evea_priv *evea = snd_soc_component_get_drvdata(component);
  201. if (evea->switch_lin == ucontrol->value.integer.value[0])
  202. return 0;
  203. evea->switch_lin = ucontrol->value.integer.value[0];
  204. return evea_update_switch_lin(evea);
  205. }
  206. static int evea_get_switch_lo(struct snd_kcontrol *kcontrol,
  207. struct snd_ctl_elem_value *ucontrol)
  208. {
  209. struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol);
  210. struct evea_priv *evea = snd_soc_component_get_drvdata(component);
  211. ucontrol->value.integer.value[0] = evea->switch_lo;
  212. return 0;
  213. }
  214. static int evea_set_switch_lo(struct snd_kcontrol *kcontrol,
  215. struct snd_ctl_elem_value *ucontrol)
  216. {
  217. struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol);
  218. struct evea_priv *evea = snd_soc_component_get_drvdata(component);
  219. if (evea->switch_lo == ucontrol->value.integer.value[0])
  220. return 0;
  221. evea->switch_lo = ucontrol->value.integer.value[0];
  222. return evea_update_switch_lo(evea);
  223. }
  224. static int evea_get_switch_hp(struct snd_kcontrol *kcontrol,
  225. struct snd_ctl_elem_value *ucontrol)
  226. {
  227. struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol);
  228. struct evea_priv *evea = snd_soc_component_get_drvdata(component);
  229. ucontrol->value.integer.value[0] = evea->switch_hp;
  230. return 0;
  231. }
  232. static int evea_set_switch_hp(struct snd_kcontrol *kcontrol,
  233. struct snd_ctl_elem_value *ucontrol)
  234. {
  235. struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol);
  236. struct evea_priv *evea = snd_soc_component_get_drvdata(component);
  237. if (evea->switch_hp == ucontrol->value.integer.value[0])
  238. return 0;
  239. evea->switch_hp = ucontrol->value.integer.value[0];
  240. return evea_update_switch_hp(evea);
  241. }
  242. static const struct snd_kcontrol_new evea_controls[] = {
  243. SOC_SINGLE_BOOL_EXT("Line Capture Switch", 0,
  244. evea_get_switch_lin, evea_set_switch_lin),
  245. SOC_SINGLE_BOOL_EXT("Line Playback Switch", 0,
  246. evea_get_switch_lo, evea_set_switch_lo),
  247. SOC_SINGLE_BOOL_EXT("Headphone Playback Switch", 0,
  248. evea_get_switch_hp, evea_set_switch_hp),
  249. };
  250. static int evea_codec_probe(struct snd_soc_component *component)
  251. {
  252. struct evea_priv *evea = snd_soc_component_get_drvdata(component);
  253. evea->switch_lin = 1;
  254. evea->switch_lo = 1;
  255. evea->switch_hp = 1;
  256. evea_set_power_state_on(evea);
  257. evea_update_switch_all(evea);
  258. return 0;
  259. }
  260. static int evea_codec_suspend(struct snd_soc_component *component)
  261. {
  262. struct evea_priv *evea = snd_soc_component_get_drvdata(component);
  263. evea_set_power_state_off(evea);
  264. reset_control_assert(evea->rst_adamv);
  265. reset_control_assert(evea->rst_exiv);
  266. reset_control_assert(evea->rst);
  267. clk_disable_unprepare(evea->clk_exiv);
  268. clk_disable_unprepare(evea->clk);
  269. return 0;
  270. }
  271. static int evea_codec_resume(struct snd_soc_component *component)
  272. {
  273. struct evea_priv *evea = snd_soc_component_get_drvdata(component);
  274. int ret;
  275. ret = clk_prepare_enable(evea->clk);
  276. if (ret)
  277. return ret;
  278. ret = clk_prepare_enable(evea->clk_exiv);
  279. if (ret)
  280. goto err_out_clock;
  281. ret = reset_control_deassert(evea->rst);
  282. if (ret)
  283. goto err_out_clock_exiv;
  284. ret = reset_control_deassert(evea->rst_exiv);
  285. if (ret)
  286. goto err_out_reset;
  287. ret = reset_control_deassert(evea->rst_adamv);
  288. if (ret)
  289. goto err_out_reset_exiv;
  290. evea_set_power_state_on(evea);
  291. evea_update_switch_all(evea);
  292. return 0;
  293. err_out_reset_exiv:
  294. reset_control_assert(evea->rst_exiv);
  295. err_out_reset:
  296. reset_control_assert(evea->rst);
  297. err_out_clock_exiv:
  298. clk_disable_unprepare(evea->clk_exiv);
  299. err_out_clock:
  300. clk_disable_unprepare(evea->clk);
  301. return ret;
  302. }
  303. static struct snd_soc_component_driver soc_codec_evea = {
  304. .probe = evea_codec_probe,
  305. .suspend = evea_codec_suspend,
  306. .resume = evea_codec_resume,
  307. .dapm_widgets = evea_widgets,
  308. .num_dapm_widgets = ARRAY_SIZE(evea_widgets),
  309. .dapm_routes = evea_routes,
  310. .num_dapm_routes = ARRAY_SIZE(evea_routes),
  311. .controls = evea_controls,
  312. .num_controls = ARRAY_SIZE(evea_controls),
  313. .idle_bias_on = 1,
  314. .use_pmdown_time = 1,
  315. .endianness = 1,
  316. };
  317. static struct snd_soc_dai_driver soc_dai_evea[] = {
  318. {
  319. .name = DRV_NAME "-line1",
  320. .playback = {
  321. .stream_name = "Line Out 1",
  322. .formats = EVEA_FORMATS,
  323. .rates = EVEA_RATES,
  324. .channels_min = 2,
  325. .channels_max = 2,
  326. },
  327. .capture = {
  328. .stream_name = "Line In 1",
  329. .formats = EVEA_FORMATS,
  330. .rates = EVEA_RATES,
  331. .channels_min = 2,
  332. .channels_max = 2,
  333. },
  334. },
  335. {
  336. .name = DRV_NAME "-hp1",
  337. .playback = {
  338. .stream_name = "Headphone 1",
  339. .formats = EVEA_FORMATS,
  340. .rates = EVEA_RATES,
  341. .channels_min = 2,
  342. .channels_max = 2,
  343. },
  344. },
  345. {
  346. .name = DRV_NAME "-lo2",
  347. .playback = {
  348. .stream_name = "Line Out 2",
  349. .formats = EVEA_FORMATS,
  350. .rates = EVEA_RATES,
  351. .channels_min = 2,
  352. .channels_max = 2,
  353. },
  354. },
  355. };
  356. static const struct regmap_config evea_regmap_config = {
  357. .reg_bits = 32,
  358. .reg_stride = 4,
  359. .val_bits = 32,
  360. .max_register = 0xffc,
  361. .cache_type = REGCACHE_NONE,
  362. };
  363. static int evea_probe(struct platform_device *pdev)
  364. {
  365. struct evea_priv *evea;
  366. void __iomem *preg;
  367. int ret;
  368. evea = devm_kzalloc(&pdev->dev, sizeof(struct evea_priv), GFP_KERNEL);
  369. if (!evea)
  370. return -ENOMEM;
  371. evea->clk = devm_clk_get(&pdev->dev, "evea");
  372. if (IS_ERR(evea->clk))
  373. return PTR_ERR(evea->clk);
  374. evea->clk_exiv = devm_clk_get(&pdev->dev, "exiv");
  375. if (IS_ERR(evea->clk_exiv))
  376. return PTR_ERR(evea->clk_exiv);
  377. evea->rst = devm_reset_control_get_shared(&pdev->dev, "evea");
  378. if (IS_ERR(evea->rst))
  379. return PTR_ERR(evea->rst);
  380. evea->rst_exiv = devm_reset_control_get_shared(&pdev->dev, "exiv");
  381. if (IS_ERR(evea->rst_exiv))
  382. return PTR_ERR(evea->rst_exiv);
  383. preg = devm_platform_ioremap_resource(pdev, 0);
  384. if (IS_ERR(preg))
  385. return PTR_ERR(preg);
  386. evea->regmap = devm_regmap_init_mmio(&pdev->dev, preg,
  387. &evea_regmap_config);
  388. if (IS_ERR(evea->regmap))
  389. return PTR_ERR(evea->regmap);
  390. ret = clk_prepare_enable(evea->clk);
  391. if (ret)
  392. return ret;
  393. ret = clk_prepare_enable(evea->clk_exiv);
  394. if (ret)
  395. goto err_out_clock;
  396. ret = reset_control_deassert(evea->rst);
  397. if (ret)
  398. goto err_out_clock_exiv;
  399. ret = reset_control_deassert(evea->rst_exiv);
  400. if (ret)
  401. goto err_out_reset;
  402. /* ADAMV will hangup if EXIV reset is asserted */
  403. evea->rst_adamv = devm_reset_control_get_shared(&pdev->dev, "adamv");
  404. if (IS_ERR(evea->rst_adamv)) {
  405. ret = PTR_ERR(evea->rst_adamv);
  406. goto err_out_reset_exiv;
  407. }
  408. ret = reset_control_deassert(evea->rst_adamv);
  409. if (ret)
  410. goto err_out_reset_exiv;
  411. platform_set_drvdata(pdev, evea);
  412. ret = devm_snd_soc_register_component(&pdev->dev, &soc_codec_evea,
  413. soc_dai_evea, ARRAY_SIZE(soc_dai_evea));
  414. if (ret)
  415. goto err_out_reset_adamv;
  416. return 0;
  417. err_out_reset_adamv:
  418. reset_control_assert(evea->rst_adamv);
  419. err_out_reset_exiv:
  420. reset_control_assert(evea->rst_exiv);
  421. err_out_reset:
  422. reset_control_assert(evea->rst);
  423. err_out_clock_exiv:
  424. clk_disable_unprepare(evea->clk_exiv);
  425. err_out_clock:
  426. clk_disable_unprepare(evea->clk);
  427. return ret;
  428. }
  429. static int evea_remove(struct platform_device *pdev)
  430. {
  431. struct evea_priv *evea = platform_get_drvdata(pdev);
  432. reset_control_assert(evea->rst_adamv);
  433. reset_control_assert(evea->rst_exiv);
  434. reset_control_assert(evea->rst);
  435. clk_disable_unprepare(evea->clk_exiv);
  436. clk_disable_unprepare(evea->clk);
  437. return 0;
  438. }
  439. static const struct of_device_id evea_of_match[] __maybe_unused = {
  440. { .compatible = "socionext,uniphier-evea", },
  441. {}
  442. };
  443. MODULE_DEVICE_TABLE(of, evea_of_match);
  444. static struct platform_driver evea_codec_driver = {
  445. .driver = {
  446. .name = DRV_NAME,
  447. .of_match_table = of_match_ptr(evea_of_match),
  448. },
  449. .probe = evea_probe,
  450. .remove = evea_remove,
  451. };
  452. module_platform_driver(evea_codec_driver);
  453. MODULE_AUTHOR("Katsuhiro Suzuki <[email protected]>");
  454. MODULE_DESCRIPTION("UniPhier EVEA codec driver");
  455. MODULE_LICENSE("GPL v2");