drm/komeda: Update the chip identify
authorjames qian wang (Arm Technology China) <james.qian.wang@arm.com>
Tue, 10 Dec 2019 08:48:46 +0000 (08:48 +0000)
committerjames qian wang (Arm Technology China) <james.qian.wang@arm.com>
Thu, 12 Dec 2019 06:54:18 +0000 (14:54 +0800)
commitb25bc78f8a0750125604e6b82650eb6e990cb09d
treef6e89066769ab4c90ff844bc7d677d34bf9a4d8b
parent6fd70eab49caf32a0b486b4bf098bf885bda48e8
drm/komeda: Update the chip identify

1. Drop komeda-CORE product id comparison and put it into the d71_identify
2. Update pipeline node DT-binding:
   (a). Skip the needless pipeline DT node.
   (b). Return fail if the essential pipeline DT node is missing.

With these changes, for chips in same family no need to change the DT.

v2: Rebase
v3: Address Mihail's comments.

Signed-off-by: james qian wang (Arm Technology China) <james.qian.wang@arm.com>
Reviewed-by: Mihail Atanassov <mihail.atanassov@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191210084828.19664-2-james.qian.wang@arm.com
drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c
drivers/gpu/drm/arm/display/komeda/komeda_dev.c
drivers/gpu/drm/arm/display/komeda/komeda_dev.h
drivers/gpu/drm/arm/display/komeda/komeda_drv.c