linux/sound/soc/codecs/cs42l83-i2c.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * cs42l83-i2c.c -- CS42L83 ALSA SoC audio driver for I2C
 *
 * Based on cs42l42-i2c.c:
 *   Copyright 2016, 2022 Cirrus Logic, Inc.
 */

#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#include <linux/types.h>

#include "cs42l42.h"

static const struct reg_default cs42l83_reg_defaults[] =;

/*
 * This is all the same as for CS42L42 but we
 * replace the on-reset register defaults.
 */
static const struct regmap_config cs42l83_regmap =;

static int cs42l83_i2c_probe(struct i2c_client *i2c_client)
{}

static void cs42l83_i2c_remove(struct i2c_client *i2c_client)
{}

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

static const struct dev_pm_ops cs42l83_i2c_pm_ops =;

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

static struct i2c_driver cs42l83_i2c_driver =;

module_i2c_driver();

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