OSDN Git Service

drm/lima: Add support for multiple reset lines
authorPeter Griffin <peter.griffin@linaro.org>
Tue, 1 Oct 2019 18:29:27 +0000 (18:29 +0000)
committerQiang Yu <yuq825@gmail.com>
Sat, 5 Oct 2019 09:51:16 +0000 (17:51 +0800)
commit30abc59b4842511a34d7051a1ac01dc007fa1169
treefb654f52bc74fe831f798f963042d94c32c5f2e5
parent4f69851fbaa26b155330be35ce8ac393e93e7442
drm/lima: Add support for multiple reset lines

Some SoCs like HiKey have 2 reset lines, so update
to use the devm_reset_control_array_* variant of the
API so that multiple resets can be specified in DT.

Cc: Qiang Yu <yuq825@gmail.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Cc: lima@lists.freedesktop.org
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191001182927.70448-1-john.stultz@linaro.org
drivers/gpu/drm/lima/lima_device.c