ak4641.h 1005 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * ak4641.h -- AK4641 SoC Audio driver
  3. *
  4. * Copyright 2008 Harald Welte <laforge@gnufiish.org>
  5. *
  6. * Based on ak4535.h
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #ifndef _AK4641_H
  13. #define _AK4641_H
  14. /* AK4641 register space */
  15. #define AK4641_PM1 0x00
  16. #define AK4641_PM2 0x01
  17. #define AK4641_SIG1 0x02
  18. #define AK4641_SIG2 0x03
  19. #define AK4641_MODE1 0x04
  20. #define AK4641_MODE2 0x05
  21. #define AK4641_DAC 0x06
  22. #define AK4641_MIC 0x07
  23. #define AK4641_TIMER 0x08
  24. #define AK4641_ALC1 0x09
  25. #define AK4641_ALC2 0x0a
  26. #define AK4641_PGA 0x0b
  27. #define AK4641_LATT 0x0c
  28. #define AK4641_RATT 0x0d
  29. #define AK4641_VOL 0x0e
  30. #define AK4641_STATUS 0x0f
  31. #define AK4641_EQLO 0x10
  32. #define AK4641_EQMID 0x11
  33. #define AK4641_EQHI 0x12
  34. #define AK4641_BTIF 0x13
  35. #define AK4641_CACHEREGNUM 0x14
  36. #define AK4641_DAI_HIFI 0
  37. #define AK4641_DAI_VOICE 1
  38. #endif