linux/sound/soc/intel/atom/sst/sst_acpi.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * sst_acpi.c - SST (LPE) driver init file for ACPI enumeration.
 *
 * Copyright (c) 2013, Intel Corporation.
 *
 *  Authors:	Ramesh Babu K V <[email protected]>
 *  Authors:	Omair Mohammed Abdullah <[email protected]>
 */

#include <linux/module.h>
#include <linux/fs.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/firmware.h>
#include <linux/pm_qos.h>
#include <linux/dmi.h>
#include <linux/acpi.h>
#include <asm/platform_sst_audio.h>
#include <sound/core.h>
#include <sound/intel-dsp-config.h>
#include <sound/soc.h>
#include <sound/compress_driver.h>
#include <acpi/acbuffer.h>
#include <acpi/platform/acenv.h>
#include <acpi/platform/aclinux.h>
#include <acpi/actypes.h>
#include <acpi/acpi_bus.h>
#include <sound/soc-acpi.h>
#include <sound/soc-acpi-intel-match.h>
#include "../sst-mfld-platform.h"
#include "../../common/soc-intel-quirks.h"
#include "sst.h"

/* LPE viewpoint addresses */
#define SST_BYT_IRAM_PHY_START
#define SST_BYT_IRAM_PHY_END
#define SST_BYT_DRAM_PHY_START
#define SST_BYT_DRAM_PHY_END
#define SST_BYT_IMR_VIRT_START
#define SST_BYT_IMR_VIRT_END
#define SST_BYT_SHIM_PHY_ADDR
#define SST_BYT_MBOX_PHY_ADDR
#define SST_BYT_DMA0_PHY_ADDR
#define SST_BYT_DMA1_PHY_ADDR
#define SST_BYT_SSP0_PHY_ADDR
#define SST_BYT_SSP2_PHY_ADDR

#define BYT_FW_MOD_TABLE_OFFSET
#define BYT_FW_MOD_TABLE_SIZE
#define BYT_FW_MOD_OFFSET

static const struct sst_info byt_fwparse_info =;

static const struct sst_ipc_info byt_ipc_info =;

static const struct sst_lib_dnld_info  byt_lib_dnld_info =;

static const struct sst_res_info byt_rvp_res_info =;

/* BYTCR has different BIOS from BYT */
static const struct sst_res_info bytcr_res_info =;

/* For "LPE0F28" ACPI device found on some Android factory OS models */
static const struct sst_res_info lpe8086_res_info =;

static struct sst_platform_info byt_rvp_platform_data =;

/* Cherryview (Cherrytrail and Braswell) uses same mrfld dpcm fw as Baytrail,
 * so pdata is same as Baytrail, minus the streams_lost_on_suspend quirk.
 */
static struct sst_platform_info chv_platform_data =;

static int sst_platform_get_resources(struct intel_sst_drv *ctx)
{}

static int sst_acpi_probe(struct platform_device *pdev)
{}

/**
* sst_acpi_remove - remove function
*
* @pdev:	platform device structure
*
* This function is called by OS when a device is unloaded
* This frees the interrupt etc
*/
static void sst_acpi_remove(struct platform_device *pdev)
{}

static const struct acpi_device_id sst_acpi_ids[] =;

MODULE_DEVICE_TABLE(acpi, sst_acpi_ids);

static struct platform_driver sst_acpi_driver =;

module_platform_driver();

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