]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915/icl: fix gmbus gpio pin mapping
authorMahesh Kumar <mahesh1.kumar@intel.com>
Tue, 12 Jun 2018 00:25:11 +0000 (17:25 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 12 Jun 2018 21:12:34 +0000 (14:12 -0700)
commitaf1f1b81130e82a1ee62fe48aa09e6bdab6e68f4
treeee1f6eec9d783453e173701674a5240b79e716c3
parentdccc7228b5de7658f79ad0074a57a8798462c533
drm/i915/icl: fix gmbus gpio pin mapping

ICP has GPIO pin 1/2 mapped to combo-phy ports & GPIO pins 9/10/11/12
mapped to tc ports[1-4].
This patch defines GPIOCTL registers for GPIO pins 9-12 & uses them in GPIO
pin mapping table.

Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Cc: Madhav Chauhan <madhav.chauhan@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180612002512.29783-1-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_hdmi.c
drivers/gpu/drm/i915/intel_i2c.c