summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/hdmi.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-10-14 09:43:05 +0200
committerThierry Reding <treding@nvidia.com>2013-10-31 09:55:42 +0100
commit59af0595f4827e006f7f7804cc8656599a7772fe (patch)
tree8873b06616746a661b25205f492deb6d491950fa /drivers/gpu/drm/tegra/hdmi.h
parentdrm/tegra: hdmi: Rename tegra{2,3} to tegra{20,30} (diff)
downloadlinux-59af0595f4827e006f7f7804cc8656599a7772fe.tar.xz
linux-59af0595f4827e006f7f7804cc8656599a7772fe.zip
drm/tegra: hdmi: Parameterize based on compatible property
Use a structure to parameterize the code to handle differences between the HDMI hardware on various SoC generations. This removes the need to clutter the code with checks for individual compatible values. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/hdmi.h b/drivers/gpu/drm/tegra/hdmi.h
index 52ac36e08ccb..baf3cf343d71 100644
--- a/drivers/gpu/drm/tegra/hdmi.h
+++ b/drivers/gpu/drm/tegra/hdmi.h
@@ -233,7 +233,6 @@
#define DRIVE_CURRENT_LANE1(x) (((x) & 0x3f) << 8)
#define DRIVE_CURRENT_LANE2(x) (((x) & 0x3f) << 16)
#define DRIVE_CURRENT_LANE3(x) (((x) & 0x3f) << 24)
-#define DRIVE_CURRENT_FUSE_OVERRIDE (1 << 31)
#define DRIVE_CURRENT_1_500_mA 0x00
#define DRIVE_CURRENT_1_875_mA 0x01