aiu.h (8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17) aiu.h (98ac85a00f31d2e9d5452b825a9ed0153d934043)
1/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2/*
3 * Copyright (c) 2018 BayLibre, SAS.
4 * Author: Jerome Brunet <jbrunet@baylibre.com>
5 */
6
7#ifndef _MESON_AIU_H
8#define _MESON_AIU_H

--- 19 unchanged lines hidden (view full) ---

28};
29
30struct aiu_platform_data {
31 bool has_acodec;
32 bool has_clk_ctrl_more_i2s_div;
33};
34
35struct aiu {
1/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2/*
3 * Copyright (c) 2018 BayLibre, SAS.
4 * Author: Jerome Brunet <jbrunet@baylibre.com>
5 */
6
7#ifndef _MESON_AIU_H
8#define _MESON_AIU_H

--- 19 unchanged lines hidden (view full) ---

28};
29
30struct aiu_platform_data {
31 bool has_acodec;
32 bool has_clk_ctrl_more_i2s_div;
33};
34
35struct aiu {
36 struct clk *pclk;
37 struct clk *spdif_mclk;
38 struct aiu_interface i2s;
39 struct aiu_interface spdif;
40 const struct aiu_platform_data *platform;
41};
42
43#define AIU_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
44 SNDRV_PCM_FMTBIT_S20_LE | \

--- 45 unchanged lines hidden ---
36 struct clk *spdif_mclk;
37 struct aiu_interface i2s;
38 struct aiu_interface spdif;
39 const struct aiu_platform_data *platform;
40};
41
42#define AIU_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
43 SNDRV_PCM_FMTBIT_S20_LE | \

--- 45 unchanged lines hidden ---