linux/drivers/mmc/host/sdhci-of-at91.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Atmel SDMMC controller driver.
 *
 * Copyright (C) 2015 Atmel,
 *		 2015 Ludovic Desroches <[email protected]>
 */

#include <linux/bitfield.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/iopoll.h>
#include <linux/kernel.h>
#include <linux/mmc/host.h>
#include <linux/mmc/slot-gpio.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
#include <linux/pm_runtime.h>

#include "sdhci-pltfm.h"

#define SDMMC_MC1R
#define SDMMC_MC1R_DDR
#define SDMMC_MC1R_FCD
#define SDMMC_CACR
#define SDMMC_CACR_CAPWREN
#define SDMMC_CACR_KEY
#define SDMMC_CALCR
#define SDMMC_CALCR_EN
#define SDMMC_CALCR_ALWYSON

#define SDHCI_AT91_PRESET_COMMON_CONF

struct sdhci_at91_soc_data {};

struct sdhci_at91_priv {};

static void sdhci_at91_set_force_card_detect(struct sdhci_host *host)
{}

static void sdhci_at91_set_clock(struct sdhci_host *host, unsigned int clock)
{}

static void sdhci_at91_set_uhs_signaling(struct sdhci_host *host,
					 unsigned int timing)
{}

static void sdhci_at91_reset(struct sdhci_host *host, u8 mask)
{}

static const struct sdhci_ops sdhci_at91_sama5d2_ops =;

static const struct sdhci_pltfm_data sdhci_sama5d2_pdata =;

static const struct sdhci_at91_soc_data soc_data_sama5d2 =;

static const struct sdhci_at91_soc_data soc_data_sam9x60 =;

static const struct of_device_id sdhci_at91_dt_match[] =;
MODULE_DEVICE_TABLE(of, sdhci_at91_dt_match);

static int sdhci_at91_set_clks_presets(struct device *dev)
{}

#ifdef CONFIG_PM_SLEEP
static int sdhci_at91_suspend(struct device *dev)
{}
#endif /* CONFIG_PM_SLEEP */

#ifdef CONFIG_PM
static int sdhci_at91_runtime_suspend(struct device *dev)
{}

static int sdhci_at91_runtime_resume(struct device *dev)
{}
#endif /* CONFIG_PM */

static const struct dev_pm_ops sdhci_at91_dev_pm_ops =;

static int sdhci_at91_probe(struct platform_device *pdev)
{}

static void sdhci_at91_remove(struct platform_device *pdev)
{}

static struct platform_driver sdhci_at91_driver =;

module_platform_driver();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();