drm: bridge: icn6211: Fix register layout
authorMarek Vasut <marex@denx.de>
Thu, 31 Mar 2022 15:04:59 +0000 (17:04 +0200)
committerRobert Foss <robert.foss@linaro.org>
Thu, 31 Mar 2022 15:20:34 +0000 (17:20 +0200)
commit2dcec57b3734029cc1adc5cb872f61e21609eed4
tree55084c722adf13d9e8b5bd36413924a541a43e1d
parent95a2441e4347b93809c39e142fb1d73149e15345
drm: bridge: icn6211: Fix register layout

The chip register layout has nothing to do with MIPI DCS, the registers
incorrectly marked as MIPI DCS in the driver are regular chip registers
often with completely different function.

Fill in the actual register names and bits from [1] and [2] and add the
entire register layout, since the documentation for this chip is hard to
come by.

[1] https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/gpu/drm/bridge/icn6211.c
[2] https://github.com/tdjastrzebski/ICN6211-Configurator

Acked-by: Maxime Ripard <maxime@cerno.tech>
Fixes: ce517f18944e3 ("drm: bridge: Add Chipone ICN6211 MIPI-DSI to RGB bridge")
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-2-marex@denx.de
drivers/gpu/drm/bridge/chipone-icn6211.c