]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/video/sh_mobile_hdmi.h
2 * SH-Mobile High-Definition Multimedia Interface (HDMI)
4 * Copyright (C) 2010, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
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.
11 #ifndef SH_MOBILE_HDMI_H
12 #define SH_MOBILE_HDMI_H
14 struct sh_mobile_lcdc_chan_cfg
;
23 * A: Audio source select
26 /* Audio source select */
27 #define HDMI_SND_SRC_MASK (0xF << 0)
28 #define HDMI_SND_SRC_I2S (0 << 0) /* default */
29 #define HDMI_SND_SRC_SPDIF (1 << 0)
30 #define HDMI_SND_SRC_DSD (2 << 0)
31 #define HDMI_SND_SRC_HBR (3 << 0)
33 struct sh_mobile_hdmi_info
{
34 struct sh_mobile_lcdc_chan_cfg
*lcd_chan
;
35 struct device
*lcd_dev
;
37 long (*clk_optimize_parent
)(unsigned long target
, unsigned long *best_freq
,
38 unsigned long *parent_freq
);