sound.h 520 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2012 Samsung Electronics
  4. * Rajeshwari Shinde <rajeshwari.s@samsung.com>
  5. */
  6. #ifndef __SOUND_ARCH_H__
  7. #define __SOUND_ARCH_H__
  8. /* I2S values */
  9. #define I2S_PLL_CLK 192000000
  10. #define I2S_SAMPLING_RATE 48000
  11. #define I2S_BITS_PER_SAMPLE 16
  12. #define I2S_CHANNELS 2
  13. #define I2S_RFS 256
  14. #define I2S_BFS 32
  15. /* I2C values */
  16. #define AUDIO_I2C_BUS 1
  17. #define AUDIO_I2C_REG 0x1a
  18. /* Audio Codec */
  19. #define AUDIO_CODEC "wm8994"
  20. #define AUDIO_COMPAT 1
  21. #endif