]> Git Repo - J-u-boot.git/blame - drivers/mmc/ftsdc010_mci.h
driver: clk: tegra: init basic clocks on probe
[J-u-boot.git] / drivers / mmc / ftsdc010_mci.h
CommitLineData
83d290c5 1/* SPDX-License-Identifier: GPL-2.0+ */
252185f2
RC
2/*
3 * Faraday FTSDC010 Secure Digital Memory Card Host Controller
4 *
5 * Copyright (C) 2011 Andes Technology Corporation
6 * Macpaul Lin, Andes Technology Corporation <[email protected]>
252185f2
RC
7 */
8#include <mmc.h>
9
10#ifndef __FTSDC010_MCI_H
11#define __FTSDC010_MCI_H
12
13struct ftsdc010_chip {
14 void __iomem *regs;
15 uint32_t wprot; /* write protected (locked) */
16 uint32_t rate; /* actual SD clock in Hz */
17 uint32_t sclk; /* FTSDC010 source clock in Hz */
18 uint32_t fifo; /* fifo depth in bytes */
19 uint32_t acmd;
20 struct mmc_config cfg; /* mmc configuration */
21 const char *name;
22 void *ioaddr;
23 unsigned int caps;
24 unsigned int version;
25 unsigned int clock;
26 unsigned int bus_hz;
27 unsigned int div;
28 int dev_index;
29 int dev_id;
30 int buswidth;
252185f2
RC
31 struct mmc *mmc;
32 void *priv;
33 bool fifo_mode;
34};
35
252185f2 36#endif /* __FTSDC010_MCI_H */
This page took 0.199634 seconds and 4 git commands to generate.