sh_mobile_hdmi.h 846 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * SH-Mobile High-Definition Multimedia Interface (HDMI)
  3. *
  4. * Copyright (C) 2010, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef SH_MOBILE_HDMI_H
  11. #define SH_MOBILE_HDMI_H
  12. struct sh_mobile_lcdc_chan_cfg;
  13. struct device;
  14. /*
  15. * flags format
  16. *
  17. * 0x0000000A
  18. *
  19. * A: Audio source select
  20. */
  21. /* Audio source select */
  22. #define HDMI_SND_SRC_MASK (0xF << 0)
  23. #define HDMI_SND_SRC_I2S (0 << 0) /* default */
  24. #define HDMI_SND_SRC_SPDIF (1 << 0)
  25. #define HDMI_SND_SRC_DSD (2 << 0)
  26. #define HDMI_SND_SRC_HBR (3 << 0)
  27. struct sh_mobile_hdmi_info {
  28. struct sh_mobile_lcdc_chan_cfg *lcd_chan;
  29. struct device *lcd_dev;
  30. unsigned int flags;
  31. };
  32. #endif