summaryrefslogtreecommitdiff
path: root/include/dm/platform_data
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel@ziswiler.com>2019-05-20 02:44:59 +0200
committerTom Rini <trini@konsulko.com>2020-06-30 11:13:11 -0400
commit290e6bb9585e4bf8c7a20c54ffd707f26ee76329 (patch)
tree59f05dd2211287a9f1d2a7043c0e346b9de130e5 /include/dm/platform_data
parent9b515a81be7a09307f1af5be40f6bdf8bc4283fd (diff)
arm: pxa: mmc: add driver model support
Add driver model (DM) support. Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Diffstat (limited to 'include/dm/platform_data')
-rw-r--r--include/dm/platform_data/pxa_mmc_gen.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/dm/platform_data/pxa_mmc_gen.h b/include/dm/platform_data/pxa_mmc_gen.h
new file mode 100644
index 0000000000..9875bab2cf
--- /dev/null
+++ b/include/dm/platform_data/pxa_mmc_gen.h
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (c) 2019 Marcel Ziswiler <marcel.ziswiler@toradex.com>
+ */
+
+#ifndef __PXA_MMC_GEN_H
+#define __PXA_MMC_GEN_H
+
+#include <mmc.h>
+
+/*
+ * struct pxa_mmc_platdata - information about a PXA MMC controller
+ *
+ * @base: MMC controller base register address
+ */
+struct pxa_mmc_plat {
+ struct mmc_config cfg;
+ struct mmc mmc;
+ struct pxa_mmc_regs *base;
+};
+
+#endif /* __PXA_MMC_GEN_H */