linux/drivers/ata/ahci_mtk.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * MediaTek AHCI SATA driver
 *
 * Copyright (c) 2017 MediaTek Inc.
 * Author: Ryder Lee <[email protected]>
 */

#include <linux/ahci_platform.h>
#include <linux/kernel.h>
#include <linux/libata.h>
#include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
#include <linux/regmap.h>
#include <linux/reset.h>
#include "ahci.h"

#define DRV_NAME

#define SYS_CFG
#define SYS_CFG_SATA_MSK
#define SYS_CFG_SATA_EN

struct mtk_ahci_plat {};

static const struct ata_port_info ahci_port_info =;

static const struct scsi_host_template ahci_platform_sht =;

static int mtk_ahci_platform_resets(struct ahci_host_priv *hpriv,
				    struct device *dev)
{}

static int mtk_ahci_parse_property(struct ahci_host_priv *hpriv,
				   struct device *dev)
{}

static int mtk_ahci_probe(struct platform_device *pdev)
{}

static SIMPLE_DEV_PM_OPS(ahci_pm_ops, ahci_platform_suspend,
			 ahci_platform_resume);

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

static struct platform_driver mtk_ahci_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();