OSDN Git Service

drm: bridge: icn6211: Use DSI burst mode without EoT and with LP command mode
authorMarek Vasut <marex@denx.de>
Thu, 31 Mar 2022 15:05:03 +0000 (17:05 +0200)
committerRobert Foss <robert.foss@linaro.org>
Thu, 31 Mar 2022 15:20:39 +0000 (17:20 +0200)
commit00404824b8ad2551df2df8e74ac37a46fad941f6
tree8578b37f52bd6cb8dfbcec82eb680343dd2a0822
parentf30cf0ece6916ca6c5b896d8c31443565f4dda24
drm: bridge: icn6211: Use DSI burst mode without EoT and with LP command mode

The DSI burst mode is more energy efficient than the DSI sync pulse mode,
make use of the burst mode since the chip supports it as well. Disable the
generation of EoT packet, the chip ignores it, so no point in emitting it.
Enable transmission of data in LP mode, otherwise register read via DSI
does not work with this chip.

Acked-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Maxime Ripard <maxime@cerno.tech>
Cc: Robert Foss <robert.foss@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
To: dri-devel@lists.freedesktop.org
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220331150509.9838-6-marex@denx.de
drivers/gpu/drm/bridge/chipone-icn6211.c