On Wed, 2010-07-28 at 11:57 +0900, Kuninori Morimoto wrote: > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> > --- > include/sound/sh_fsi.h | 2 + > sound/soc/sh/fsi.c | 60 ++++++++++++++++++++++++++++++++++++++++++++---- > 2 files changed, 57 insertions(+), 5 deletions(-) > > diff --git a/include/sound/sh_fsi.h b/include/sound/sh_fsi.h > index 6ac7186..9d51d6f 100644 > --- a/include/sound/sh_fsi.h > +++ b/include/sound/sh_fsi.h > @@ -64,6 +64,8 @@ > #define SH_FSI_FMT_I2S 3 > #define SH_FSI_FMT_TDM 4 > #define SH_FSI_FMT_TDM_DELAY 5 > +#define SH_FSI_FMT_SPDIF 6 > + > > #define SH_FSI_IFMT_TDM_CH(x) \ > (SH_FSI_IFMT(TDM) | SH_FSI_SET_CH_I(x)) > diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c > index 4b09b3d..0bcdfcc 100644 > --- a/sound/soc/sh/fsi.c > +++ b/sound/soc/sh/fsi.c > @@ -30,9 +30,11 @@ > #define DIDT 0x0020 > #define DODT 0x0024 > #define MUTE_ST 0x0028 > -#define REG_END MUTE_ST > - > +#define OUT_SEL 0x0030 > +#define REG_END OUT_SEL > > +#define A_MST_CTLR 0x0180 > +#define B_MST_CTLR 0x01A0 > #define CPU_INT_ST 0x01F4 > #define CPU_IEMSK 0x01F8 > #define CPU_IMSK 0x01FC > @@ -43,7 +45,7 @@ > #define CLK_RST 0x0210 > #define SOFT_RST 0x0214 > #define FIFO_SZ 0x0218 > -#define MREG_START CPU_INT_ST > +#define MREG_START A_MST_CTLR > #define MREG_END FIFO_SZ > > /* DO_FMT */ > @@ -54,6 +56,7 @@ > #define CR_I2S (0x3 << 4) > #define CR_TDM (0x4 << 4) > #define CR_TDM_D (0x5 << 4) > +#define CR_SPDIF (0x00100120) Parenthesis not required here. All Acked-by: Liam Girdwood <lrg@xxxxxxxxxxxxxxx> -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel