drm/bridge: tc358767: do a software reset if reset pin isn't connected
authorLucas Stach <l.stach@pengutronix.de>
Thu, 27 Jun 2019 08:59:58 +0000 (10:59 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Mon, 1 Jul 2019 10:31:18 +0000 (12:31 +0200)
commit52c2197aae1b9809830d59bc8f5fa95f7372b0c7
treed37a359e4e15d18acc1a8e24abdb0c6acc0a5f09
parent83f35bc3a852f1c3892c7474998c5cec707c7ba3
drm/bridge: tc358767: do a software reset if reset pin isn't connected

To get the chip into the expected state, even when the hardware reset pin
isn't connected, do a software reset in this case. It isn't as thorough as
the hardware reset, as the I2C communication block can not be reset for
obvious reasons, but it's getting the chip into a defined state.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190627085958.28331-1-l.stach@pengutronix.de
drivers/gpu/drm/bridge/tc358767.c