Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  *  include/linux/amba/mmci.h
0004  */
0005 #ifndef AMBA_MMCI_H
0006 #define AMBA_MMCI_H
0007 
0008 #include <linux/mmc/host.h>
0009 
0010 /**
0011  * struct mmci_platform_data - platform configuration for the MMCI
0012  * (also known as PL180) block.
0013  * @ocr_mask: available voltages on the 4 pins from the block, this
0014  * is ignored if a regulator is used, see the MMC_VDD_* masks in
0015  * mmc/host.h
0016  * @status: if no GPIO line was given to the block in this function will
0017  * be called to determine whether a card is present in the MMC slot or not
0018  */
0019 struct mmci_platform_data {
0020     unsigned int ocr_mask;
0021     unsigned int (*status)(struct device *);
0022 };
0023 
0024 #endif