diff options
author | Thierry Reding <treding@nvidia.com> | 2017-12-14 15:25:37 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-12-21 16:52:37 +0300 |
commit | 72ba4cf52410c0426a299f2ac82acd38c27c8207 (patch) | |
tree | 32d0972f2d3f63040c7b4d9e63234930ba80fac8 /drivers/gpu/drm/tegra | |
parent | 013e2b722aa9b18649dbae8422ced270c793f9d4 (diff) | |
download | linux-72ba4cf52410c0426a299f2ac82acd38c27c8207.tar.xz |
drm/tegra: dpaux: Keep reset defaults for hybrid pad parameters
Keep the reset values for the common mode voltage, output driver
impedance control and output driver current control parameters. This
fixes errors seen during SCDC communication with HDMI sinks.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r-- | drivers/gpu/drm/tegra/dpaux.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/dpaux.c b/drivers/gpu/drm/tegra/dpaux.c index 312b93c0323c..d84e81ff36ad 100644 --- a/drivers/gpu/drm/tegra/dpaux.c +++ b/drivers/gpu/drm/tegra/dpaux.c @@ -322,6 +322,9 @@ static int tegra_dpaux_pad_config(struct tegra_dpaux *dpaux, unsigned function) case DPAUX_PADCTL_FUNC_I2C: value = DPAUX_HYBRID_PADCTL_I2C_SDA_INPUT_RCV | DPAUX_HYBRID_PADCTL_I2C_SCL_INPUT_RCV | + DPAUX_HYBRID_PADCTL_AUX_CMH(2) | + DPAUX_HYBRID_PADCTL_AUX_DRVZ(4) | + DPAUX_HYBRID_PADCTL_AUX_DRVI(0x18) | DPAUX_HYBRID_PADCTL_MODE_I2C; break; |