simple_card.h 763 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * ASoC simple sound card support
  3. *
  4. * Copyright (C) 2012 Renesas Solutions Corp.
  5. * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. #ifndef __SIMPLE_CARD_H
  12. #define __SIMPLE_CARD_H
  13. #include <sound/soc.h>
  14. struct asoc_simple_dai {
  15. const char *name;
  16. unsigned int sysclk;
  17. int slots;
  18. int slot_width;
  19. struct clk *clk;
  20. };
  21. struct asoc_simple_card_info {
  22. const char *name;
  23. const char *card;
  24. const char *codec;
  25. const char *platform;
  26. unsigned int daifmt;
  27. struct asoc_simple_dai cpu_dai;
  28. struct asoc_simple_dai codec_dai;
  29. };
  30. #endif /* __SIMPLE_CARD_H */