Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Board-specific data used to set up AT73c213 audio DAC driver.
0004  */
0005 
0006 #ifndef __LINUX_SPI_AT73C213_H
0007 #define __LINUX_SPI_AT73C213_H
0008 
0009 /**
0010  * at73c213_board_info - how the external DAC is wired to the device.
0011  *
0012  * @ssc_id: SSC platform_driver id the DAC shall use to stream the audio.
0013  * @dac_clk: the external clock used to provide master clock to the DAC.
0014  * @shortname: a short discription for the DAC, seen by userspace tools.
0015  *
0016  * This struct contains the configuration of the hardware connection to the
0017  * external DAC. The DAC needs a master clock and a I2S audio stream. It also
0018  * provides a name which is used to identify it in userspace tools.
0019  */
0020 struct at73c213_board_info {
0021     int     ssc_id;
0022     struct clk  *dac_clk;
0023     char        shortname[32];
0024 };
0025 
0026 #endif /* __LINUX_SPI_AT73C213_H */