PageRenderTime 13ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/sound/soc/codecs/wm8728.h

https://bitbucket.org/abioy/linux
C Header | 30 lines | 14 code | 5 blank | 11 comment | 0 complexity | 91de4022398dfdc33bd71eee17d63e11 MD5 | raw file
Possible License(s): CC-BY-SA-3.0, GPL-2.0, LGPL-2.0, AGPL-1.0
  1. /*
  2. * wm8728.h -- WM8728 ASoC codec driver
  3. *
  4. * Copyright 2008 Wolfson Microelectronics plc
  5. *
  6. * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
  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 _WM8728_H
  13. #define _WM8728_H
  14. #define WM8728_DACLVOL 0x00
  15. #define WM8728_DACRVOL 0x01
  16. #define WM8728_DACCTL 0x02
  17. #define WM8728_IFCTL 0x03
  18. struct wm8728_setup_data {
  19. int spi;
  20. int i2c_bus;
  21. unsigned short i2c_address;
  22. };
  23. extern struct snd_soc_dai wm8728_dai;
  24. extern struct snd_soc_codec_device soc_codec_dev_wm8728;
  25. #endif