[PATCH v2] ASoC: rsnd: adg :: AUDIO-CLKOUTn asynchronizes support

2016-06-08 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> AUDIO-CLKOUTn can asynchronizes with L/R clock. AUDIO-CLKOUTn synchronizes with L/R clock is now default behavior. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- v1 -> v2 - default

Re: lm-senser can't detect thermal on thermal_zone

2016-06-08 Thread Kuninori Morimoto
e hwmon drivers registering */ > > tzp->no_hwmon = true; > > > > and on thermal_zone_device_register() check this for hwmon > > > > struct thermal_zone_device *thermal_zone_device_register(xxxx) > > { > > ... > > if (!tz->tzp || !tz->tzp->no_hwmon) { > > result = thermal_add_hwmon_sysfs(tz); > > ... > > } > > ... > > } > > > > Does this mean "thermal_zone doesn't use lm-senser" ? > > > Best regards > --- > Kuninori Morimoto

Re: [PATCH 0/2 v2] drm: rcar-du: EPROBE_DEFER case doesn't need error message

2016-06-08 Thread Kuninori Morimoto
Hi David ping ? > These removes unneeded error message from Renesas DU driver. > Current this unneeded error message makes user confuse. > > Kuninori Morimoto (2): > drm: rcar-du: error message is not needed for drm_vblank_init() > drm: rcar-du: error mes

Re: [PATCH] ASoC: rsnd: adg :: AUDIO-CLKOUTn can synchronizes with L/R clock.

2016-06-08 Thread Kuninori Morimoto
Hi Mark Thank you for your explanation > > I'm now confusing. We can set system clock on audio card, for example > > simple-card case, it is called as "system-clock-frequency". > > In my understanding, this "system clock" and above "master clock" are same > > clock. > > but "system clock" is

Re: [PATCH 14/30] ARM: dts: r8a7790: Fix W=1 dtc warnings

2016-06-08 Thread Kuninori Morimoto
r nodes under the cpus node, and make their unit > names and reg properties match the MPIDR values. > > Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> > Signed-off-by: Simon Horman <horms+rene...@verge.net.au> > --- For sound portion. Acked-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>

Re: [PATCH] ASoC: rsnd: adg :: AUDIO-CLKOUTn can synchronizes with L/R clock.

2016-06-07 Thread Kuninori Morimoto
Hi Mark > > AUDIO-CLKOUTn can synchronizes with L/R clock, and Salvator board > > needs it. Otherwise, specific frequency sound will be noisy. > > Why would a user not want these clocks to be synchronous? A lot of > CODECs will at least have better performance if their master clock is >

[PATCH] ASoC: rsnd: adg :: AUDIO-CLKOUTn can synchronizes with L/R clock.

2016-06-07 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> AUDIO-CLKOUTn can synchronizes with L/R clock, and Salvator board needs it. Otherwise, specific frequency sound will be noisy. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- .../devicetree/bindings/s

[PATCH 31/39 v2] ASoC: rsrc-card: use asoc_simple_card_parse_card_prefix()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-card.c b/sound/soc/

[PATCH 32/39 v2] ASoC: rsrc-card: use asoc_simple_card_parse_tdm()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-card.c b/sound

[PATCH 30/39 v2] ASoC: rsrc-card: use asoc_simple_card_parse_card_name()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-card.c b/sound/soc/

[PATCH 29/39 v2] ASoC: rsrc-card: use asoc_simple_card_parse_endpoint()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 27 +++ 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/sound/soc/sh/rcar/r

[PATCH 28/39 v2] ASoC: rsrc-card: use asoc_simple_card_parse_clk()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 68 +++ 1 file changed, 10 insertions(+), 58 deletions(-) diff --git a/sound

[PATCH 25/39 v2] ASoC: rsrc-card: use asoc_simple_card_parse_daifmt()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/Kconfig | 1 + sound/soc/sh/rcar/rsrc-card.c | 38 -- 2 files changed, 5 insertions(+),

[PATCH 27/39 v2] ASoC: rsrc-card: use asoc_simple_dai instead of rsrc_card_dai

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 26 -- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-ca

[PATCH 26/39 v2] ASoC: rsrc-card: use asoc_simple_card_parse_dailink_name()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-card.c b/

[PATCH 24/39 v2] ASoC: simple-card: use asoc_simple_card_clean_reference()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 19 ++- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/sound/soc/generic/simple-card.c

[PATCH 23/39 v2] ASoC: simple-card: use asoc_simple_card_canonicalize_cpu()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/sound/soc/generic/simple-card.c

[PATCH 22/39 v2] ASoC: simple-card: use asoc_simple_card_canonicalize_dailink()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/sound/soc/generic/simple-card.c b/sound

[PATCH 21/39 v2] ASoC: simple-card: use asoc_simple_card_init_dai()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 38 +++--- 1 file changed, 3 insertions(+), 35 deletions(-) diff --git a/sound/soc/ge

[PATCH 20/39 v2] ASoC: simple-card: use asoc_simple_card_parse_dailink_name()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/sound/soc/generic/simple-card.c

[PATCH 19/39 v2] ASoC: simple-card: use asoc_simple_card_parse_card_name()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/sound/soc/generic/simple-card.c b/sound

[PATCH 18/39 v2] ASoC: simple-card: use asoc_simple_card_parse_tdm()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 40 ++-- 1 file changed, 2 insertions(+), 38 deletions(-) diff --git a/sound

[PATCH 17/39 v2] ASoC: simple-card: use asoc_simple_card_parse_endpoint()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 43 + 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/sound

[PATCH 15/39 v2] ASoC: simple-card: use asoc_simple_card_parse_daifmt()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card.h | 11 +- sound/soc/generic/Kconfig | 1 + sound/soc/generic/simple

[PATCH 16/39 v2] ASoC: simple-card: use asoc_simple_card_parse_clk()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 35 ++- 1 file changed, 10 insertions(+), 25 deletions(-) diff --git a/sound/soc/ge

[PATCH 13/39 v2] ASoC: simple-card-utils: add asoc_simple_card_canonicalize_cpu()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card needs remove dai_link->cpu_dai_name if it CPU was single DAI. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simp

[PATCH 14/39 v2] ASoC: simple-card-utils: add asoc_simple_card_clean_reference()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card needs to decrease the reference count of the device nodes. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_

[PATCH 11/39 v2] ASoC: simple-card-utils: add asoc_simple_card_init_dai()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card is supporting clock/tdm slot initialization. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card_utils.h |

[PATCH 12/39 v2] ASoC: simple-card-utils: add asoc_simple_card_canonicalize_dailink()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card is assuming that sometimes platform and cpu are same. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card_util

[PATCH 08/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_card_prefix()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> DPCM might need audio prefix for route matching. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card_utils.h | 4 +++

[PATCH 09/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_clk()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Current simple-card can get clock via DT clocks or "system-clock-frequency" property. This patch makes it simple style standard Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sou

[PATCH 06/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_dailink_name()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Current simple-card is creating dai_link->name / dai_link->stream_name. These are based on CPU + Codec name. It can be "fe.CPU" or "be.Codec" if it was DPCM. This patch adds simple card common function

[PATCH 05/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_tdm()

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card is supporting TDM. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card_utils.h | 12 sound/soc/ge

[PATCH 04/39 v2] ASoC: add new simple-card-utils.c

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Current ALSA SoC has simple-card driver which is supporting both platform and DT probe. Now, some sound cards driver are created based on simple-card. They have similar feature or function, but implemented separately on each d

[PATCH 03/39 v2] ASoC: simple-card: add new asoc_simple_jack and use it

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Current simple-card supports snd_soc_jack/pin/gpio. These code are very similar, but driver has verbosity code. So, this patch adds new snd_soc_jack and cleanups code Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@re

[PATCH 01/39 v2] ASoC: rsrc-card: remove unused dai_num

2016-05-31 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Mark Brown <broo...@kernel.org> --- sound/soc/sh/rcar/rsrc-card.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/sh/

[PATCH 00/39 v2] ASoC: add simple-card-core and standardize "simple" card

2016-05-31 Thread Kuninori Morimoto
as static function. dpcm related function too, it is keeping static. 1) - 3) cleaup patch as prepare 4) - 14) simple-card-utils 15) - 24) simple-card 25) - 36) rsrc-card 37) - 39) rsrc-card -> simple-dpcm-card Kuninori Morimoto (39): 1) ASoC: rsrc-card: remove unused dai_num 2)

