aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-03-31 13:23:16 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-08-18 06:27:14 -0400
commit36b8ae0d608696cb8b48639813ec22be99c4a8e6 (patch)
tree2e748e6b1fcd4ec9672b4dffc831e9117e75d041
parent627563d1696b8978b550ed192acc1bc8fc461da5 (diff)
drm: imx/dw_hdmi: move phy comments
The phy comments in dw_hdmi.c applied to the iMX6 version. Move these comments to the iMX6 dw_hdmi-imx data along side the data. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--drivers/gpu/drm/bridge/dw_hdmi.c3
-rw-r--r--drivers/gpu/drm/imx/dw_hdmi-imx.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/drm/bridge/dw_hdmi.c b/drivers/gpu/drm/bridge/dw_hdmi.c
index 49cafb61d290..3494391e4199 100644
--- a/drivers/gpu/drm/bridge/dw_hdmi.c
+++ b/drivers/gpu/drm/bridge/dw_hdmi.c
@@ -834,11 +834,8 @@ static int hdmi_phy_configure(struct dw_hdmi *hdmi, unsigned char prep,
834 phy_config[i].mpixelclock) 834 phy_config[i].mpixelclock)
835 break; 835 break;
836 836
837 /* RESISTANCE TERM 133Ohm Cfg */
838 hdmi_phy_i2c_write(hdmi, phy_config[i].term, 0x19); /* TXTERM */ 837 hdmi_phy_i2c_write(hdmi, phy_config[i].term, 0x19); /* TXTERM */
839 /* PREEMP Cgf 0.00 */
840 hdmi_phy_i2c_write(hdmi, phy_config[i].sym_ctr, 0x09); /* CKSYMTXCTRL */ 838 hdmi_phy_i2c_write(hdmi, phy_config[i].sym_ctr, 0x09); /* CKSYMTXCTRL */
841 /* TX/CK LVL 10 */
842 hdmi_phy_i2c_write(hdmi, phy_config[i].vlev_ctr, 0x0E); /* VLEVCTRL */ 839 hdmi_phy_i2c_write(hdmi, phy_config[i].vlev_ctr, 0x0E); /* VLEVCTRL */
843 840
844 /* REMOVE CLK TERM */ 841 /* REMOVE CLK TERM */
diff --git a/drivers/gpu/drm/imx/dw_hdmi-imx.c b/drivers/gpu/drm/imx/dw_hdmi-imx.c
index a3ecf1069b76..644edf65dbe0 100644
--- a/drivers/gpu/drm/imx/dw_hdmi-imx.c
+++ b/drivers/gpu/drm/imx/dw_hdmi-imx.c
@@ -75,6 +75,11 @@ static const struct dw_hdmi_curr_ctrl imx_cur_ctr[] = {
75 }, 75 },
76}; 76};
77 77
78/*
79 * Resistance term 133Ohm Cfg
80 * PREEMP config 0.00
81 * TX/CK level 10
82 */
78static const struct dw_hdmi_phy_config imx_phy_config[] = { 83static const struct dw_hdmi_phy_config imx_phy_config[] = {
79 /*pixelclk symbol term vlev */ 84 /*pixelclk symbol term vlev */
80 { 148500000, 0x800d, 0x0005, 0x01ad}, 85 { 148500000, 0x800d, 0x0005, 0x01ad},