drm/msm: drop qcom,chipid
authorRob Clark <robdclark@gmail.com>
Mon, 30 Jan 2017 16:02:27 +0000 (11:02 -0500)
committerRob Clark <robdclark@gmail.com>
Mon, 6 Feb 2017 16:28:42 +0000 (11:28 -0500)
commit1db7afa4914642146637f891c9d369948bb026c7
tree04e26a45c9866987c36c6b4975b8543a218e189d
parent1a4a66ddc7b290ea2fd492c9c922ee7205d44724
drm/msm: drop qcom,chipid

The original way we determined the gpu version was based on downstream
bindings from android kernel.  A cleaner way is to get the version from
the compatible string.

Note that no upstream dtb uses these bindings.  But the code still
supports falling back to the legacy bindings (with a warning), so that
we are still compatible with the gpu dt node from android device
kernels.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/display/msm/gpu.txt
drivers/gpu/drm/msm/adreno/adreno_device.c
drivers/gpu/drm/msm/msm_drv.c