]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm: imx/dw_hdmi: move phy comments
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 31 Mar 2015 17:23:16 +0000 (18:23 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 18 Aug 2015 10:27:14 +0000 (11:27 +0100)
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>
drivers/gpu/drm/bridge/dw_hdmi.c
drivers/gpu/drm/imx/dw_hdmi-imx.c

index 49cafb61d29075530840a78766541ad4e9ceb478..3494391e41991d3bf9b720f2f7d85c8f0fedf0f3 100644 (file)
@@ -834,11 +834,8 @@ static int hdmi_phy_configure(struct dw_hdmi *hdmi, unsigned char prep,
                    phy_config[i].mpixelclock)
                        break;
 
-       /* RESISTANCE TERM 133Ohm Cfg */
        hdmi_phy_i2c_write(hdmi, phy_config[i].term, 0x19);  /* TXTERM */
-       /* PREEMP Cgf 0.00 */
        hdmi_phy_i2c_write(hdmi, phy_config[i].sym_ctr, 0x09); /* CKSYMTXCTRL */
-       /* TX/CK LVL 10 */
        hdmi_phy_i2c_write(hdmi, phy_config[i].vlev_ctr, 0x0E); /* VLEVCTRL */
 
        /* REMOVE CLK TERM */
index a3ecf1069b7637cd8a66574a9c61132923540d92..644edf65dbe0bdb5c6de6ab6af349a76cf130a00 100644 (file)
@@ -75,6 +75,11 @@ static const struct dw_hdmi_curr_ctrl imx_cur_ctr[] = {
        },
 };
 
+/*
+ * Resistance term 133Ohm Cfg
+ * PREEMP config 0.00
+ * TX/CK level 10
+ */
 static const struct dw_hdmi_phy_config imx_phy_config[] = {
        /*pixelclk   symbol   term   vlev */
        { 148500000, 0x800d, 0x0005, 0x01ad},