2017-11-01 15:07:57 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2005-04-16 15:20:36 -07:00
|
|
|
/*
|
2009-09-22 14:29:36 +01:00
|
|
|
* include/linux/amba/mmci.h
|
2005-04-16 15:20:36 -07:00
|
|
|
*/
|
2009-09-22 14:29:36 +01:00
|
|
|
#ifndef AMBA_MMCI_H
|
|
|
|
|
#define AMBA_MMCI_H
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-02-09 22:49:31 +01:00
|
|
|
#include <linux/mmc/host.h>
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2010-04-08 07:39:38 +01:00
|
|
|
/**
|
|
|
|
|
* struct mmci_platform_data - platform configuration for the MMCI
|
|
|
|
|
* (also known as PL180) block.
|
|
|
|
|
* @ocr_mask: available voltages on the 4 pins from the block, this
|
|
|
|
|
* is ignored if a regulator is used, see the MMC_VDD_* masks in
|
|
|
|
|
* mmc/host.h
|
2018-09-20 16:01:10 -07:00
|
|
|
* @status: if no GPIO line was given to the block in this function will
|
|
|
|
|
* be called to determine whether a card is present in the MMC slot or not
|
2010-04-08 07:39:38 +01:00
|
|
|
*/
|
2009-09-22 14:29:36 +01:00
|
|
|
struct mmci_platform_data {
|
2010-04-08 07:39:38 +01:00
|
|
|
unsigned int ocr_mask;
|
2005-04-16 15:20:36 -07:00
|
|
|
unsigned int (*status)(struct device *);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|