linux/sound/soc/codecs/ics43432.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * I2S MEMS microphone driver for InvenSense ICS-43432 and similar
 * MEMS-based microphones.
 *
 * - Non configurable.
 * - I2S interface, 64 BCLs per frame, 32 bits per channel, 24 bit data
 *
 * Copyright (c) 2015 Axis Communications AB
 */

#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/initval.h>
#include <sound/tlv.h>

#define ICS43432_RATE_MIN
#define ICS43432_RATE_MAX

#define ICS43432_FORMATS

static struct snd_soc_dai_driver ics43432_dai =;

static const struct snd_soc_component_driver ics43432_component_driver =;

static int ics43432_probe(struct platform_device *pdev)
{}

#ifdef CONFIG_OF
static const struct of_device_id ics43432_ids[] =;
MODULE_DEVICE_TABLE(of, ics43432_ids);
#endif

static struct platform_driver ics43432_driver =;

module_platform_driver();

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