drivers: display: ili9341: add 4th parameter in DISCTRL command

As stated in the datasheet https://www.crystalfontz.com/controllers/Ilitek/ILI9341/142/
there's a 4th parameter in DISCTRL command

Signed-off-by: Jeroen van Dooren <jeroen.van.dooren@nobleo.nl>
This commit is contained in:
Jeroen van Dooren 2023-01-27 09:21:31 +01:00 committed by Stephanos Ioannidis
parent 4234e801b5
commit 77824a1820
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@
#define ILI9341_GAMSET_LEN 1U
#define ILI9341_IFMODE_LEN 1U
#define ILI9341_FRMCTR1_LEN 2U
#define ILI9341_DISCTRL_LEN 3U
#define ILI9341_DISCTRL_LEN 4U
#define ILI9341_PWCTRL1_LEN 1U
#define ILI9341_PWCTRL2_LEN 1U
#define ILI9341_VMCTRL1_LEN 2U

View file

@ -85,7 +85,7 @@ properties:
disctrl:
type: uint8-array
default: [0x0a, 0x82, 0x27]
default: [0x0a, 0x82, 0x27, 0x04]
description:
Display function control (DISCTRL) register value. Note that changing
default SS bit value (0) may interfere with display rotation.