/*
 * Copyright (C) 2010 Francisco Jerez.
 * All Rights Reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 *
 * The above copyright notice and this permission notice (including the
 * next paragraph) shall be included in all copies or substantial
 * portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 * IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 */

#ifndef __DRM_I2C_SIL164_H__
#define __DRM_I2C_SIL164_H__

/**
 * struct sil164_encoder_params
 *
 * Describes how the sil164 is connected to the GPU. It should be used
 * as the @params parameter of its @set_config method.
 *
 * See "http://www.siliconimage.com/docs/SiI-DS-0021-E-164.pdf".
 */
struct sil164_encoder_params {
	enum {
		SIL164_INPUT_EDGE_FALLING = 0,
		SIL164_INPUT_EDGE_RISING
	} input_edge;

	enum {
		SIL164_INPUT_WIDTH_12BIT = 0,
		SIL164_INPUT_WIDTH_24BIT
	} input_width;

	enum {
		SIL164_INPUT_SINGLE_EDGE = 0,
		SIL164_INPUT_DUAL_EDGE
	} input_dual;

	enum {
		SIL164_PLL_FILTER_ON = 0,
		SIL164_PLL_FILTER_OFF,
	} pll_filter;

	int input_skew; /** < Allowed range [-4, 3], use 0 for no de-skew. */
	int duallink_skew; /** < Allowed range [-4, 3]. */
};

#endif
m8960.h?id=2d47b8aac7ba697ffe05f839a3b4c3c628b4e430'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/dt-bindings/clock/qcom,lcc-msm8960.h?id=2d47b8aac7ba697ffe05f839a3b4c3c628b4e430'>commit</a><a class='active' href='/cgit.cgi/linux/net-next.git/diff/include/dt-bindings/clock/qcom,lcc-msm8960.h?id=2d47b8aac7ba697ffe05f839a3b4c3c628b4e430&amp;id2=26a346f23c5291d1d9521e72763103daf2c6f0d1'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/clock/qcom,lcc-msm8960.h'>
<input type='hidden' name='id' value='2d47b8aac7ba697ffe05f839a3b4c3c628b4e430'/><input type='hidden' name='id2' value='26a346f23c5291d1d9521e72763103daf2c6f0d1'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/diff/?id=2d47b8aac7ba697ffe05f839a3b4c3c628b4e430&amp;id2=26a346f23c5291d1d9521e72763103daf2c6f0d1'>root</a>/<a href='/cgit.cgi/linux/net-next.git/diff/include?id=2d47b8aac7ba697ffe05f839a3b4c3c628b4e430&amp;id2=26a346f23c5291d1d9521e72763103daf2c6f0d1'>include</a>/<a href='/cgit.cgi/linux/net-next.git/diff/include/dt-bindings?id=2d47b8aac7ba697ffe05f839a3b4c3c628b4e430&amp;id2=26a346f23c5291d1d9521e72763103daf2c6f0d1'>dt-bindings</a>/<a href='/cgit.cgi/linux/net-next.git/diff/include/dt-bindings/clock?id=2d47b8aac7ba697ffe05f839a3b4c3c628b4e430&amp;id2=26a346f23c5291d1d9521e72763103daf2c6f0d1'>clock</a>/<a href='/cgit.cgi/linux/net-next.git/diff/include/dt-bindings/clock/qcom,lcc-msm8960.h?id=2d47b8aac7ba697ffe05f839a3b4c3c628b4e430&amp;id2=26a346f23c5291d1d9521e72763103daf2c6f0d1'>qcom,lcc-msm8960.h</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='2d47b8aac7ba697ffe05f839a3b4c3c628b4e430'/><input type='hidden' name='id2' value='26a346f23c5291d1d9521e72763103daf2c6f0d1'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=2d47b8aac7ba697ffe05f839a3b4c3c628b4e430&amp;id2=26a346f23c5291d1d9521e72763103daf2c6f0d1'>Diffstat</a> (limited to 'include/dt-bindings/clock/qcom,lcc-msm8960.h')</div><table summary='diffstat' class='diffstat'>