diff options
author | Jyri Sarha <jsarha@ti.com> | 2014-05-23 16:13:57 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-11-26 10:41:08 +0200 |
commit | 58652163f6cad5180aaa1e82612c1f87cd2e22b8 (patch) | |
tree | ce5984ab1d1512e52fad0696bba54c197429061c /drivers/video/fbdev/omap2/dss/hdmi.h | |
parent | a42808c7470a4e45f640138dad8effa272de27c1 (diff) | |
download | linux-58652163f6cad5180aaa1e82612c1f87cd2e22b8.tar.gz linux-58652163f6cad5180aaa1e82612c1f87cd2e22b8.tar.bz2 linux-58652163f6cad5180aaa1e82612c1f87cd2e22b8.zip |
OMAPDSS: hdmi_wp: Add function for getting audio dma address
The audio dma port is found in the hdmi_wp physical address space.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/omap2/dss/hdmi.h')
-rw-r--r-- | drivers/video/fbdev/omap2/dss/hdmi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/omap2/dss/hdmi.h b/drivers/video/fbdev/omap2/dss/hdmi.h index aa2edd880ff3..5e0df84a736a 100644 --- a/drivers/video/fbdev/omap2/dss/hdmi.h +++ b/drivers/video/fbdev/omap2/dss/hdmi.h @@ -232,6 +232,7 @@ struct hdmi_core_audio_config { struct hdmi_wp_data { void __iomem *base; + phys_addr_t phys_base; }; struct hdmi_pll_data { @@ -301,6 +302,7 @@ void hdmi_wp_video_config_timing(struct hdmi_wp_data *wp, void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt, struct omap_video_timings *timings, struct hdmi_config *param); int hdmi_wp_init(struct platform_device *pdev, struct hdmi_wp_data *wp); +phys_addr_t hdmi_wp_get_audio_dma_addr(struct hdmi_wp_data *wp); /* HDMI PLL funcs */ void hdmi_pll_dump(struct hdmi_pll_data *pll, struct seq_file *s); |