stm32_sai.c (a02633e9b13dcb9b1a656b08f81bc8ba2d4d2294) stm32_sai.c (6eb17d70932b5fbe25d9e7fc6d45d29d7a6cdf94)
1/*
2 * STM32 ALSA SoC Digital Audio Interface (SAI) driver.
3 *
4 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
5 * Author(s): Olivier Moysan <olivier.moysan@st.com> for STMicroelectronics.
6 *
7 * License terms: GPL V2.0.
8 *

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

25
26#include <sound/dmaengine_pcm.h>
27#include <sound/core.h>
28
29#include "stm32_sai.h"
30
31static const struct stm32_sai_conf stm32_sai_conf_f4 = {
32 .version = SAI_STM32F4,
1/*
2 * STM32 ALSA SoC Digital Audio Interface (SAI) driver.
3 *
4 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
5 * Author(s): Olivier Moysan <olivier.moysan@st.com> for STMicroelectronics.
6 *
7 * License terms: GPL V2.0.
8 *

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

25
26#include <sound/dmaengine_pcm.h>
27#include <sound/core.h>
28
29#include "stm32_sai.h"
30
31static const struct stm32_sai_conf stm32_sai_conf_f4 = {
32 .version = SAI_STM32F4,
33 .has_spdif = false,
33};
34
35static const struct stm32_sai_conf stm32_sai_conf_h7 = {
36 .version = SAI_STM32H7,
34};
35
36static const struct stm32_sai_conf stm32_sai_conf_h7 = {
37 .version = SAI_STM32H7,
38 .has_spdif = true,
37};
38
39static const struct of_device_id stm32_sai_ids[] = {
40 { .compatible = "st,stm32f4-sai", .data = (void *)&stm32_sai_conf_f4 },
41 { .compatible = "st,stm32h7-sai", .data = (void *)&stm32_sai_conf_h7 },
42 {}
43};
44

--- 160 unchanged lines hidden ---
39};
40
41static const struct of_device_id stm32_sai_ids[] = {
42 { .compatible = "st,stm32f4-sai", .data = (void *)&stm32_sai_conf_f4 },
43 { .compatible = "st,stm32h7-sai", .data = (void *)&stm32_sai_conf_h7 },
44 {}
45};
46

--- 160 unchanged lines hidden ---