]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: hdmi: Document PAD_CTRL1 output invert bits
authorChen-Yu Tsai <wens@csie.org>
Sat, 14 Oct 2017 04:02:51 +0000 (12:02 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 16 Oct 2017 07:54:21 +0000 (09:54 +0200)
commit6bd1783a54b1a3601cd3a299801b28c97fca26c9
tree040b5d6a866a90bd472ac3d8fc00b4631c6d9fe7
parent5621eb9e5d9b92e1dbda52c692c193da3357acee
drm/sun4i: hdmi: Document PAD_CTRL1 output invert bits

While debugging inverted color from the HDMI output on the A10, I
found that the lowest 3 bits were set. These were cleared on A20
boards that had normal display output. By manually toggling these
bits the mapping of the color components to these bits was found.

While these are not used anywhere, it would be nice to document
them somewhere.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171014040252.9621-7-wens@csie.org
drivers/gpu/drm/sun4i/sun4i_hdmi.h