linux/drivers/mfd/cs42l43-sdw.c

// SPDX-License-Identifier: GPL-2.0
/*
 * CS42L43 SoundWire driver
 *
 * Copyright (C) 2022-2023 Cirrus Logic, Inc. and
 *                         Cirrus Logic International Semiconductor Ltd.
 */

#include <linux/array_size.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/mfd/cs42l43.h>
#include <linux/mfd/cs42l43-regs.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/pm.h>
#include <linux/regmap.h>
#include <linux/soundwire/sdw.h>
#include <linux/soundwire/sdw_registers.h>
#include <linux/soundwire/sdw_type.h>

#include "cs42l43.h"

#define CS42L43_SDW_PORT(port, chans)

static const struct regmap_config cs42l43_sdw_regmap =;

static const struct sdw_dpn_prop cs42l43_src_port_props[] =;

static const struct sdw_dpn_prop cs42l43_sink_port_props[] =;

static int cs42l43_read_prop(struct sdw_slave *sdw)
{}

static int cs42l43_sdw_update_status(struct sdw_slave *sdw, enum sdw_slave_status status)
{}

static int cs42l43_sdw_interrupt(struct sdw_slave *sdw,
				 struct sdw_slave_intr_status *status)
{}

static int cs42l43_sdw_bus_config(struct sdw_slave *sdw,
				  struct sdw_bus_params *params)
{}

static const struct sdw_slave_ops cs42l43_sdw_ops =;

static int cs42l43_sdw_probe(struct sdw_slave *sdw, const struct sdw_device_id *id)
{}

static int cs42l43_sdw_remove(struct sdw_slave *sdw)
{}

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

static struct sdw_driver cs42l43_sdw_driver =;
module_sdw_driver();

MODULE_IMPORT_NS();

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