linux/sound/soc/meson/aiu.h

/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
/*
 * Copyright (c) 2018 BayLibre, SAS.
 * Author: Jerome Brunet <[email protected]>
 */

#ifndef _MESON_AIU_H
#define _MESON_AIU_H

struct clk;
struct clk_bulk_data;
struct device;
struct of_phandle_args;
struct snd_soc_dai;
struct snd_soc_dai_ops;

enum aiu_clk_ids {};

struct aiu_interface {};

struct aiu_platform_data {};

struct aiu {};

#define AIU_FORMATS

int aiu_of_xlate_dai_name(struct snd_soc_component *component,
			  const struct of_phandle_args *args,
			  const char **dai_name,
			  unsigned int component_id);

int aiu_hdmi_ctrl_register_component(struct device *dev);
int aiu_acodec_ctrl_register_component(struct device *dev);

int aiu_fifo_i2s_dai_probe(struct snd_soc_dai *dai);
int aiu_fifo_spdif_dai_probe(struct snd_soc_dai *dai);

extern const struct snd_soc_dai_ops aiu_fifo_i2s_dai_ops;
extern const struct snd_soc_dai_ops aiu_fifo_spdif_dai_ops;
extern const struct snd_soc_dai_ops aiu_encoder_i2s_dai_ops;
extern const struct snd_soc_dai_ops aiu_encoder_spdif_dai_ops;

#define AIU_IEC958_BPF
#define AIU_958_MISC
#define AIU_IEC958_DCU_FF_CTRL
#define AIU_958_CHSTAT_L0
#define AIU_958_CHSTAT_L1
#define AIU_958_CTRL
#define AIU_I2S_SOURCE_DESC
#define AIU_I2S_DAC_CFG
#define AIU_I2S_SYNC
#define AIU_I2S_MISC
#define AIU_RST_SOFT
#define AIU_CLK_CTRL
#define AIU_CLK_CTRL_MORE
#define AIU_CODEC_DAC_LRCLK_CTRL
#define AIU_HDMI_CLK_DATA_CTRL
#define AIU_ACODEC_CTRL
#define AIU_958_CHSTAT_R0
#define AIU_958_CHSTAT_R1
#define AIU_MEM_I2S_START
#define AIU_MEM_I2S_MASKS
#define AIU_MEM_I2S_CONTROL
#define AIU_MEM_IEC958_START
#define AIU_MEM_IEC958_CONTROL
#define AIU_MEM_I2S_BUF_CNTL
#define AIU_MEM_IEC958_BUF_CNTL

#endif /* _MESON_AIU_H */