unify {de,}mangle_poll(), get rid of kernel-side POLL...
[cris-mirror.git] / include / linux / spi / at73c213.h
blobcbca6654aa3138cd5be03d175d5bde8e44916c80
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Board-specific data used to set up AT73c213 audio DAC driver.
4 */
6 #ifndef __LINUX_SPI_AT73C213_H
7 #define __LINUX_SPI_AT73C213_H
9 /**
10 * at73c213_board_info - how the external DAC is wired to the device.
12 * @ssc_id: SSC platform_driver id the DAC shall use to stream the audio.
13 * @dac_clk: the external clock used to provide master clock to the DAC.
14 * @shortname: a short discription for the DAC, seen by userspace tools.
16 * This struct contains the configuration of the hardware connection to the
17 * external DAC. The DAC needs a master clock and a I2S audio stream. It also
18 * provides a name which is used to identify it in userspace tools.
20 struct at73c213_board_info {
21 int ssc_id;
22 struct clk *dac_clk;
23 char shortname[32];
26 #endif /* __LINUX_SPI_AT73C213_H */