diff options
author | Thierry Reding <treding@nvidia.com> | 2014-04-07 10:37:44 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2014-04-08 16:12:36 +0200 |
commit | 1ca2030563534bc0b057df9fddd30fb6257826cb (patch) | |
tree | 733c5e1f8aecb6bb231c7c07bc3428c21288a2f3 /drivers/gpu/drm/tegra/dpaux.h | |
parent | c39b06951f1dc2e384650288676c5b7dcc0ec92c (diff) |
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.h | 1 |
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 |