drm/dp: Add dp_aux_i2c_speed_khz module param to set the assume i2c bus speed
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 Aug 2015 19:55:07 +0000 (22:55 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 2 Sep 2015 13:13:43 +0000 (16:13 +0300)
commitf36203be608a38a5b5523a7aa52cc72f757b9679
treea0cc8fdf761f93bcdb61d15ae4d2928457019510
parent4efa83c8c786ab7ec7982e3dd348cb7e7ecbeb04
drm/dp: Add dp_aux_i2c_speed_khz module param to set the assume i2c bus speed

To help with debugging i2c-over-aux issues, add a module parameter than
can be used to tweak the assumed i2c bus speed, and thus the maximum
number of retries we will do for each aux message.

Cc: Simon Farnsworth <simon.farnsworth@onelan.com>
Cc: moosotc@gmail.com
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Simon Farnsworth <simon.farnsworth@onelan.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/drm_dp_helper.c