ASoC: add Renesas R-Car ADG feature

Renesas R-Car series sound circuit consists of SSI and its peripheral.
But this peripheral circuit is different between
R-Car Generation1 (E1/M1/H1) and Generation2 (E2/M2/H2)
(Actually, there are many difference in Generation1 chips)

This patch adds ADG feature which controls sound clock

Signed-off-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
Kuninori Morimoto 2013-07-21 21:36:46 -07:00 • committed by Mark Brown
commit dfc9403b7c
6 changed files with 288 additions and 4 deletions

View file

@ -15,10 +15,12 @@
#include <linux/sh_clk.h>
#define RSND_GEN1_SRU 0
#define RSND_GEN1_ADG 1
#define RSND_GEN2_SRU 0
#define RSND_GEN2_ADG 1
#define RSND_BASE_MAX 1
#define RSND_BASE_MAX 2
struct rsnd_scu_platform_info {
u32 flags;