diff options
author | Maruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu@amd.com> | 2015-09-25 17:48:22 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-05 16:31:43 +0100 |
commit | 1d957d862ac782eaf5803d4d4cf167708e4dc147 (patch) | |
tree | fa41a652eadefb21311568cb75dab46219776521 /include/sound/designware_i2s.h | |
parent | 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff) | |
download | lwn-1d957d862ac782eaf5803d4d4cf167708e4dc147.tar.gz lwn-1d957d862ac782eaf5803d4d4cf167708e4dc147.zip |
ASoC: dwc: support dw i2s in slave mode
dw i2s controller can work in slave mode, codec being master.
dw i2s is made to support master/slave operation, by reading dwc
register.
Signed-off-by: Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/designware_i2s.h')
-rw-r--r-- | include/sound/designware_i2s.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/designware_i2s.h b/include/sound/designware_i2s.h index 3a8fca9409a7..8966ba7c9629 100644 --- a/include/sound/designware_i2s.h +++ b/include/sound/designware_i2s.h @@ -38,6 +38,8 @@ struct i2s_clk_config_data { struct i2s_platform_data { #define DWC_I2S_PLAY (1 << 0) #define DWC_I2S_RECORD (1 << 1) + #define DW_I2S_SLAVE (1 << 2) + #define DW_I2S_MASTER (1 << 3) unsigned int cap; int channel; u32 snd_fmts; |