Re: [PATCH 11/49] ASoC: simple-card-core: add asoc_simple_card_parse_card_widgets()

2016-05-30 Thread Kuninori Morimoto
Hi Mark, again > > > +int asoc_simple_card_parse_card_widgets(struct snd_soc_card *card, > > > + char *prefix) > > > +{ > > > + struct device_node *np = card->dev->of_node; > > > + char prop[128]; > > > + int ret = 0; > > > + > > > + snprintf(prop, sizeof(prop),

Re: [PATCH 15/49] ASoC: simple-card-core: add asoc_simple_card_init_jack()

2016-05-30 Thread Kuninori Morimoto
Hi Mark > > From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> > > > > simple-card is supporting jack/gpio. > > This patch makes this method simple style standard. > > There was some recent discussion about a more complete core binding > for thi

Re: [PATCH 14/49] ASoC: simple-card-core: add asoc_simple_card_parse_dpcm()

2016-05-30 Thread Kuninori Morimoto
Hi Mark > > From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> > > > > simple-card like driver is supporting DPCM FE/BE. > > This patch makes this method simple style standard. > > DPCM is very much an implementation detail of the current stack, >

Re: R8A7795 FDP1 clock parentage

2016-05-30 Thread Kuninori Morimoto
Hi Kieran > > Just to add to this request, could you ask the HW engineers to confirm > > the clock parents for the FCPF (0,1,2) as well please? > > > > They too are currently listed as R8A7795_CLK_S2D1, however now that I am > > trying to enable the FCPF and read registers from it - the VCR is

[PATCH 1/2][RFC] ASoC: add simple-graph-card support

2016-05-27 Thread Kuninori Morimoto
binding with simple-card style Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/Kconfig | 6 + sound/soc/generic/Makefile| 2 + sound/soc/generic/simple-graph-card.c | 351 ++ 3 files change

[PATCH 1/2][RFC] ASoC: add simple-graph-card document

2016-05-27 Thread Kuninori Morimoto
Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- .../bindings/sound/simple-graph-card.txt | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/simple-graph-card.txt diff --git a/Documen

[PATCH 0/2][RFC] ASoC: add simple-graph-card support

2016-05-27 Thread Kuninori Morimoto
soc_port: endpoint { remote-endpoint = <_port>; soc-port-specific-property }; }; }; Best regards --- Kuninori Morimoto

Re: R8A7795 FDP1 clock parentage

2016-05-25 Thread Kuninori Morimoto
this thread. http://thread.gmane.org/gmane.linux.kernel.renesas-soc/662/focus=1304 # I think this "parent clock" settings itself is not super critical # (= it works anyway with wrong settings) # it seems other issues ? Best regards --- Kuninori Morimoto

[PATCH 2/2 v2] drm: rcar-du: error message is not needed for EPROBE_DEFER

2016-05-24 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> EPROBE_DEFER is not error, thus, error message on kernel log on this case is confusable. Print it only error cases Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- v1 -> v2 - only for rcar_

[PATCH 1/2 v2] drm: rcar-du: error message is not needed for drm_vblank_init()

