linux/sound/soc/codecs/aw87390.c

// SPDX-License-Identifier: GPL-2.0-only
//
// aw87390.c  --  AW87390 ALSA SoC Audio driver
//
// Copyright (c) 2023 awinic Technology CO., LTD
//
// Author: Weidong Wang <[email protected]>
//

#include <linux/i2c.h>
#include <linux/firmware.h>
#include <linux/regmap.h>
#include <sound/soc.h>
#include "aw87390.h"
#include "aw88395/aw88395_data_type.h"
#include "aw88395/aw88395_device.h"

static const struct regmap_config aw87390_remap_config =;

static int aw87390_dev_reg_update(struct aw_device *aw_dev,
					unsigned char *data, unsigned int len)
{}

static int aw87390_dev_get_prof_name(struct aw_device *aw_dev, int index, char **prof_name)
{}

static int aw87390_dev_get_prof_data(struct aw_device *aw_dev, int index,
			struct aw_prof_desc **prof_desc)
{}

static int aw87390_dev_fw_update(struct aw_device *aw_dev)
{}

static int aw87390_power_off(struct aw_device *aw_dev)
{}

static int aw87390_power_on(struct aw_device *aw_dev)
{}

static int aw87390_dev_set_profile_index(struct aw_device *aw_dev, int index)
{}

static int aw87390_profile_info(struct snd_kcontrol *kcontrol,
			 struct snd_ctl_elem_info *uinfo)
{}

static int aw87390_profile_get(struct snd_kcontrol *kcontrol,
			struct snd_ctl_elem_value *ucontrol)
{}

static int aw87390_profile_set(struct snd_kcontrol *kcontrol,
		struct snd_ctl_elem_value *ucontrol)
{}

static const struct snd_kcontrol_new aw87390_controls[] =;

static int aw87390_request_firmware_file(struct aw87390 *aw87390)
{}

static int aw87390_drv_event(struct snd_soc_dapm_widget *w,
				struct snd_kcontrol *kcontrol, int event)
{}

static const struct snd_soc_dapm_widget aw87390_dapm_widgets[] =;

static const struct snd_soc_dapm_route aw87390_dapm_routes[] =;

static int aw87390_codec_probe(struct snd_soc_component *component)
{}

static const struct snd_soc_component_driver soc_codec_dev_aw87390 =;

static void aw87390_parse_channel_dt(struct aw87390 *aw87390)
{}

static int aw87390_init(struct aw87390 **aw87390, struct i2c_client *i2c, struct regmap *regmap)
{}

static int aw87390_i2c_probe(struct i2c_client *i2c)
{}

static const struct i2c_device_id aw87390_i2c_id[] =;
MODULE_DEVICE_TABLE(i2c, aw87390_i2c_id);

static struct i2c_driver aw87390_i2c_driver =;
module_i2c_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();