linux/sound/soc/codecs/ak4554.c

// SPDX-License-Identifier: GPL-2.0
// ak4554.c
//
// Copyright (C) 2013 Renesas Solutions Corp.
// Kuninori Morimoto <[email protected]>

#include <linux/module.h>
#include <sound/soc.h>

/*
 * ak4554 is very simple DA/AD converter which has no setting register.
 *
 * CAUTION
 *
 * ak4554 playback format is SND_SOC_DAIFMT_RIGHT_J,
 * and,   capture  format is SND_SOC_DAIFMT_LEFT_J
 * on same bit clock, LR clock.
 * But, this driver doesn't have snd_soc_dai_ops :: set_fmt
 *
 * CPU/Codec DAI image
 *
 * CPU-DAI1 (plaback only fmt = RIGHT_J) --+-- ak4554
 *					   |
 * CPU-DAI2 (capture only fmt = LEFT_J) ---+
 */

static const struct snd_soc_dapm_widget ak4554_dapm_widgets[] =;

static const struct snd_soc_dapm_route ak4554_dapm_routes[] =;

static struct snd_soc_dai_driver ak4554_dai =;

static const struct snd_soc_component_driver soc_component_dev_ak4554 =;

static int ak4554_soc_probe(struct platform_device *pdev)
{}

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

static struct platform_driver ak4554_driver =;
module_platform_driver();

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