30 Sep, 2016
3 commits
-
…/topic/omap' and 'asoc/topic/platform-drvdata' into asoc-next
-
This patch adds SNDRV_PCM_TRIGGER_SUSPEND/RESUME.
Otherwise, it breaks rsnd driver internal start/stop counter
when suspend/resume. This issue was reported/tested by HiepTested-by: Hiep Cao Minh
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
25 Aug, 2016
1 commit
24 Aug, 2016
5 commits
-
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 will be renamed to
simple-scu-card. In order to easy patch review, as 3rd step,
this patch moves rsrc-card driver to generic folder.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
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 will be renamed to
simple-scu-card. In order to easy patch review, as 2nd step,
this patch adds new compatible "simple-scu-audio-card";rcar-card used specific property, not "simple-audio-card",
but it should be now. Actually, rsrc-card is upstreamed driver,
but noone is using it on upstream. The user is only local,
and it is only me. Thus, there is no compatible break by this patch.
This patch uses "simple-audio-card" prefix.
And it removes rcar-card specifix compatible too.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
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 will be renamed to
simple-scu-card. In order to easy patch review, as 1st step,
this patch renames "rsrc" function prefix to "asoc_simple".Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
rsrc-card has board specific compatible (= lager/koelsh), but these were
created as 1st prototype, and it is used in my test environment only.
Now normal user can use generic compatible (= renesas,rsrc-card).
Removing these board specific compatible doesn't breake compatibility.
This patch remove these.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
…onie/sound into asoc-rcar
11 Aug, 2016
3 commits
-
We get 1 warning about global functions without a declaration
in the ASoC sub-system when building with W=1:sound/soc/sh/rcar/core.c:113:6: warning: no previous prototype for 'rsnd_mod_make_sure' [-Wmissing-prototypes]
void rsnd_mod_make_sure(struct rsnd_mod *mod, enum rsnd_mod_type type)In this case, the function 'rsnd_mod_make_sure' is declared in rsnd.h file,
but it only valid if the macro DEBUG is claimed.so the implementation of function 'rsnd_mod_make_sure' need be
held by macro DEBUG.Signed-off-by: Baoyou Xie
Signed-off-by: Mark Brown -
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
09 Aug, 2016
2 commits
-
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
08 Aug, 2016
2 commits
-
Use of_property_read_bool to check for the existence of a property.
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)//
@@
expression e1,e2;
statement S2,S1;
@@
- if (of_get_property(e1,e2,NULL))
+ if (of_property_read_bool(e1,e2))
S1 else S2
//Signed-off-by: Julia Lawall
Signed-off-by: Mark Brown -
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
05 Aug, 2016
1 commit
-
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
28 Jul, 2016
1 commit
-
This patch fixes the calculation accuracy degradation of SRCm_IFSVR
register value.Signed-off-by: Hiroyuki Yokoyama
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
25 Jul, 2016
1 commit
-
…pic/rockchip' into asoc-next
16 Jul, 2016
4 commits
-
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
…onie/sound into asoc-rcar
02 Jul, 2016
1 commit
-
…wm8940' into asoc-linus
01 Jul, 2016
1 commit
-
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
14 Jun, 2016
1 commit
-
When building with 'make W=1', we get a harmless warning about
slightly incorrect prototypes in the rcar audio driver:sound/soc/sh/rcar/gen.c: In function 'rsnd_gen2_probe':
sound/soc/sh/rcar/gen.c:209:2: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration]This changes the 'const static' to 'static const' as it should be.
Signed-off-by: Arnd Bergmann
Signed-off-by: Mark Brown
09 Jun, 2016
1 commit
-
AUDIO-CLKOUTn can asynchronizes with L/R clock.
AUDIO-CLKOUTn synchronizes with L/R clock is now default behavior.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
31 May, 2016
1 commit
-
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
28 May, 2016
1 commit
-
SSICKR (Gen2) / BRGCKR (Gen3) 31bit mask should be opened,
because BRGB (= for 48kHz) might select it.
Special thanks Yokoyama-sanReported-by: Hiroyuki Yokoyama
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
12 May, 2016
1 commit
-
The current device tree representation of the R-Car Sample Rate Converters
(SRC) assumes that they are numbered consecutively, starting from 0. Alas,
this is not the case with the R8A7794 SoC where SRC0 isn't present. In
order to keep the existing device trees working, I'm suggesting to use a
disabled node for SRC0. Teach the SRC probe to just skip disabled nodes.Signed-off-by: Sergei Shtylyov
Acked-by: Kuninori Morimoto
Signed-off-by: Mark Brown
11 May, 2016
1 commit
-
Current rsnd_dmapp_get_id() returns 0xFF as error code if system used
strange connection. It will be used as PDMACHCRn.SRS, but 0xFF is
prohibited number.
In order not to use prohibited number, this patch indicates error message
and returns 0x00 (same as SSI00) in error case.
Special thanks to Dung-san.Reported-by: Nguyen Viet Dung
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
28 Apr, 2016
1 commit
-
Current rsnd_mod_call is counting its calling count to avoid unbalanced
function pair calling for error cases (ex init quit).
SSI parent is now controlled as "mod" on current rsnd driver. Because of
this reason, SSI .remove function will be called twice if it was used as
SSI parent when user tried unbind. But probe/remove pair were not
counted. This patch counts probe/remove functions to avoid it.
Special thans HiepReported-by: Hiep Cao Minh
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
20 Apr, 2016
1 commit
-
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate
CLK_IS_ROOT", 2016-02-02) so remove it.Signed-off-by: Stephen Boyd
Acked-by: Kuninori Morimoto
Signed-off-by: Mark Brown
12 Mar, 2016
1 commit
-
Renesas sound driver user needs to read its datasheet when create DT.
But it is difficult to understand, because it has many modules
(SRC/CTU/MIX/DVC/SSIU/SSI/AudioDMAC/AudioDMACperiperi),
and many features (Asynchronous/Synchronous mode on SRC, CTU matrix,
DVC volume settings feature, Multi-SSI/TDM-SSI, etc).
This patch adds simplified explanation to help setting/understanding.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
07 Mar, 2016
6 commits
-
CMD.out should use same as SRC.out for TIMSEL settings,
but it cares Playback case only. This patch fixup it.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
SRC has Sync/Async mode, and it can't use Sync mode when Capture
with CMD. In Async mode, it needs to care about in/out SRC rate
for settings, but current driver supporting Playback case only.
This patch supports Capture case.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
SRC will convert rate, and then, CMD and SSI want to know its
rate (= SRC.in / SRC.out) for each purpose.
Current driver is supporting only Playback, but SRC+Capture support
needs more flexibility.
This patch adds rsnd_src_get_in/out_rate() for it.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
rsnd_enable_sync_convert() is for checking, not for setting.
In order to avoid confusion, this patch renamed it to
rsnd_src_sync_is_enabled()Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
To reduce confusion, SRC uses "mod" instead of "src"
as function parameterSigned-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
SRC sync mode needs to control its clock (= for in/out). 1st but codec
side clockSigned-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown