Merge tag 'stable/for-linus-3.4-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / include / video / sh_mobile_hdmi.h
CommitLineData
6011bdea
GL
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
11#ifndef SH_MOBILE_HDMI_H
12#define SH_MOBILE_HDMI_H
13
14struct sh_mobile_lcdc_chan_cfg;
15struct device;
c36940e6 16struct clk;
6011bdea 17
6d865771
KM
18/*
19 * flags format
20 *
21 * 0x0000000A
22 *
23 * A: Audio source select
24 */
25
26/* Audio source select */
dec6aa49
KM
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)
6d865771 32
6011bdea 33struct sh_mobile_hdmi_info {
6d865771 34 unsigned int flags;
c36940e6
GL
35 long (*clk_optimize_parent)(unsigned long target, unsigned long *best_freq,
36 unsigned long *parent_freq);
6011bdea
GL
37};
38
39#endif
This page took 0.089982 seconds and 5 git commands to generate.