aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/dpaux.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-04-07 10:37:44 +0200
committerChristian König <christian.koenig@amd.com>2014-04-08 16:12:36 +0200
commit1ca2030563534bc0b057df9fddd30fb6257826cb (patch)
tree733c5e1f8aecb6bb231c7c07bc3428c21288a2f3 /drivers/gpu/drm/tegra/dpaux.h
parentDRM: armada: fix corruption while loading cursors (diff)
downloadlinux-dev-1ca2030563534bc0b057df9fddd30fb6257826cb.tar.xz
linux-dev-1ca2030563534bc0b057df9fddd30fb6257826cb.zip
drm/tegra: dp: Support address-only I2C-over-AUX transactions
Certain types of I2C-over-AUX transactions require that only the address is transferred. Detect this by looking at the AUX message's size and set the address-only bit appropriately. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/dpaux.h')
-rw-r--r--drivers/gpu/drm/tegra/dpaux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/dpaux.h b/drivers/gpu/drm/tegra/dpaux.h
index 4f5bf10fdff9..806e245ca787 100644
--- a/drivers/gpu/drm/tegra/dpaux.h
+++ b/drivers/gpu/drm/tegra/dpaux.h
@@ -32,6 +32,7 @@
#define DPAUX_DP_AUXCTL_CMD_I2C_RQ (2 << 12)
#define DPAUX_DP_AUXCTL_CMD_I2C_RD (1 << 12)
#define DPAUX_DP_AUXCTL_CMD_I2C_WR (0 << 12)
+#define DPAUX_DP_AUXCTL_CMD_ADDRESS_ONLY (1 << 8)
#define DPAUX_DP_AUXCTL_CMDLEN(x) ((x) & 0xff)
#define DPAUX_DP_AUXSTAT 0x31