sdhci.h 957 B

1234567891011121314151617181920212223242526272829303132333435
  1. /* linux/arch/arm/plat-pxa/include/plat/sdhci.h
  2. *
  3. * Copyright 2010 Marvell
  4. * Zhangfei Gao <zhangfei.gao@marvell.com>
  5. *
  6. * PXA Platform - SDHCI platform data definitions
  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 __PLAT_PXA_SDHCI_H
  13. #define __PLAT_PXA_SDHCI_H
  14. /* pxa specific flag */
  15. /* Require clock free running */
  16. #define PXA_FLAG_DISABLE_CLOCK_GATING (1<<0)
  17. /* Board design supports 8-bit data on SD/SDIO BUS */
  18. #define PXA_FLAG_SD_8_BIT_CAPABLE_SLOT (1<<2)
  19. /*
  20. * struct pxa_sdhci_platdata() - Platform device data for PXA SDHCI
  21. * @max_speed: the maximum speed supported
  22. * @quirks: quirks of specific device
  23. * @flags: flags for platform requirement
  24. */
  25. struct sdhci_pxa_platdata {
  26. unsigned int max_speed;
  27. unsigned int quirks;
  28. unsigned int flags;
  29. };
  30. #endif /* __PLAT_PXA_SDHCI_H */