msp.h 538 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (C) ST-Ericsson SA 2010
  3. *
  4. * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
  5. * License terms: GNU General Public License (GPL), version 2.
  6. */
  7. #ifndef __MSP_H
  8. #define __MSP_H
  9. #include <linux/platform_data/dma-ste-dma40.h>
  10. enum msp_i2s_id {
  11. MSP_I2S_0 = 0,
  12. MSP_I2S_1,
  13. MSP_I2S_2,
  14. MSP_I2S_3,
  15. };
  16. /* Platform data structure for a MSP I2S-device */
  17. struct msp_i2s_platform_data {
  18. enum msp_i2s_id id;
  19. struct stedma40_chan_cfg *msp_i2s_dma_rx;
  20. struct stedma40_chan_cfg *msp_i2s_dma_tx;
  21. };
  22. #endif