2010-07-21 14:13:21 +04:00
|
|
|
/*
|
|
|
|
* SH-Mobile High-Definition Multimedia Interface (HDMI)
|
|
|
|
*
|
|
|
|
* Copyright (C) 2010, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SH_MOBILE_HDMI_H
|
|
|
|
#define SH_MOBILE_HDMI_H
|
|
|
|
|
|
|
|
struct sh_mobile_lcdc_chan_cfg;
|
|
|
|
struct device;
|
|
|
|
|
2010-08-31 09:46:41 +04:00
|
|
|
/*
|
|
|
|
* flags format
|
|
|
|
*
|
|
|
|
* 0x0000000A
|
|
|
|
*
|
|
|
|
* A: Audio source select
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Audio source select */
|
2010-09-09 06:48:01 +04:00
|
|
|
#define HDMI_SND_SRC_MASK (0xF << 0)
|
|
|
|
#define HDMI_SND_SRC_I2S (0 << 0) /* default */
|
|
|
|
#define HDMI_SND_SRC_SPDIF (1 << 0)
|
|
|
|
#define HDMI_SND_SRC_DSD (2 << 0)
|
|
|
|
#define HDMI_SND_SRC_HBR (3 << 0)
|
2010-08-31 09:46:41 +04:00
|
|
|
|
2010-07-21 14:13:21 +04:00
|
|
|
struct sh_mobile_hdmi_info {
|
|
|
|
struct sh_mobile_lcdc_chan_cfg *lcd_chan;
|
|
|
|
struct device *lcd_dev;
|
2010-08-31 09:46:41 +04:00
|
|
|
unsigned int flags;
|
2010-07-21 14:13:21 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|