diff options
author | 2023-01-16 16:08:20 +0530 | |
---|---|---|
committer | 2023-01-17 13:16:04 +0000 | |
commit | bc36d761cad7f3fec22cd97ddaa80f0120610181 (patch) | |
tree | da727c7c084782432eead063e98c683dbbcb67c8 /sound/soc/samsung/i2s-regs.h | |
parent | ASoC: dt-bindings: Add FSD I2S controller bindings (diff) | |
download | wireguard-linux-bc36d761cad7f3fec22cd97ddaa80f0120610181.tar.xz wireguard-linux-bc36d761cad7f3fec22cd97ddaa80f0120610181.zip |
ASoC: samsung: i2s: add support for FSD I2S
Add support for enabling I2S controller on FSD platform.
FSD I2S controller is based on Exynos7 I2S controller, supporting
2CH playback/capture in I2S mode and 7.1CH playback/capture in TDM
mode.
Signed-off-by: Padmanabhan Rajanbabu <p.rajanbabu@samsung.com>
Link: https://lore.kernel.org/r/20230116103823.90757-3-p.rajanbabu@samsung.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/samsung/i2s-regs.h')
-rw-r--r-- | sound/soc/samsung/i2s-regs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/samsung/i2s-regs.h b/sound/soc/samsung/i2s-regs.h index b4b5d6053503..138e95581979 100644 --- a/sound/soc/samsung/i2s-regs.h +++ b/sound/soc/samsung/i2s-regs.h @@ -132,6 +132,7 @@ #define EXYNOS7_MOD_RCLK_192FS 7 #define PSR_PSREN (1 << 15) +#define PSR_PSVAL(x) ((((x) - 1) << 8) & 0x3f00) #define FIC_TX2COUNT(x) (((x) >> 24) & 0xf) #define FIC_TX1COUNT(x) (((x) >> 16) & 0xf) |