sound.h 520 B

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