linux/sound/soc/sof/intel/byt.c

// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
//
// This file is provided under a dual BSD/GPLv2 license.  When using or
// redistributing this file, you may do so under either license.
//
// Copyright(c) 2018 Intel Corporation
//
// Author: Liam Girdwood <[email protected]>
//

/*
 * Hardware interface for audio DSP on Baytrail, Braswell and Cherrytrail.
 */

#include <linux/module.h>
#include <sound/sof.h>
#include <sound/sof/xtensa.h>
#include <sound/soc-acpi.h>
#include <sound/soc-acpi-intel-match.h>
#include <sound/intel-dsp-config.h>
#include "../ops.h"
#include "atom.h"
#include "shim.h"
#include "../sof-acpi-dev.h"
#include "../sof-audio.h"
#include "../../intel/common/soc-intel-quirks.h"

static const struct snd_sof_debugfs_map byt_debugfs[] =;

static const struct snd_sof_debugfs_map cht_debugfs[] =;

static void byt_reset_dsp_disable_int(struct snd_sof_dev *sdev)
{}

static int byt_suspend(struct snd_sof_dev *sdev, u32 target_state)
{}

static int byt_resume(struct snd_sof_dev *sdev)
{}

static void byt_remove(struct snd_sof_dev *sdev)
{}

static int byt_acpi_probe(struct snd_sof_dev *sdev)
{}

/* baytrail ops */
static const struct snd_sof_dsp_ops sof_byt_ops =;

static const struct sof_intel_dsp_desc byt_chip_info =;

/* cherrytrail and braswell ops */
static const struct snd_sof_dsp_ops sof_cht_ops =;

static const struct sof_intel_dsp_desc cht_chip_info =;

/* BYTCR uses different IRQ index */
static const struct sof_dev_desc sof_acpi_baytrailcr_desc =;

static const struct sof_dev_desc sof_acpi_baytrail_desc =;

static const struct sof_dev_desc sof_acpi_cherrytrail_desc =;

static const struct acpi_device_id sof_baytrail_match[] =;
MODULE_DEVICE_TABLE(acpi, sof_baytrail_match);

static int sof_baytrail_probe(struct platform_device *pdev)
{}

/* acpi_driver definition */
static struct platform_driver snd_sof_acpi_intel_byt_driver =;
module_platform_driver();

MODULE_LICENSE();
MODULE_DESCRIPTION();
MODULE_IMPORT_NS();
MODULE_IMPORT_NS();
MODULE_IMPORT_NS();
MODULE_IMPORT_NS();