xref: /openbmc/linux/include/sound/spear_spdif.h (revision ace36d85)
1ace36d85SVipin Kumar /*
2ace36d85SVipin Kumar  * Copyright (ST) 2012 Vipin Kumar (vipin.kumar@st.com)
3ace36d85SVipin Kumar  *
4ace36d85SVipin Kumar  * This program is free software; you can redistribute it and/or modify
5ace36d85SVipin Kumar  * it under the terms of the GNU General Public License as published by
6ace36d85SVipin Kumar  * the Free Software Foundation; either version 2 of the License, or
7ace36d85SVipin Kumar  * (at your option) any later version.
8ace36d85SVipin Kumar  *
9ace36d85SVipin Kumar  * This program is distributed in the hope that it will be useful,
10ace36d85SVipin Kumar  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11ace36d85SVipin Kumar  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12ace36d85SVipin Kumar  * GNU General Public License for more details.
13ace36d85SVipin Kumar  *
14ace36d85SVipin Kumar  * You should have received a copy of the GNU General Public License
15ace36d85SVipin Kumar  * along with this program; if not, write to the Free Software
16ace36d85SVipin Kumar  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17ace36d85SVipin Kumar  */
18ace36d85SVipin Kumar 
19ace36d85SVipin Kumar #ifndef __SOUND_SPDIF_H
20ace36d85SVipin Kumar #define __SOUND_SPDIF_H
21ace36d85SVipin Kumar 
22ace36d85SVipin Kumar struct spear_spdif_platform_data {
23ace36d85SVipin Kumar 	/* DMA params */
24ace36d85SVipin Kumar 	void *dma_params;
25ace36d85SVipin Kumar 	bool (*filter)(struct dma_chan *chan, void *slave);
26ace36d85SVipin Kumar 	void (*reset_perip)(void);
27ace36d85SVipin Kumar };
28ace36d85SVipin Kumar 
29ace36d85SVipin Kumar #endif /* SOUND_SPDIF_H */
30