2016-05-24 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> The only reason drm_vblank_init() could return an error at the moment is a kcalloc() failure. So we can remove current error message completely. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- v1 -&

[PATCH 0/2 v2] drm: rcar-du: EPROBE_DEFER case doesn't need error message

2016-05-24 Thread Kuninori Morimoto
Hi David, Laurent These removes unneeded error message from Renesas DU driver. Current this unneeded error message makes user confuse. Kuninori Morimoto (2): drm: rcar-du: error message is not needed for drm_vblank_init() drm: rcar-du: error message is not needed for EPROBE_DEFER

Re: [PATCH] drm: rcar-du: EPROBE_DEFER case doesn't need error message

2016-05-24 Thread Kuninori Morimoto
Hi Laurent > > From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> > > > > EPROBE_DEFER is not error, thus, error message on kernel log on this > > case is confusable for user. Prints it only error cases. > > > > Signed-off-by: Kuninori

[PATCH] drm: rcar-du: EPROBE_DEFER case doesn't need error message

2016-05-23 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> EPROBE_DEFER is not error, thus, error message on kernel log on this case is confusable for user. Prints it only error cases. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- drivers/gpu/drm/rcar-du/r

Re: [PATCH 00/49] ASoC: add simple-card-core and standardize "simple" card

2016-05-23 Thread Kuninori Morimoto
Hi Mark > > These are very big patch-set, but basically just cleanup for > > simple-card driver. > > Now, we have simple-card driver, but it is not simple today. > > I would like to cleanup this. > > This really is far too big. Don't worry about it this time but in > future please try to keep

Re: [PATCH/RFC v2 2/3] mmc: sh_mobile_sdhi: Add tuning support

