s3c-pl330-pdata.h 947 B

1234567891011121314151617181920212223242526272829303132
  1. /* linux/arch/arm/plat-samsung/include/plat/s3c-pl330-pdata.h
  2. *
  3. * Copyright (C) 2010 Samsung Electronics Co. Ltd.
  4. * Jaswinder Singh <jassi.brar@samsung.com>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. */
  11. #ifndef __S3C_PL330_PDATA_H
  12. #define __S3C_PL330_PDATA_H
  13. #include <plat/s3c-dma-pl330.h>
  14. /*
  15. * Every PL330 DMAC has max 32 peripheral interfaces,
  16. * of which some may be not be really used in your
  17. * DMAC's configuration.
  18. * Populate this array of 32 peri i/fs with relevant
  19. * channel IDs for used peri i/f and DMACH_MAX for
  20. * those unused.
  21. *
  22. * The platforms just need to provide this info
  23. * to the S3C DMA API driver for PL330.
  24. */
  25. struct s3c_pl330_platdata {
  26. enum dma_ch peri[32];
  27. };
  28. #endif /* __S3C_PL330_PDATA_H */