diff options
author | Thierry Reding <treding@nvidia.com> | 2014-04-16 10:47:36 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-06-05 23:09:25 +0200 |
commit | 9cbfc73e1141460243c5b169a36fa41b1582bbbd (patch) | |
tree | dc289615fb7ce667094d203bde15b1c0196a8ed4 /drivers/gpu/drm/tegra/hdmi.h | |
parent | 8c8282c04d6aef91db1729cd5a2ab314598d23ed (diff) | |
download | talos-obmc-linux-9cbfc73e1141460243c5b169a36fa41b1582bbbd.tar.gz talos-obmc-linux-9cbfc73e1141460243c5b169a36fa41b1582bbbd.zip |
drm/tegra: hdmi - Disable LVDS mode
Disable LVDS mode according to register documentation. It seems like
this has no effect on the operation of HDMI, but it's probably a good
idea to do this anyway.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/hdmi.h')
-rw-r--r-- | drivers/gpu/drm/tegra/hdmi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/hdmi.h b/drivers/gpu/drm/tegra/hdmi.h index 0aebc485f7fa..919a19df4e1b 100644 --- a/drivers/gpu/drm/tegra/hdmi.h +++ b/drivers/gpu/drm/tegra/hdmi.h @@ -190,6 +190,11 @@ #define HDMI_NV_PDISP_SOR_CSTM 0x5a #define SOR_CSTM_ROTCLK(x) (((x) & 0xf) << 24) +#define SOR_CSTM_PLLDIV (1 << 21) +#define SOR_CSTM_LVDS_ENABLE (1 << 16) +#define SOR_CSTM_MODE_LVDS (0 << 12) +#define SOR_CSTM_MODE_TMDS (1 << 12) +#define SOR_CSTM_MODE_MASK (3 << 12) #define HDMI_NV_PDISP_SOR_LVDS 0x5b #define HDMI_NV_PDISP_SOR_CRCA 0x5c |