2016-05-22 Thread Kuninori Morimoto
Hi Simon > > > +static int sh_mobile_sdhi_select_tuning(struct tmio_mmc_host *host, bool > > > *tap) > > > +{ > > > + unsigned long tap_num, i; > > > + int ok_count; > > > + > > > + /* Clear SCC_RVSREQ */ > > > + sd_scc_write32(host, SH_MOBILE_SDHI_SCC_RVSREQ, 0); > > > + > > > + /* Select SCC

Re: [PATCH/RFC v2 2/3] mmc: sh_mobile_sdhi: Add tuning support

2016-05-22 Thread Kuninori Morimoto
Hi Simon > From: Ai Kyuse > > Add tuning support for use with SDR104 mode > This includes adding support for the sampling clock controller (SCC). > > Signed-off-by: Ai Kyuse > Signed-off-by: Simon Horman > ---

Re: [PATCH/RFC v2 1/3] mmc: tmio: Add tuning support

2016-05-22 Thread Kuninori Morimoto
+ ret = err; > + goto err_free; > + } > + tap[i] = (err == 0); > + > + mdelay(1); > + } > + > + if (host->select_tuning) > + ret = host->select_tuning(host, tap); Here, "tap" was alloc:ed array, but there is no array_size parameter. A littile bit strange for me..., but I'm not sure Best regards --- Kuninori Morimoto

[PATCH 49/49] ASoC: rsrc-card: rename rsrc-card to simple-dpcm-card phase3

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> rsrc-card which is using DPCM feature was created for Renesas sound. But not only Renesas, but many SoC can use this driver, because it is based on simple-card driver. To use it as more open driver, rsrc-card should be renamed to

[PATCH 48/49] ASoC: rsrc-card: rename rsrc-card to simple-dpcm-card phase2

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> rsrc-card which is using DPCM feature was created for Renesas sound. But not only Renesas, but many SoC can use this driver, because it is based on simple-card driver. To use it as more open driver, rsrc-card should be renamed to

[PATCH 47/49] ASoC: rsrc-card: rename rsrc-card to simple-dpcm-card phase1

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> rsrc-card which is using DPCM feature was created for Renesas sound. But not only Renesas, but many SoC can use this driver, because it is based on simple-card driver. To use it as more open driver, function prefix rsrc-card

[PATCH 45/49] ASoC: rsrc-card: use asoc_simple_card_canonicalize_dailink()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-card.c b/sound/soc/sh/rcar

[PATCH 46/49] ASoC: rsrc-card: use asoc_simple_card_clean_reference()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 19 ++- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-card.c b/

[PATCH 43/49] ASoC: rsrc-card: use asoc_simple_card_init_dai()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 26 +- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-ca

[PATCH 44/49] ASoC: rsrc-card: use asoc_simple_card_canonicalize_cpu()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-card.c b/sound

[PATCH 42/49] ASoC: rsrc-card: use asoc_simple_card_parse_tdm()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-card.c b/sound

[PATCH 41/49] ASoC: rsrc-card: use asoc_simple_card_parse_card_route()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-ca

[PATCH 39/49] ASoC: rsrc-card: use asoc_simple_card_parse_card_prefix()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-card.c b/sound/soc/

[PATCH 38/49] ASoC: rsrc-card: use asoc_simple_card_parse_card_name()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-card.c b/sound/soc/

[PATCH 40/49] ASoC: rsrc-card: use asoc_simple_card_parse_dpcm()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 20 ++-- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-card.c b/

[PATCH 37/49] ASoC: rsrc-card: use asoc_simple_card_parse_endpoint()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 27 +++ 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/sound/soc/sh/rcar/r

[PATCH 36/49] ASoC: rsrc-card: use asoc_simple_card_parse_clk()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 68 +++ 1 file changed, 10 insertions(+), 58 deletions(-) diff --git a/sound

[PATCH 35/49] ASoC: rsrc-card: use asoc_simple_dai instead of rsrc_card_dai

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 26 -- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-ca

[PATCH 33/49] ASoC: rsrc-card: use asoc_simple_card_parse_daifmt()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/Kconfig | 1 + sound/soc/sh/rcar/rsrc-card.c | 39 --- 2 files changed, 5 insertions(+),

[PATCH 34/49] ASoC: rsrc-card: use asoc_simple_card_parse_dailink_name()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/sh/rcar/rsrc-card.c | 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-card.c b/

[PATCH 31/49] ASoC: simple-card: use asoc_simple_card_canonicalize_cpu()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/sound/soc/generic/simple-card.c

[PATCH 32/49] ASoC: simple-card: use asoc_simple_card_clean_reference()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 19 ++- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/sound/soc/generic/simple-card.c

[PATCH 29/49] ASoC: simple-card: use asoc_simple_card_init_dai()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 38 +++--- 1 file changed, 3 insertions(+), 35 deletions(-) diff --git a/sound/soc/ge

[PATCH 30/49] ASoC: simple-card: use asoc_simple_card_canonicalize_dailink()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/sound/soc/generic/simple-card.c b/sound

[PATCH 28/49] ASoC: simple-card: use asoc_simple_card_init_jack()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 86 ++--- 1 file changed, 11 insertions(+), 75 deletions(-) diff --git a/sound

[PATCH 27/49] ASoC: simple-card: use asoc_simple_card_parse_dailink_name()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/sound/soc/generic/simple-card.c

[PATCH 26/49] ASoC: simple-card: use asoc_simple_card_parse_card_widgets()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/sound/soc/generic/simple-card.c b/sound

[PATCH 25/49] ASoC: simple-card: use asoc_simple_card_parse_card_route()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/sound/soc/generic/simple-card.c b/sound

[PATCH 24/49] ASoC: simple-card: use asoc_simple_card_parse_card_name()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/sound/soc/generic/simple-card.c

[PATCH 23/49] ASoC: simple-card: use asoc_simple_card_parse_tdm()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 40 ++-- 1 file changed, 2 insertions(+), 38 deletions(-) diff --git a/sound

[PATCH 22/49] ASoC: simple-card: use asoc_simple_card_parse_endpoint()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 44 ++--- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/sound

[PATCH 22/49] ASoC: simple-card: use asoc_simple_card_parse_endpoint()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 44 ++--- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/sound

[PATCH 21/49] ASoC: simple-card: use asoc_simple_card_parse_clk()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- sound/soc/generic/simple-card.c | 35 ++- 1 file changed, 10 insertions(+), 25 deletions(-) diff --git a/sound/soc/ge

[PATCH 20/49] ASoC: simple-card: use asoc_simple_card_parse_daifmt()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card.h | 11 +- sound/soc/generic/Kconfig | 1 + sound/soc/generic/simple

[PATCH 19/49] ASoC: simple-card-core: add asoc_simple_card_clean_reference()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card needs to decrease the reference count of the device nodes. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card_cor

[PATCH 17/49] ASoC: simple-card-core: add asoc_simple_card_canonicalize_dailink()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card is assuming that sometimes platform and cpu are same. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card_cor

[PATCH 18/49] ASoC: simple-card-core: add asoc_simple_card_canonicalize_cpu()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card needs remove dai_link->cpu_dai_name if it CPU was single DAI. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/sim

[PATCH 15/49] ASoC: simple-card-core: add asoc_simple_card_init_jack()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card is supporting jack/gpio. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card_core.h | 18 +++ sound

[PATCH 16/49] ASoC: simple-card-core: add asoc_simple_card_init_dai()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card is supporting clock/tdm slot initialization. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card_core.h |

[PATCH 14/49] ASoC: simple-card-core: add asoc_simple_card_parse_dpcm()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card like driver is supporting DPCM FE/BE. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card_core.h | 7 ++

[PATCH 13/49] ASoC: simple-card-core: add asoc_simple_card_parse_endpoint()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card needs to get its dai name and endpoint node. This patch makes it simple style standard Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card_cor

[PATCH 12/49] ASoC: simple-card-core: add asoc_simple_card_parse_clk()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Current simple-card can get clock via DT clocks or "system-clock-frequency" property. This patch makes it simple style standard Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/so

[PATCH 10/49] ASoC: simple-card-core: add asoc_simple_card_parse_card_widgets()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card is supporting widgets. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card_core.h | 2 ++ sound/soc/generic

[PATCH 11/49] ASoC: simple-card-core: add asoc_simple_card_parse_card_widgets()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card is supporting widgets. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card_core.h | 2 ++ sound/soc/generic

[PATCH 07/49] ASoC: simple-card-core: add asoc_simple_card_parse_dailink_name()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Current simple-card is creating dai_link->name / dai_link->stream_name. These are based on CPU + Codec name. It can be "fe.CPU" or "be.Codec" if it was DPCM. This patch makes this method simple style st

[PATCH 08/49] ASoC: simple-card-core: add asoc_simple_card_parse_card_name()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card needs to get its card name. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card_core.h | 2 ++ sound/soc/ge

[PATCH 05/49] ASoC: add new simple-card-core.c

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> Current ALSA SoC has simple-card driver which is supporting both platform and DT probe. Now, some sound cards driver are created based on simple-card. They have similar feature or function, but implemented separately on each d

[PATCH 06/49] ASoC: simple-card-core: add asoc_simple_card_parse_tdm()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> simple-card is supporting TDM. This patch makes this method simple style standard. Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com> --- include/sound/simple_card_core.h | 12 sound/soc/ge

[PATCH 04/49] ASoC: simple-card: platform also uses asoc_simple_card_sub_parse_of()

2016-05-20 Thread Kuninori Morimoto
From: Kuninori Morimoto <kuninori.morimoto...@renesas.com> In current simple-card, platform is handled as special case, but, the code is not readable. This patch makes platform to use asoc_simple_card_sub_parse_of() Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>

<    4   5   6   7   8   9   10   >