mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
fbdev: sh-mobile: Add HDMI sound type selection
Signed-off-by: Kuninori Morimoto <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
c88e7b93a8
commit
6d86577124
2 changed files with 36 additions and 1 deletions
|
|
@ -14,9 +14,25 @@
|
|||
struct sh_mobile_lcdc_chan_cfg;
|
||||
struct device;
|
||||
|
||||
/*
|
||||
* flags format
|
||||
*
|
||||
* 0x0000000A
|
||||
*
|
||||
* A: Audio source select
|
||||
*/
|
||||
|
||||
/* Audio source select */
|
||||
#define HDMI_SRC_MASK (0xF << 0)
|
||||
#define HDMI_SRC_I2S (0 << 0) /* default */
|
||||
#define HDMI_SRC_SPDIF (1 << 0)
|
||||
#define HDMI_SRC_DSD (2 << 0)
|
||||
#define HDMI_SRC_HBR (3 << 0)
|
||||
|
||||
struct sh_mobile_hdmi_info {
|
||||
struct sh_mobile_lcdc_chan_cfg *lcd_chan;
|
||||
struct device *lcd_dev;
|
||||
unsigned int flags;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue