audio-ext-clk-up.c 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
  3. */
  4. #include <linux/kernel.h>
  5. #include <linux/init.h>
  6. #include <linux/err.h>
  7. #include <linux/module.h>
  8. #include <linux/of.h>
  9. #include <linux/clk.h>
  10. #include <linux/clk-provider.h>
  11. #include "../../../drivers/clk/qcom/common.h"
  12. #include <linux/pinctrl/consumer.h>
  13. #include <linux/platform_device.h>
  14. #include <dt-bindings/clock/qcom,audio-ext-clk.h>
  15. #include <dsp/q6afe-v2.h>
  16. #include "audio-ext-clk-up.h"
  17. enum {
  18. AUDIO_EXT_CLK_PMI,
  19. AUDIO_EXT_CLK_LNBB2,
  20. AUDIO_EXT_CLK_LPASS,
  21. AUDIO_EXT_CLK_LPASS2,
  22. AUDIO_EXT_CLK_LPASS3,
  23. AUDIO_EXT_CLK_LPASS4,
  24. AUDIO_EXT_CLK_LPASS5,
  25. AUDIO_EXT_CLK_LPASS6,
  26. AUDIO_EXT_CLK_LPASS7,
  27. AUDIO_EXT_CLK_LPASS_CORE_HW_VOTE,
  28. AUDIO_EXT_CLK_LPASS8,
  29. AUDIO_EXT_CLK_LPASS_AUDIO_HW_VOTE,
  30. AUDIO_EXT_CLK_LPASS_MAX,
  31. AUDIO_EXT_CLK_EXTERNAL_PLL = AUDIO_EXT_CLK_LPASS_MAX,
  32. AUDIO_EXT_CLK_MAX,
  33. };
  34. struct pinctrl_info {
  35. struct pinctrl *pinctrl;
  36. struct pinctrl_state *sleep;
  37. struct pinctrl_state *active;
  38. char __iomem *base;
  39. };
  40. struct audio_ext_clk {
  41. struct pinctrl_info pnctrl_info;
  42. struct clk_fixed_factor fact;
  43. };
  44. struct audio_ext_clk_priv {
  45. struct device *dev;
  46. int clk_src;
  47. struct afe_clk_set clk_cfg;
  48. struct audio_ext_clk audio_clk;
  49. const char *clk_name;
  50. uint32_t lpass_core_hwvote_client_handle;
  51. uint32_t lpass_audio_hwvote_client_handle;
  52. };
  53. static inline struct audio_ext_clk_priv *to_audio_clk(struct clk_hw *hw)
  54. {
  55. return container_of(hw, struct audio_ext_clk_priv, audio_clk.fact.hw);
  56. }
  57. static int audio_ext_clk_prepare(struct clk_hw *hw)
  58. {
  59. struct audio_ext_clk_priv *clk_priv = to_audio_clk(hw);
  60. struct pinctrl_info *pnctrl_info = &clk_priv->audio_clk.pnctrl_info;
  61. int ret;
  62. if ((clk_priv->clk_src >= AUDIO_EXT_CLK_LPASS) &&
  63. (clk_priv->clk_src < AUDIO_EXT_CLK_LPASS_MAX)) {
  64. clk_priv->clk_cfg.enable = 1;
  65. ret = afe_set_lpass_clk_cfg(IDX_RSVD_3, &clk_priv->clk_cfg);
  66. if (ret < 0) {
  67. pr_err_ratelimited("%s afe_set_digital_codec_core_clock failed\n",
  68. __func__);
  69. return ret;
  70. }
  71. }
  72. if (pnctrl_info->pinctrl) {
  73. ret = pinctrl_select_state(pnctrl_info->pinctrl,
  74. pnctrl_info->active);
  75. if (ret) {
  76. pr_err("%s: active state select failed with %d\n",
  77. __func__, ret);
  78. return -EIO;
  79. }
  80. }
  81. if (pnctrl_info->base)
  82. iowrite32(1, pnctrl_info->base);
  83. return 0;
  84. }
  85. static void audio_ext_clk_unprepare(struct clk_hw *hw)
  86. {
  87. struct audio_ext_clk_priv *clk_priv = to_audio_clk(hw);
  88. struct pinctrl_info *pnctrl_info = &clk_priv->audio_clk.pnctrl_info;
  89. int ret;
  90. if (pnctrl_info->pinctrl) {
  91. ret = pinctrl_select_state(pnctrl_info->pinctrl,
  92. pnctrl_info->sleep);
  93. if (ret) {
  94. pr_err("%s: active state select failed with %d\n",
  95. __func__, ret);
  96. return;
  97. }
  98. }
  99. if ((clk_priv->clk_src >= AUDIO_EXT_CLK_LPASS) &&
  100. (clk_priv->clk_src < AUDIO_EXT_CLK_LPASS_MAX)) {
  101. clk_priv->clk_cfg.enable = 0;
  102. ret = afe_set_lpass_clk_cfg(IDX_RSVD_3, &clk_priv->clk_cfg);
  103. if (ret < 0)
  104. pr_err_ratelimited("%s: afe_set_lpass_clk_cfg failed, ret = %d\n",
  105. __func__, ret);
  106. }
  107. if (pnctrl_info->base)
  108. iowrite32(0, pnctrl_info->base);
  109. }
  110. static u8 audio_ext_clk_get_parent(struct clk_hw *hw)
  111. {
  112. struct audio_ext_clk_priv *clk_priv = to_audio_clk(hw);
  113. int num_parents = clk_hw_get_num_parents(hw);
  114. const char * const *parent_names = hw->init->parent_names;
  115. u8 i = 0, ret = hw->init->num_parents + 1;
  116. if ((clk_priv->clk_src == AUDIO_EXT_CLK_PMI) && clk_priv->clk_name) {
  117. for (i = 0; i < num_parents; i++) {
  118. if (!strcmp(parent_names[i], clk_priv->clk_name))
  119. ret = i;
  120. }
  121. pr_debug("%s: parent index = %u\n", __func__, ret);
  122. return ret;
  123. } else
  124. return 0;
  125. }
  126. static int lpass_hw_vote_prepare(struct clk_hw *hw)
  127. {
  128. struct audio_ext_clk_priv *clk_priv = to_audio_clk(hw);
  129. int ret;
  130. if (clk_priv->clk_src == AUDIO_EXT_CLK_LPASS_CORE_HW_VOTE) {
  131. ret = afe_vote_lpass_core_hw(AFE_LPASS_CORE_HW_MACRO_BLOCK,
  132. "LPASS_HW_MACRO",
  133. &clk_priv->lpass_core_hwvote_client_handle);
  134. if (ret < 0) {
  135. pr_err("%s lpass core hw vote failed %d\n",
  136. __func__, ret);
  137. return ret;
  138. }
  139. }
  140. if (clk_priv->clk_src == AUDIO_EXT_CLK_LPASS_AUDIO_HW_VOTE) {
  141. ret = afe_vote_lpass_core_hw(AFE_LPASS_CORE_HW_DCODEC_BLOCK,
  142. "LPASS_HW_DCODEC",
  143. &clk_priv->lpass_audio_hwvote_client_handle);
  144. if (ret < 0) {
  145. pr_err("%s lpass audio hw vote failed %d\n",
  146. __func__, ret);
  147. return ret;
  148. }
  149. }
  150. return 0;
  151. }
  152. static void lpass_hw_vote_unprepare(struct clk_hw *hw)
  153. {
  154. struct audio_ext_clk_priv *clk_priv = to_audio_clk(hw);
  155. int ret = 0;
  156. if (clk_priv->clk_src == AUDIO_EXT_CLK_LPASS_CORE_HW_VOTE) {
  157. ret = afe_unvote_lpass_core_hw(
  158. AFE_LPASS_CORE_HW_MACRO_BLOCK,
  159. clk_priv->lpass_core_hwvote_client_handle);
  160. if (ret < 0) {
  161. pr_err("%s lpass core hw vote failed %d\n",
  162. __func__, ret);
  163. }
  164. }
  165. if (clk_priv->clk_src == AUDIO_EXT_CLK_LPASS_AUDIO_HW_VOTE) {
  166. ret = afe_unvote_lpass_core_hw(
  167. AFE_LPASS_CORE_HW_DCODEC_BLOCK,
  168. clk_priv->lpass_audio_hwvote_client_handle);
  169. if (ret < 0) {
  170. pr_err("%s lpass audio hw unvote failed %d\n",
  171. __func__, ret);
  172. }
  173. }
  174. }
  175. static const struct clk_ops audio_ext_clk_ops = {
  176. .prepare = audio_ext_clk_prepare,
  177. .unprepare = audio_ext_clk_unprepare,
  178. .get_parent = audio_ext_clk_get_parent,
  179. };
  180. static const struct clk_ops lpass_hw_vote_ops = {
  181. .prepare = lpass_hw_vote_prepare,
  182. .unprepare = lpass_hw_vote_unprepare,
  183. };
  184. static const char * const audio_ext_pmi_div_clk[] = {
  185. "qpnp_clkdiv_1",
  186. "pms405_div_clk1",
  187. "pm6150_div_clk1",
  188. "pm6125_div_clk1",
  189. };
  190. static int audio_ext_clk_dummy_prepare(struct clk_hw *hw)
  191. {
  192. return 0;
  193. }
  194. static void audio_ext_clk_dummy_unprepare(struct clk_hw *hw)
  195. {
  196. }
  197. static const struct clk_ops audio_ext_clk_dummy_ops = {
  198. .prepare = audio_ext_clk_dummy_prepare,
  199. .unprepare = audio_ext_clk_dummy_unprepare,
  200. };
  201. static struct audio_ext_clk audio_clk_array[] = {
  202. {
  203. .pnctrl_info = {NULL},
  204. .fact = {
  205. .mult = 1,
  206. .div = 1,
  207. .hw.init = &(struct clk_init_data){
  208. .name = "audio_ext_pmi_clk",
  209. .parent_names = audio_ext_pmi_div_clk,
  210. .num_parents =
  211. ARRAY_SIZE(audio_ext_pmi_div_clk),
  212. .ops = &audio_ext_clk_ops,
  213. },
  214. },
  215. },
  216. {
  217. .pnctrl_info = {NULL},
  218. .fact = {
  219. .mult = 1,
  220. .div = 1,
  221. .hw.init = &(struct clk_init_data){
  222. .name = "audio_ext_pmi_lnbb_clk",
  223. .parent_names = (const char *[])
  224. { "ln_bb_clk2" },
  225. .num_parents = 1,
  226. .ops = &audio_ext_clk_dummy_ops,
  227. },
  228. },
  229. },
  230. {
  231. .pnctrl_info = {NULL},
  232. .fact = {
  233. .mult = 1,
  234. .div = 1,
  235. .hw.init = &(struct clk_init_data){
  236. .name = "audio_lpass_mclk",
  237. .ops = &audio_ext_clk_ops,
  238. },
  239. },
  240. },
  241. {
  242. .pnctrl_info = {NULL},
  243. .fact = {
  244. .mult = 1,
  245. .div = 1,
  246. .hw.init = &(struct clk_init_data){
  247. .name = "audio_lpass_mclk2",
  248. .ops = &audio_ext_clk_ops,
  249. },
  250. },
  251. },
  252. {
  253. .pnctrl_info = {NULL},
  254. .fact = {
  255. .mult = 1,
  256. .div = 1,
  257. .hw.init = &(struct clk_init_data){
  258. .name = "audio_lpass_mclk3",
  259. .ops = &audio_ext_clk_ops,
  260. },
  261. },
  262. },
  263. {
  264. .pnctrl_info = {NULL},
  265. .fact = {
  266. .mult = 1,
  267. .div = 1,
  268. .hw.init = &(struct clk_init_data){
  269. .name = "audio_lpass_mclk4",
  270. .ops = &audio_ext_clk_ops,
  271. },
  272. },
  273. },
  274. {
  275. .pnctrl_info = {NULL},
  276. .fact = {
  277. .mult = 1,
  278. .div = 1,
  279. .hw.init = &(struct clk_init_data){
  280. .name = "audio_lpass_mclk5",
  281. .ops = &audio_ext_clk_ops,
  282. },
  283. },
  284. },
  285. {
  286. .pnctrl_info = {NULL},
  287. .fact = {
  288. .mult = 1,
  289. .div = 1,
  290. .hw.init = &(struct clk_init_data){
  291. .name = "audio_lpass_mclk6",
  292. .ops = &audio_ext_clk_ops,
  293. },
  294. },
  295. },
  296. {
  297. .pnctrl_info = {NULL},
  298. .fact = {
  299. .mult = 1,
  300. .div = 1,
  301. .hw.init = &(struct clk_init_data){
  302. .name = "audio_lpass_mclk7",
  303. .ops = &audio_ext_clk_ops,
  304. },
  305. },
  306. },
  307. {
  308. .pnctrl_info = {NULL},
  309. .fact = {
  310. .hw.init = &(struct clk_init_data){
  311. .name = "lpass_hw_vote_clk",
  312. .ops = &lpass_hw_vote_ops,
  313. },
  314. },
  315. },
  316. {
  317. .pnctrl_info = {NULL},
  318. .fact = {
  319. .mult = 1,
  320. .div = 1,
  321. .hw.init = &(struct clk_init_data){
  322. .name = "audio_lpass_mclk8",
  323. .ops = &audio_ext_clk_ops,
  324. },
  325. },
  326. },
  327. {
  328. .pnctrl_info = {NULL},
  329. .fact = {
  330. .hw.init = &(struct clk_init_data){
  331. .name = "lpass_audio_hw_vote_clk",
  332. .ops = &lpass_hw_vote_ops,
  333. },
  334. },
  335. },
  336. {
  337. .pnctrl_info = {NULL},
  338. .fact = {
  339. .mult = 1,
  340. .div = 1,
  341. .hw.init = &(struct clk_init_data){
  342. .name = "audio_external_pll_clk",
  343. .ops = &audio_ext_clk_ops,
  344. },
  345. },
  346. },
  347. };
  348. static int audio_get_pinctrl(struct platform_device *pdev)
  349. {
  350. struct device *dev = &pdev->dev;
  351. struct audio_ext_clk_priv *clk_priv = platform_get_drvdata(pdev);
  352. struct pinctrl_info *pnctrl_info;
  353. struct pinctrl *pinctrl;
  354. int ret;
  355. u32 reg;
  356. pnctrl_info = &clk_priv->audio_clk.pnctrl_info;
  357. if (pnctrl_info->pinctrl) {
  358. dev_err(dev, "%s: already requested before\n",
  359. __func__);
  360. return -EINVAL;
  361. }
  362. pinctrl = devm_pinctrl_get(dev);
  363. if (IS_ERR_OR_NULL(pinctrl)) {
  364. dev_err(dev, "%s: Unable to get pinctrl handle\n",
  365. __func__);
  366. return -EINVAL;
  367. }
  368. pnctrl_info->pinctrl = pinctrl;
  369. /* get all state handles from Device Tree */
  370. pnctrl_info->sleep = pinctrl_lookup_state(pinctrl, "sleep");
  371. if (IS_ERR(pnctrl_info->sleep)) {
  372. dev_err(dev, "%s: could not get sleep pinstate\n",
  373. __func__);
  374. goto err;
  375. }
  376. pnctrl_info->active = pinctrl_lookup_state(pinctrl, "active");
  377. if (IS_ERR(pnctrl_info->active)) {
  378. dev_err(dev, "%s: could not get active pinstate\n",
  379. __func__);
  380. goto err;
  381. }
  382. /* Reset the TLMM pins to a default state */
  383. ret = pinctrl_select_state(pnctrl_info->pinctrl,
  384. pnctrl_info->sleep);
  385. if (ret) {
  386. dev_err(dev, "%s: Disable TLMM pins failed with %d\n",
  387. __func__, ret);
  388. goto err;
  389. }
  390. ret = of_property_read_u32(dev->of_node, "qcom,mclk-clk-reg", &reg);
  391. if (ret < 0) {
  392. dev_dbg(dev, "%s: miss mclk reg\n", __func__);
  393. } else {
  394. pnctrl_info->base = ioremap(reg, sizeof(u32));
  395. if (pnctrl_info->base == NULL) {
  396. dev_err(dev, "%s ioremap failed\n", __func__);
  397. goto err;
  398. }
  399. }
  400. return 0;
  401. err:
  402. devm_pinctrl_put(pnctrl_info->pinctrl);
  403. return -EINVAL;
  404. }
  405. static int audio_put_pinctrl(struct platform_device *pdev)
  406. {
  407. struct audio_ext_clk_priv *clk_priv = platform_get_drvdata(pdev);
  408. struct pinctrl_info *pnctrl_info = NULL;
  409. pnctrl_info = &clk_priv->audio_clk.pnctrl_info;
  410. if (pnctrl_info && pnctrl_info->pinctrl) {
  411. devm_pinctrl_put(pnctrl_info->pinctrl);
  412. pnctrl_info->pinctrl = NULL;
  413. }
  414. return 0;
  415. }
  416. static int audio_get_clk_data(struct platform_device *pdev)
  417. {
  418. int ret;
  419. struct clk *audio_clk;
  420. struct clk_hw *clkhw;
  421. struct clk_onecell_data *clk_data;
  422. struct audio_ext_clk_priv *clk_priv = platform_get_drvdata(pdev);
  423. clk_data = devm_kzalloc(&pdev->dev, sizeof(*clk_data), GFP_KERNEL);
  424. if (!clk_data)
  425. return -ENOMEM;
  426. clk_data->clk_num = 1;
  427. clk_data->clks = devm_kzalloc(&pdev->dev,
  428. sizeof(struct clk *),
  429. GFP_KERNEL);
  430. if (!clk_data->clks)
  431. return -ENOMEM;
  432. clkhw = &clk_priv->audio_clk.fact.hw;
  433. audio_clk = devm_clk_register(&pdev->dev, clkhw);
  434. if (IS_ERR(audio_clk)) {
  435. dev_err(&pdev->dev,
  436. "%s: clock register failed for clk_src = %d\\n",
  437. __func__, clk_priv->clk_src);
  438. ret = PTR_ERR(audio_clk);
  439. return ret;
  440. }
  441. clk_data->clks[0] = audio_clk;
  442. ret = of_clk_add_provider(pdev->dev.of_node,
  443. of_clk_src_onecell_get, clk_data);
  444. if (ret)
  445. dev_err(&pdev->dev, "%s: clock add failed for clk_src = %d\n",
  446. __func__, clk_priv->clk_src);
  447. return ret;
  448. }
  449. static int audio_ref_clk_probe(struct platform_device *pdev)
  450. {
  451. int ret;
  452. struct audio_ext_clk_priv *clk_priv;
  453. u32 clk_freq = 0, clk_id = 0, clk_src = 0, use_pinctrl = 0;
  454. clk_priv = devm_kzalloc(&pdev->dev, sizeof(*clk_priv), GFP_KERNEL);
  455. if (!clk_priv)
  456. return -ENOMEM;
  457. ret = of_property_read_u32(pdev->dev.of_node,
  458. "qcom,codec-ext-clk-src",
  459. &clk_src);
  460. if (ret) {
  461. dev_err(&pdev->dev, "%s: could not get clk source, ret = %d\n",
  462. __func__, ret);
  463. return ret;
  464. }
  465. if (clk_src >= AUDIO_EXT_CLK_MAX) {
  466. dev_err(&pdev->dev, "%s: Invalid clk source = %d\n",
  467. __func__, clk_src);
  468. return -EINVAL;
  469. }
  470. clk_priv->clk_name = NULL;
  471. clk_priv->clk_src = clk_src;
  472. memcpy(&clk_priv->audio_clk, &audio_clk_array[clk_src],
  473. sizeof(struct audio_ext_clk));
  474. /* Init lpass clk default values */
  475. clk_priv->clk_cfg.clk_set_minor_version =
  476. Q6AFE_LPASS_CLK_CONFIG_API_VERSION;
  477. clk_priv->clk_cfg.clk_id = Q6AFE_LPASS_CLK_ID_SPEAKER_I2S_OSR;
  478. clk_priv->clk_cfg.clk_freq_in_hz = Q6AFE_LPASS_OSR_CLK_9_P600_MHZ;
  479. clk_priv->clk_cfg.clk_attri = Q6AFE_LPASS_CLK_ATTRIBUTE_COUPLE_NO;
  480. ret = of_property_read_u32(pdev->dev.of_node,
  481. "qcom,codec-lpass-ext-clk-freq",
  482. &clk_freq);
  483. if (!ret)
  484. clk_priv->clk_cfg.clk_freq_in_hz = clk_freq;
  485. ret = of_property_read_u32(pdev->dev.of_node,
  486. "qcom,codec-lpass-clk-id",
  487. &clk_id);
  488. if (!ret)
  489. clk_priv->clk_cfg.clk_id = clk_id;
  490. dev_dbg(&pdev->dev, "%s: ext-clk freq: %d, lpass clk_id: %d, clk_src: %d\n",
  491. __func__, clk_priv->clk_cfg.clk_freq_in_hz,
  492. clk_priv->clk_cfg.clk_id, clk_priv->clk_src);
  493. platform_set_drvdata(pdev, clk_priv);
  494. ret = of_property_read_string(pdev->dev.of_node, "pmic-clock-names",
  495. &clk_priv->clk_name);
  496. if (ret)
  497. dev_dbg(&pdev->dev, "%s: could not find pmic clock names\n",
  498. __func__);
  499. /*
  500. * property qcom,use-pinctrl to be defined in DTSI to val 1
  501. * for clock nodes using pinctrl
  502. */
  503. of_property_read_u32(pdev->dev.of_node, "qcom,use-pinctrl",
  504. &use_pinctrl);
  505. dev_dbg(&pdev->dev, "%s: use-pinctrl : %d\n",
  506. __func__, use_pinctrl);
  507. if (use_pinctrl) {
  508. ret = audio_get_pinctrl(pdev);
  509. if (ret) {
  510. dev_err(&pdev->dev, "%s: Parsing PMI pinctrl failed\n",
  511. __func__);
  512. return ret;
  513. }
  514. }
  515. ret = audio_get_clk_data(pdev);
  516. if (ret) {
  517. dev_err(&pdev->dev, "%s: clk_init is failed\n",
  518. __func__);
  519. audio_put_pinctrl(pdev);
  520. return ret;
  521. }
  522. return 0;
  523. }
  524. static int audio_ref_clk_remove(struct platform_device *pdev)
  525. {
  526. audio_put_pinctrl(pdev);
  527. return 0;
  528. }
  529. static const struct of_device_id audio_ref_clk_match[] = {
  530. {.compatible = "qcom,audio-ref-clk"},
  531. {}
  532. };
  533. MODULE_DEVICE_TABLE(of, audio_ref_clk_match);
  534. static struct platform_driver audio_ref_clk_driver = {
  535. .driver = {
  536. .name = "audio-ref-clk",
  537. .owner = THIS_MODULE,
  538. .of_match_table = audio_ref_clk_match,
  539. .suppress_bind_attrs = true,
  540. },
  541. .probe = audio_ref_clk_probe,
  542. .remove = audio_ref_clk_remove,
  543. };
  544. int audio_ref_clk_platform_init(void)
  545. {
  546. return platform_driver_register(&audio_ref_clk_driver);
  547. }
  548. void audio_ref_clk_platform_exit(void)
  549. {
  550. platform_driver_unregister(&audio_ref_clk_driver);
  551. }
  552. MODULE_DESCRIPTION("Audio Ref Up Clock module platform driver");
  553. MODULE_LICENSE("GPL v2");