Blame view
include/video/sh_mobile_hdmi.h
972 Bytes
6011bdeaa fbdev: sh-mobile:... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
/* * 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; |
c36940e67 fbdev: sh_mobile_... |
16 |
struct clk; |
6011bdeaa fbdev: sh-mobile:... |
17 |
|
6d8657712 fbdev: sh-mobile:... |
18 19 20 21 22 23 24 25 26 |
/* * flags format * * 0x0000000A * * A: Audio source select */ /* Audio source select */ |
dec6aa49a fbdev: sh_mobile_... |
27 28 29 30 31 |
#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) |
6d8657712 fbdev: sh-mobile:... |
32 |
|
6011bdeaa fbdev: sh-mobile:... |
33 34 35 |
struct sh_mobile_hdmi_info { struct sh_mobile_lcdc_chan_cfg *lcd_chan; struct device *lcd_dev; |
6d8657712 fbdev: sh-mobile:... |
36 |
unsigned int flags; |
c36940e67 fbdev: sh_mobile_... |
37 38 |
long (*clk_optimize_parent)(unsigned long target, unsigned long *best_freq, unsigned long *parent_freq); |
6011bdeaa fbdev: sh-mobile:... |
39 40 41 |
}; #endif |