drm/rockchip: dw-mipi-dsi: add reset control
authorJohn Keeping <john@metanate.com>
Fri, 24 Feb 2017 12:55:06 +0000 (12:55 +0000)
committerSean Paul <seanpaul@chromium.org>
Wed, 1 Mar 2017 19:48:59 +0000 (14:48 -0500)
commitf3b7a5b83896cb11deecab6aa30c5f53e19a83d5
tree1680ed1758052419e5798c1a3ad10c5e2443e834
parent03a5832c0ed8086fa0726d7160e936f71eccc25b
drm/rockchip: dw-mipi-dsi: add reset control

In order to fully reset the state of the MIPI controller we must assert
this reset.

This is slightly more complicated than it could be in order to maintain
compatibility with device trees that do not specify the reset property.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170224125506.21533-24-john@metanate.com
drivers/gpu/drm/rockchip/dw-mipi-dsi.c