at73c213.h 789 B

12345678910111213141516171819202122232425
  1. /*
  2. * Board-specific data used to set up AT73c213 audio DAC driver.
  3. */
  4. #ifndef __LINUX_SPI_AT73C213_H
  5. #define __LINUX_SPI_AT73C213_H
  6. /**
  7. * at73c213_board_info - how the external DAC is wired to the device.
  8. *
  9. * @ssc_id: SSC platform_driver id the DAC shall use to stream the audio.
  10. * @dac_clk: the external clock used to provide master clock to the DAC.
  11. * @shortname: a short discription for the DAC, seen by userspace tools.
  12. *
  13. * This struct contains the configuration of the hardware connection to the
  14. * external DAC. The DAC needs a master clock and a I2S audio stream. It also
  15. * provides a name which is used to identify it in userspace tools.
  16. */
  17. struct at73c213_board_info {
  18. int ssc_id;
  19. struct clk *dac_clk;
  20. char shortname[32];
  21. };
  22. #endif /* __LINUX_SPI_AT73C213_H */