dts: bindings: display: st7735r: add rgb-is-inverted option
Add rgb-is-inverted option to indicate module's pixel-format is inverting from MADCTL settings of ST7735R controller. This option intends to implement a workaround for LCD modules that is the actual screen color was different (inverted) from the RGB setting in MADCTL property. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This commit is contained in:
parent
04092ac9a5
commit
e579c19bb1
@ -123,3 +123,12 @@ properties:
|
||||
description: |
|
||||
Enable Display Inversion
|
||||
Make a drawing with the inverted color of the frame memory.
|
||||
|
||||
rgb-is-inverted:
|
||||
type: boolean
|
||||
description: |
|
||||
Inverting color format order (RGB->BGR or BGR->RGB)
|
||||
In the case of enabling this option, API reports pixel-format in capabilities
|
||||
as the inverted value of the RGB pixel-format specified in MADCTL.
|
||||
This option is convenient for supporting displays with bugs
|
||||
where the actual color is different from the pixel format of MADCTL.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user