drm/hisilicon: Support i2c driver algorithms for bit-shift adapters
authorTian Tao <tiantao6@hisilicon.com>
Tue, 22 Sep 2020 12:44:29 +0000 (20:44 +0800)
committerTian Tao <tiantao6@hisilicon.com>
Fri, 25 Sep 2020 00:30:05 +0000 (20:30 -0400)
commit4eb4d99dfe3018d86f4529112aa7082f43b6996a
tree65870f025a2e430e1a919d348e17cb5debc33062
parent880ee3b7615e7cc087f659cb80ce22f5db56f9a2
drm/hisilicon: Support i2c driver algorithms for bit-shift adapters

Adding driver implementation to support i2c driver algorithms for
bit-shift adapters, so hibmc will using the interface provided by
drm to read edid.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1600778670-60370-2-git-send-email-tiantao6@hisilicon.com
drivers/gpu/drm/hisilicon/hibmc/Makefile
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_i2c.c [new file with mode: 0644]