Skip to content
Commit 9f12f2cd authored by TOKITA Hiroshi's avatar TOKITA Hiroshi Committed by Carles Cufí
Browse files

drivers: display: st7735r: Add rgb-is-inverted property



Set the inverted value of pixel format setting in MADCTL register to
current_pixel_format in display capabilities structure
if rgb-is-inverted enabled.

This make enables support for a module that mismatches the RGB setting
in the MADCTL register and the actual display color format.
(Such as Longan Nano built-in LCD module.)

Signed-off-by: default avatarTOKITA Hiroshi <tokita.hiroshi@gmail.com>
parent e579c19b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment