blob: dcbcab230d1b0e0f08c87ba21b5439c39b90c088 [file] [log] [blame]
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +00001/*
Kuninori Morimoto53e682b2016-08-23 01:34:17 +00002 * ASoC simple SCU sound card support
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +00003 *
4 * Copyright (C) 2015 Renesas Solutions Corp.
5 * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
6 *
7 * based on ${LINUX}/sound/soc/generic/simple-card.c
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 */
13#include <linux/clk.h>
14#include <linux/device.h>
15#include <linux/module.h>
16#include <linux/of.h>
17#include <linux/of_device.h>
18#include <linux/platform_device.h>
19#include <linux/string.h>
20#include <sound/jack.h>
21#include <sound/soc.h>
22#include <sound/soc-dai.h>
Kuninori Morimotod6a4a9a42016-06-30 06:03:13 +000023#include <sound/simple_card_utils.h>
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +000024
Kuninori Morimoto6910e862016-10-28 03:37:44 +000025struct simple_card_data {
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +000026 struct snd_soc_card snd_card;
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +000027 struct snd_soc_codec_conf codec_conf;
Kuninori Morimoto303c3be2016-07-11 23:58:50 +000028 struct asoc_simple_dai *dai_props;
Kuninori Morimoto3433bf02015-06-15 06:22:30 +000029 struct snd_soc_dai_link *dai_link;
Kuninori Morimotoaf7e2be2015-03-26 04:01:46 +000030 u32 convert_rate;
Kuninori Morimotof90432f2016-02-25 05:51:44 +000031 u32 convert_channels;
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +000032};
33
Kuninori Morimotod27f3b42017-03-15 04:44:16 +000034#define simple_priv_to_card(priv) (&(priv)->snd_card)
Kuninori Morimoto53e682b2016-08-23 01:34:17 +000035#define simple_priv_to_props(priv, i) ((priv)->dai_props + (i))
Kuninori Morimotod27f3b42017-03-15 04:44:16 +000036#define simple_priv_to_dev(priv) (simple_priv_to_card(priv)->dev)
37#define simple_priv_to_link(priv, i) (simple_priv_to_card(priv)->dai_link + (i))
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +000038
Kuninori Morimoto5bbf38662016-08-08 06:02:31 +000039#define DAI "sound-dai"
40#define CELL "#sound-dai-cells"
Kuninori Morimoto64df0e62016-08-23 01:34:43 +000041#define PREFIX "simple-audio-card,"
Kuninori Morimoto5bbf38662016-08-08 06:02:31 +000042
Kuninori Morimoto53e682b2016-08-23 01:34:17 +000043static int asoc_simple_card_startup(struct snd_pcm_substream *substream)
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +000044{
45 struct snd_soc_pcm_runtime *rtd = substream->private_data;
Kuninori Morimoto6910e862016-10-28 03:37:44 +000046 struct simple_card_data *priv = snd_soc_card_get_drvdata(rtd->card);
Kuninori Morimoto303c3be2016-07-11 23:58:50 +000047 struct asoc_simple_dai *dai_props =
Kuninori Morimoto53e682b2016-08-23 01:34:17 +000048 simple_priv_to_props(priv, rtd->num);
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +000049
Kuninori Morimoto04700022015-06-15 06:24:15 +000050 return clk_prepare_enable(dai_props->clk);
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +000051}
52
Kuninori Morimoto53e682b2016-08-23 01:34:17 +000053static void asoc_simple_card_shutdown(struct snd_pcm_substream *substream)
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +000054{
55 struct snd_soc_pcm_runtime *rtd = substream->private_data;
Kuninori Morimoto6910e862016-10-28 03:37:44 +000056 struct simple_card_data *priv = snd_soc_card_get_drvdata(rtd->card);
Kuninori Morimoto303c3be2016-07-11 23:58:50 +000057 struct asoc_simple_dai *dai_props =
Kuninori Morimoto53e682b2016-08-23 01:34:17 +000058 simple_priv_to_props(priv, rtd->num);
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +000059
Kuninori Morimoto04700022015-06-15 06:24:15 +000060 clk_disable_unprepare(dai_props->clk);
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +000061}
62
Julia Lawall9b6fdef2016-10-15 16:55:49 +020063static const struct snd_soc_ops asoc_simple_card_ops = {
Kuninori Morimoto53e682b2016-08-23 01:34:17 +000064 .startup = asoc_simple_card_startup,
65 .shutdown = asoc_simple_card_shutdown,
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +000066};
67
Kuninori Morimoto53e682b2016-08-23 01:34:17 +000068static int asoc_simple_card_dai_init(struct snd_soc_pcm_runtime *rtd)
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +000069{
Kuninori Morimoto6910e862016-10-28 03:37:44 +000070 struct simple_card_data *priv = snd_soc_card_get_drvdata(rtd->card);
Kuninori Morimoto04700022015-06-15 06:24:15 +000071 struct snd_soc_dai *dai;
72 struct snd_soc_dai_link *dai_link;
Kuninori Morimoto303c3be2016-07-11 23:58:50 +000073 struct asoc_simple_dai *dai_props;
Mengdong Lin1a497982015-11-18 02:34:11 -050074 int num = rtd->num;
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +000075
Kuninori Morimoto53e682b2016-08-23 01:34:17 +000076 dai_link = simple_priv_to_link(priv, num);
77 dai_props = simple_priv_to_props(priv, num);
Kuninori Morimoto04700022015-06-15 06:24:15 +000078 dai = dai_link->dynamic ?
79 rtd->cpu_dai :
80 rtd->codec_dai;
81
Kuninori Morimoto600ee202016-08-09 05:49:21 +000082 return asoc_simple_card_init_dai(dai, dai_props);
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +000083}
84
Kuninori Morimoto53e682b2016-08-23 01:34:17 +000085static int asoc_simple_card_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
Kuninori Morimotoaf7e2be2015-03-26 04:01:46 +000086 struct snd_pcm_hw_params *params)
87{
Kuninori Morimoto6910e862016-10-28 03:37:44 +000088 struct simple_card_data *priv = snd_soc_card_get_drvdata(rtd->card);
Kuninori Morimotoaf7e2be2015-03-26 04:01:46 +000089 struct snd_interval *rate = hw_param_interval(params,
90 SNDRV_PCM_HW_PARAM_RATE);
Kuninori Morimotof90432f2016-02-25 05:51:44 +000091 struct snd_interval *channels = hw_param_interval(params,
92 SNDRV_PCM_HW_PARAM_CHANNELS);
Kuninori Morimotoaf7e2be2015-03-26 04:01:46 +000093
Kuninori Morimotof90432f2016-02-25 05:51:44 +000094 if (priv->convert_rate)
95 rate->min =
96 rate->max = priv->convert_rate;
Kuninori Morimotoaf7e2be2015-03-26 04:01:46 +000097
Kuninori Morimotof90432f2016-02-25 05:51:44 +000098 if (priv->convert_channels)
99 channels->min =
100 channels->max = priv->convert_channels;
Kuninori Morimotoaf7e2be2015-03-26 04:01:46 +0000101
102 return 0;
103}
104
Kuninori Morimoto15a190ff2016-10-28 03:37:26 +0000105static int asoc_simple_card_dai_link_of(struct device_node *np,
Kuninori Morimoto6910e862016-10-28 03:37:44 +0000106 struct simple_card_data *priv,
Kuninori Morimoto83216f32016-08-25 01:57:30 +0000107 unsigned int daifmt,
Kuninori Morimoto53e682b2016-08-23 01:34:17 +0000108 int idx, bool is_fe)
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000109{
Kuninori Morimoto53e682b2016-08-23 01:34:17 +0000110 struct device *dev = simple_priv_to_dev(priv);
111 struct snd_soc_dai_link *dai_link = simple_priv_to_link(priv, idx);
112 struct asoc_simple_dai *dai_props = simple_priv_to_props(priv, idx);
Kuninori Morimotod27f3b42017-03-15 04:44:16 +0000113 struct snd_soc_card *card = simple_priv_to_card(priv);
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000114 int ret;
115
Kuninori Morimoto04700022015-06-15 06:24:15 +0000116 if (is_fe) {
Kuninori Morimoto27b01082016-08-10 02:21:03 +0000117 int is_single_links = 0;
118
Kuninori Morimoto04700022015-06-15 06:24:15 +0000119 /* BE is dummy */
120 dai_link->codec_of_node = NULL;
121 dai_link->codec_dai_name = "snd-soc-dummy-dai";
122 dai_link->codec_name = "snd-soc-dummy";
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000123
Kuninori Morimoto04700022015-06-15 06:24:15 +0000124 /* FE settings */
125 dai_link->dynamic = 1;
126 dai_link->dpcm_merged_format = 1;
Kuninori Morimoto5bbf38662016-08-08 06:02:31 +0000127
128 ret = asoc_simple_card_parse_cpu(np, dai_link, DAI, CELL,
129 &is_single_links);
130 if (ret)
Kuninori Morimoto575f1f92015-12-01 08:33:23 +0000131 return ret;
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000132
Kuninori Morimotoe984fd62017-01-23 07:29:42 +0000133 ret = asoc_simple_card_parse_clk_cpu(dev, np, dai_link, dai_props);
Kuninori Morimotoc9a235d2016-07-19 02:53:32 +0000134 if (ret < 0)
135 return ret;
136
Kuninori Morimoto8a99a6b2016-07-11 23:58:25 +0000137 ret = asoc_simple_card_set_dailink_name(dev, dai_link,
138 "fe.%s",
139 dai_link->cpu_dai_name);
140 if (ret < 0)
141 return ret;
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000142
Kuninori Morimoto27b01082016-08-10 02:21:03 +0000143 asoc_simple_card_canonicalize_cpu(dai_link, is_single_links);
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000144 } else {
Kuninori Morimoto04700022015-06-15 06:24:15 +0000145 /* FE is dummy */
146 dai_link->cpu_of_node = NULL;
147 dai_link->cpu_dai_name = "snd-soc-dummy-dai";
148 dai_link->cpu_name = "snd-soc-dummy";
149
150 /* BE settings */
151 dai_link->no_pcm = 1;
Kuninori Morimoto53e682b2016-08-23 01:34:17 +0000152 dai_link->be_hw_params_fixup = asoc_simple_card_be_hw_params_fixup;
Kuninori Morimoto5bbf38662016-08-08 06:02:31 +0000153
154 ret = asoc_simple_card_parse_codec(np, dai_link, DAI, CELL);
Kuninori Morimoto575f1f92015-12-01 08:33:23 +0000155 if (ret < 0)
156 return ret;
Kuninori Morimoto04700022015-06-15 06:24:15 +0000157
Kuninori Morimotoe984fd62017-01-23 07:29:42 +0000158 ret = asoc_simple_card_parse_clk_codec(dev, np, dai_link, dai_props);
Kuninori Morimotoc9a235d2016-07-19 02:53:32 +0000159 if (ret < 0)
160 return ret;
161
Kuninori Morimoto8a99a6b2016-07-11 23:58:25 +0000162 ret = asoc_simple_card_set_dailink_name(dev, dai_link,
163 "be.%s",
164 dai_link->codec_dai_name);
165 if (ret < 0)
166 return ret;
167
Kuninori Morimotod27f3b42017-03-15 04:44:16 +0000168 snd_soc_of_parse_audio_prefix(card,
Kuninori Morimoto64df0e62016-08-23 01:34:43 +0000169 &priv->codec_conf,
170 dai_link->codec_of_node,
171 PREFIX "prefix");
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000172 }
173
Kuninori Morimoto9f645422016-08-25 01:58:55 +0000174 ret = snd_soc_of_parse_tdm_slot(np,
175 &dai_props->tx_slot_mask,
176 &dai_props->rx_slot_mask,
177 &dai_props->slots,
178 &dai_props->slot_width);
179 if (ret)
180 return ret;
181
Kuninori Morimotoa09f3832016-08-09 05:50:19 +0000182 ret = asoc_simple_card_canonicalize_dailink(dai_link);
183 if (ret < 0)
184 return ret;
185
Kuninori Morimoto83216f32016-08-25 01:57:30 +0000186 dai_link->dai_fmt = daifmt;
Kuninori Morimoto04700022015-06-15 06:24:15 +0000187 dai_link->dpcm_playback = 1;
188 dai_link->dpcm_capture = 1;
Kuninori Morimoto53e682b2016-08-23 01:34:17 +0000189 dai_link->ops = &asoc_simple_card_ops;
190 dai_link->init = asoc_simple_card_dai_init;
Kuninori Morimoto04700022015-06-15 06:24:15 +0000191
Kuninori Morimoto04700022015-06-15 06:24:15 +0000192 dev_dbg(dev, "\t%s / %04x / %d\n",
Kuninori Morimoto8a99a6b2016-07-11 23:58:25 +0000193 dai_link->name,
Kuninori Morimotoae638b72015-12-17 02:48:58 +0000194 dai_link->dai_fmt,
Kuninori Morimoto04700022015-06-15 06:24:15 +0000195 dai_props->sysclk);
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000196
Kuninori Morimotoc9a235d2016-07-19 02:53:32 +0000197 return 0;
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000198}
199
Kuninori Morimoto15a190ff2016-10-28 03:37:26 +0000200static int asoc_simple_card_parse_of(struct device_node *node,
Kuninori Morimoto6910e862016-10-28 03:37:44 +0000201 struct simple_card_data *priv)
Kuninori Morimoto15a190ff2016-10-28 03:37:26 +0000202
Kuninori Morimotoaf998f82015-12-17 02:49:43 +0000203{
Kuninori Morimoto53e682b2016-08-23 01:34:17 +0000204 struct device *dev = simple_priv_to_dev(priv);
Kuninori Morimotoaf998f82015-12-17 02:49:43 +0000205 struct device_node *np;
Kuninori Morimotod27f3b42017-03-15 04:44:16 +0000206 struct snd_soc_card *card = simple_priv_to_card(priv);
Kuninori Morimotoaf998f82015-12-17 02:49:43 +0000207 unsigned int daifmt = 0;
Kuninori Morimotoaf998f82015-12-17 02:49:43 +0000208 bool is_fe;
Kuninori Morimoto15a190ff2016-10-28 03:37:26 +0000209 int ret, i;
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000210
211 if (!node)
212 return -EINVAL;
213
Kuninori Morimotod27f3b42017-03-15 04:44:16 +0000214 ret = snd_soc_of_parse_audio_routing(card, PREFIX "routing");
Kuninori Morimoto64df0e62016-08-23 01:34:43 +0000215 if (ret < 0)
216 return ret;
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000217
Kuninori Morimotoaf7e2be2015-03-26 04:01:46 +0000218 /* sampling rate convert */
Kuninori Morimoto64df0e62016-08-23 01:34:43 +0000219 of_property_read_u32(node, PREFIX "convert-rate", &priv->convert_rate);
Kuninori Morimotoaf7e2be2015-03-26 04:01:46 +0000220
Kuninori Morimotof90432f2016-02-25 05:51:44 +0000221 /* channels transfer */
Kuninori Morimoto64df0e62016-08-23 01:34:43 +0000222 of_property_read_u32(node, PREFIX "convert-channels", &priv->convert_channels);
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000223
Kuninori Morimoto15a190ff2016-10-28 03:37:26 +0000224 /* find 1st codec */
225 np = of_get_child_by_name(node, PREFIX "codec");
226 if (!np)
227 return -ENODEV;
228
229 ret = asoc_simple_card_parse_daifmt(dev, node, np, PREFIX, &daifmt);
Kuninori Morimotoaf998f82015-12-17 02:49:43 +0000230 if (ret < 0)
231 return ret;
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000232
Kuninori Morimoto15a190ff2016-10-28 03:37:26 +0000233 i = 0;
234 for_each_child_of_node(node, np) {
235 is_fe = false;
236 if (strcmp(np->name, PREFIX "cpu") == 0)
237 is_fe = true;
238
239 ret = asoc_simple_card_dai_link_of(np, priv, daifmt, i, is_fe);
240 if (ret < 0)
241 return ret;
242 i++;
243 }
244
Kuninori Morimotod27f3b42017-03-15 04:44:16 +0000245 ret = asoc_simple_card_parse_card_name(card, PREFIX);
Kuninori Morimoto53ae9182016-07-12 00:00:00 +0000246 if (ret < 0)
247 return ret;
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000248
Kuninori Morimoto64df0e62016-08-23 01:34:43 +0000249 dev_dbg(dev, "New card: %s\n",
Kuninori Morimotod27f3b42017-03-15 04:44:16 +0000250 card->name ? card->name : "");
Kuninori Morimoto64df0e62016-08-23 01:34:43 +0000251 dev_dbg(dev, "convert_rate %d\n", priv->convert_rate);
252 dev_dbg(dev, "convert_channels %d\n", priv->convert_channels);
253
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000254 return 0;
255}
256
Kuninori Morimoto53e682b2016-08-23 01:34:17 +0000257static int asoc_simple_card_probe(struct platform_device *pdev)
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000258{
Kuninori Morimoto6910e862016-10-28 03:37:44 +0000259 struct simple_card_data *priv;
Kuninori Morimoto19359922016-10-28 03:38:00 +0000260 struct snd_soc_dai_link *dai_link;
261 struct asoc_simple_dai *dai_props;
Kuninori Morimotod27f3b42017-03-15 04:44:16 +0000262 struct snd_soc_card *card;
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000263 struct device *dev = &pdev->dev;
Kuninori Morimoto40b68da2017-03-15 04:43:40 +0000264 struct device_node *np = dev->of_node;
Kuninori Morimoto15a190ff2016-10-28 03:37:26 +0000265 int num, ret;
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000266
267 /* Allocate the private data */
268 priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
269 if (!priv)
270 return -ENOMEM;
271
Kuninori Morimoto15a190ff2016-10-28 03:37:26 +0000272 num = of_get_child_count(np);
273
Kuninori Morimoto19359922016-10-28 03:38:00 +0000274 dai_props = devm_kzalloc(dev, sizeof(*dai_props) * num, GFP_KERNEL);
275 dai_link = devm_kzalloc(dev, sizeof(*dai_link) * num, GFP_KERNEL);
276 if (!dai_props || !dai_link)
Kuninori Morimoto15a190ff2016-10-28 03:37:26 +0000277 return -ENOMEM;
278
Kuninori Morimoto19359922016-10-28 03:38:00 +0000279 priv->dai_props = dai_props;
280 priv->dai_link = dai_link;
Kuninori Morimoto15a190ff2016-10-28 03:37:26 +0000281
282 /* Init snd_soc_card */
Kuninori Morimotod27f3b42017-03-15 04:44:16 +0000283 card = simple_priv_to_card(priv);
284 card->owner = THIS_MODULE;
285 card->dev = dev;
286 card->dai_link = priv->dai_link;
287 card->num_links = num;
288 card->codec_conf = &priv->codec_conf;
289 card->num_configs = 1;
Kuninori Morimoto15a190ff2016-10-28 03:37:26 +0000290
291 ret = asoc_simple_card_parse_of(np, priv);
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000292 if (ret < 0) {
293 if (ret != -EPROBE_DEFER)
294 dev_err(dev, "parse error %d\n", ret);
295 goto err;
296 }
297
Kuninori Morimotod27f3b42017-03-15 04:44:16 +0000298 snd_soc_card_set_drvdata(card, priv);
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000299
Kuninori Morimotod27f3b42017-03-15 04:44:16 +0000300 ret = devm_snd_soc_register_card(dev, card);
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000301 if (ret >= 0)
302 return ret;
303err:
Kuninori Morimotod27f3b42017-03-15 04:44:16 +0000304 asoc_simple_card_clean_reference(card);
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000305
306 return ret;
307}
308
Kuninori Morimoto53e682b2016-08-23 01:34:17 +0000309static int asoc_simple_card_remove(struct platform_device *pdev)
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000310{
311 struct snd_soc_card *card = platform_get_drvdata(pdev);
312
Kuninori Morimoto239486b2016-08-10 02:22:01 +0000313 return asoc_simple_card_clean_reference(card);
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000314}
315
Kuninori Morimotof4d707092016-08-25 01:58:31 +0000316static const struct of_device_id asoc_simple_of_match[] = {
317 { .compatible = "renesas,rsrc-card", },
318 { .compatible = "simple-scu-audio-card", },
319 {},
320};
321MODULE_DEVICE_TABLE(of, asoc_simple_of_match);
322
Kuninori Morimoto53e682b2016-08-23 01:34:17 +0000323static struct platform_driver asoc_simple_card = {
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000324 .driver = {
Kuninori Morimoto64df0e62016-08-23 01:34:43 +0000325 .name = "simple-scu-audio-card",
Kuninori Morimotof4d707092016-08-25 01:58:31 +0000326 .of_match_table = asoc_simple_of_match,
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000327 },
Kuninori Morimoto53e682b2016-08-23 01:34:17 +0000328 .probe = asoc_simple_card_probe,
329 .remove = asoc_simple_card_remove,
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000330};
331
Kuninori Morimoto53e682b2016-08-23 01:34:17 +0000332module_platform_driver(asoc_simple_card);
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000333
Kuninori Morimoto53e682b2016-08-23 01:34:17 +0000334MODULE_ALIAS("platform:asoc-simple-scu-card");
Kuninori Morimoto93bc0472016-08-25 01:56:38 +0000335MODULE_LICENSE("GPL v2");
Kuninori Morimoto53e682b2016-08-23 01:34:17 +0000336MODULE_DESCRIPTION("ASoC Simple SCU Sound Card");
Kuninori Morimoto415f1cb2015-03-26 04:01:27 +0000337MODULE_AUTHOR("Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>");