From mboxrd@z Thu Jan 1 00:00:00 1970 From: Archit Taneja Date: Thu, 17 Oct 2013 11:38:39 +0000 Subject: [PATCH 3/6] omapdss: hdmi phy: Incorporate changes for OMAP5/DRA7x Message-Id: <1382009202-18984-4-git-send-email-archit@ti.com> List-Id: References: <1382009202-18984-1-git-send-email-archit@ti.com> In-Reply-To: <1382009202-18984-1-git-send-email-archit@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: tomi.valkeinen@ti.com Cc: linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org, Archit Taneja OMAP5/DRA7x HDMI PHY has some differences compared to OMAP4 HDMI PHY. Create a features struct which help the diagram configure the PHY based on what SoC it is. Signed-off-by: Archit Taneja --- drivers/video/omap2/dss/hdmi.h | 1 + drivers/video/omap2/dss/hdmi_phy.c | 94 +++++++++++++++++++++++++++++++++++++- 2 files changed, 93 insertions(+), 2 deletions(-) diff --git a/drivers/video/omap2/dss/hdmi.h b/drivers/video/omap2/dss/hdmi.h index b410b14..8fa2121 100644 --- a/drivers/video/omap2/dss/hdmi.h +++ b/drivers/video/omap2/dss/hdmi.h @@ -80,6 +80,7 @@ #define HDMI_TXPHY_DIGITAL_CTRL 0x4 #define HDMI_TXPHY_POWER_CTRL 0x8 #define HDMI_TXPHY_PAD_CFG_CTRL 0xC +#define HDMI_TXPHY_BIST_CONTROL 0x1C enum hdmi_pll_pwr { HDMI_PLLPWRCMD_ALLOFF = 0, diff --git a/drivers/video/omap2/dss/hdmi_phy.c b/drivers/video/omap2/dss/hdmi_phy.c index 45acb99..4d9debb 100644 --- a/drivers/video/omap2/dss/hdmi_phy.c +++ b/drivers/video/omap2/dss/hdmi_phy.c @@ -12,11 +12,22 @@ #include #include #include +#include #include