drm: mali-dp: Check hw version matches device-tree
authorMihail Atanassov <mihail.atanassov@arm.com>
Mon, 23 Jan 2017 13:46:41 +0000 (13:46 +0000)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 26 Jan 2017 15:46:02 +0000 (15:46 +0000)
commit592d8c8ccef6c8bdbe6d03fd01fd5baea921dc83
tree600ca167038a30a6053c1c0f4f07b464ee525259
parent6211b4868ea615227d61859d65e22bd2942f32a0
drm: mali-dp: Check hw version matches device-tree

Refuse to bind if the device-tree compatible string
lists a different hardware version.

Reviewed-by: Brian Starkey <brian.starkey@arm.com>
Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/malidp_drv.c
drivers/gpu/drm/arm/malidp_regs.h