drm/i915/dsi: clean up vlv gpio table and definitions
authorJani Nikula <jani.nikula@intel.com>
Tue, 5 Apr 2016 19:30:49 +0000 (22:30 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 7 Apr 2016 13:35:07 +0000 (16:35 +0300)
commitb0c91cd0a6c3e88e7cbf7c9f107384c027c0c1da
tree612c8cab6537d46e40c3468a9a3d6ae358cc206b
parent2d1fe0734087f0d3adb77e2489843126e313387c
drm/i915/dsi: clean up vlv gpio table and definitions

Define and store the pad base offset in the array, and reference the
pconf0 and padval registers through macros. Add VLV prefixes to
macros. Use spec nomenclature for pconf0 and padval.

v2: Address Ville's review comments, squash another patch here.

v3: Use the names Ville dug up in the specs.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/34932140b78a3de7f825c78380a08c930694651b.1459884518.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dsi_panel_vbt.c