drivers: display: st7789v: Add support to disable inversion mode

For historical reasons, inversion mode is enabled by default in the
current implementation. This commit introduces an `inversion-off`
boolean DTS property, allowing it to be disabled if necessary.

Signed-off-by: Chen Xingyu <hi@xingrz.me>
This commit is contained in:
Chen Xingyu 2024-04-18 12:28:26 +08:00 committed by Carles Cufí
commit 979cd1dfe8
2 changed files with 11 additions and 1 deletions

View file

@ -77,6 +77,10 @@ properties:
required: true
description: Gamma Setting
inversion-off:
type: boolean
description: Inversion Off
porch-param:
type: uint8-array
required: true