]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: chrontel-ch7033: Add byteswap order setting
authorChris Morgan <macromorgan@hotmail.com>
Fri, 2 Sep 2022 15:39:06 +0000 (10:39 -0500)
committerRobert Foss <robert.foss@linaro.org>
Fri, 2 Sep 2022 16:21:23 +0000 (18:21 +0200)
commitc8467bb0bb34bc1b2b5cb75399a285c652b06183
treed98919c272be75aba683670cfa67f1e365c24578
parentfd1b17d43621f143b01af24076745f137c562f04
drm/bridge: chrontel-ch7033: Add byteswap order setting

Add the option to set the byteswap order in the devicetree. For the
official HDMI DIP for the NTC CHIP the byteswap order needs to be
RGB, however the driver sets it as BGR. With this patch the driver
will remain at BGR unless manually specified via devicetree.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220902153906.31000-3-macroalpha82@gmail.com
drivers/gpu/drm/bridge/chrontel-ch7033.c