linux/sound/soc/codecs/rt712-sdca-sdw.c

// SPDX-License-Identifier: GPL-2.0-only
//
// rt712-sdca-sdw.c -- rt712 SDCA ALSA SoC audio driver
//
// Copyright(c) 2023 Realtek Semiconductor Corp.
//
//

#include <linux/delay.h>
#include <linux/device.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/pm_runtime.h>
#include <linux/soundwire/sdw_registers.h>
#include "rt712-sdca.h"
#include "rt712-sdca-sdw.h"

static bool rt712_sdca_readable_register(struct device *dev, unsigned int reg)
{}

static bool rt712_sdca_volatile_register(struct device *dev, unsigned int reg)
{}

static bool rt712_sdca_mbq_readable_register(struct device *dev, unsigned int reg)
{}

static bool rt712_sdca_mbq_volatile_register(struct device *dev, unsigned int reg)
{}

static const struct regmap_config rt712_sdca_regmap =;

static const struct regmap_config rt712_sdca_mbq_regmap =;

static int rt712_sdca_update_status(struct sdw_slave *slave,
				enum sdw_slave_status status)
{}

static int rt712_sdca_read_prop(struct sdw_slave *slave)
{}

static int rt712_sdca_interrupt_callback(struct sdw_slave *slave,
					struct sdw_slave_intr_status *status)
{}

static const struct sdw_slave_ops rt712_sdca_slave_ops =;

static int rt712_sdca_sdw_probe(struct sdw_slave *slave,
				const struct sdw_device_id *id)
{}

static int rt712_sdca_sdw_remove(struct sdw_slave *slave)
{}

static const struct sdw_device_id rt712_sdca_id[] =;
MODULE_DEVICE_TABLE(sdw, rt712_sdca_id);

static int __maybe_unused rt712_sdca_dev_suspend(struct device *dev)
{}

static int __maybe_unused rt712_sdca_dev_system_suspend(struct device *dev)
{}

#define RT712_PROBE_TIMEOUT

static int __maybe_unused rt712_sdca_dev_resume(struct device *dev)
{}

static const struct dev_pm_ops rt712_sdca_pm =;

static struct sdw_driver rt712_sdca_sdw_driver =;
module_sdw_driver();

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