/*1* SH-Mobile High-Definition Multimedia Interface (HDMI)2*3* Copyright (C) 2010, Guennadi Liakhovetski <[email protected]>4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License version 2 as7* published by the Free Software Foundation.8*/910#ifndef SH_MOBILE_HDMI_H11#define SH_MOBILE_HDMI_H1213struct sh_mobile_lcdc_chan_cfg;14struct device;15struct clk;1617/*18* flags format19*20* 0x0000000A21*22* A: Audio source select23*/2425/* Audio source select */26#define HDMI_SND_SRC_MASK (0xF << 0)27#define HDMI_SND_SRC_I2S (0 << 0) /* default */28#define HDMI_SND_SRC_SPDIF (1 << 0)29#define HDMI_SND_SRC_DSD (2 << 0)30#define HDMI_SND_SRC_HBR (3 << 0)3132struct sh_mobile_hdmi_info {33struct sh_mobile_lcdc_chan_cfg *lcd_chan;34struct device *lcd_dev;35unsigned int flags;36long (*clk_optimize_parent)(unsigned long target, unsigned long *best_freq,37unsigned long *parent_freq);38};3940#endif414243