mmci.h 653 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * include/linux/amba/mmci.h
  4. */
  5. #ifndef AMBA_MMCI_H
  6. #define AMBA_MMCI_H
  7. #include <linux/mmc/host.h>
  8. /**
  9. * struct mmci_platform_data - platform configuration for the MMCI
  10. * (also known as PL180) block.
  11. * @ocr_mask: available voltages on the 4 pins from the block, this
  12. * is ignored if a regulator is used, see the MMC_VDD_* masks in
  13. * mmc/host.h
  14. * @status: if no GPIO line was given to the block in this function will
  15. * be called to determine whether a card is present in the MMC slot or not
  16. */
  17. struct mmci_platform_data {
  18. unsigned int ocr_mask;
  19. unsigned int (*status)(struct device *);
  20. };
  21. #endif