OSDN Git Service

drm: bridge: icn6211: Add I2C configuration support
authorMarek Vasut <marex@denx.de>
Thu, 31 Mar 2022 15:05:07 +0000 (17:05 +0200)
committerRobert Foss <robert.foss@linaro.org>
Thu, 31 Mar 2022 15:20:44 +0000 (17:20 +0200)
commit8dde6f7452a198a870f74a38118bb1a63da7632e
tree901b044c57f1c592b1d9b701bfa50fd957b95881
parentcda3822a5db30372abc33a6d63885c38f51d7489
drm: bridge: icn6211: Add I2C configuration support

The ICN6211 chip starts in I2C configuration mode after cold boot.
Implement support for configuring the chip via I2C in addition to
the current DSI LP command mode configuration support. The later
seems to be available only on chips which have additional MCU on
the panel/bridge board which preconfigures the ICN6211, while the
I2C configuration mode added by this patch does not require any
such MCU.

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-10-marex@denx.de
drivers/gpu/drm/bridge/chipone-icn6211.c