1214501Srpaulo/* SPDX-License-Identifier: GPL-2.0 */ 2214501Srpaulo/* 3214501Srpaulo * Board-specific data used to set up AT73c213 audio DAC driver. 4214501Srpaulo */ 5214501Srpaulo 6214501Srpaulo#ifndef __LINUX_SPI_AT73C213_H 7214501Srpaulo#define __LINUX_SPI_AT73C213_H 8252190Srpaulo 9252190Srpaulo/** 10214501Srpaulo * at73c213_board_info - how the external DAC is wired to the device. 11214501Srpaulo * 12214501Srpaulo * @ssc_id: SSC platform_driver id the DAC shall use to stream the audio. 13214501Srpaulo * @dac_clk: the external clock used to provide master clock to the DAC. 14214501Srpaulo * @shortname: a short discription for the DAC, seen by userspace tools. 15214501Srpaulo * 16214501Srpaulo * This struct contains the configuration of the hardware connection to the 17252190Srpaulo * external DAC. The DAC needs a master clock and a I2S audio stream. It also 18252190Srpaulo * provides a name which is used to identify it in userspace tools. 19252190Srpaulo */ 20252190Srpaulostruct at73c213_board_info { 21252190Srpaulo int ssc_id; 22252190Srpaulo struct clk *dac_clk; 23214501Srpaulo char shortname[32]; 24214501Srpaulo}; 25214501Srpaulo 26214501Srpaulo#endif /* __LINUX_SPI_AT73C213_H */ 27214501Srpaulo