1# Copyright (c) 2018, Jan Van Winkel <jan.van_winkel@dxplore.eu> 2# Copyright (c) 2020, Teslabs Engineering S.L. 3# SPDX-License-Identifier: Apache-2.0 4 5description: ILI9340 320x240 display controller 6 7compatible: "ilitek,ili9340" 8 9include: ilitek,ili9xxx-common.yaml 10 11properties: 12 gamset: 13 type: uint8-array 14 default: [0x01] 15 description: 16 Gamma set (GAMSET) register value. 17 18 frmctr1: 19 type: uint8-array 20 default: [0x00, 0x1b] 21 description: 22 Frame rate control (in normal mode / full colors) (FRMCTR1) register value. 23 24 disctrl: 25 type: uint8-array 26 default: [0x0a, 0x82, 0x27] 27 description: 28 Display function control (DISCTRL) register value. Note that changing 29 default SS bit value (0) may interfere with display rotation. 30 31 pwctrl1: 32 type: uint8-array 33 default: [0x26, 0x00] 34 description: 35 Power control 1 (PWCTRL1) register values. 36 37 pwctrl2: 38 type: uint8-array 39 default: [0x00] 40 description: 41 Power control 2 (PWCTRL2) register values. 42 43 vmctrl1: 44 type: uint8-array 45 default: [0x31, 0x3c] 46 description: 47 VCOM control 1 (VMCTRL1) register values. 48 49 vmctrl2: 50 type: uint8-array 51 default: [0xc0] 52 description: 53 VCOM control 2 (VMCTRL2) register values. 54 55 pgamctrl: 56 type: uint8-array 57 default: [ 58 0x0f, 59 0x22, 60 0x1f, 61 0x0a, 62 0x0e, 63 0x06, 64 0x4d, 65 0x76, 66 0x3b, 67 0x03, 68 0x0e, 69 0x04, 70 0x13, 71 0x0e, 72 0x0c 73 ] 74 description: 75 Positive gamma correction (PGAMCTRL) register values. 76 77 ngamctrl: 78 type: uint8-array 79 default: [ 80 0x0c, 81 0x23, 82 0x26, 83 0x04, 84 0x10, 85 0x04, 86 0x39, 87 0x24, 88 0x4b, 89 0x03, 90 0x0b, 91 0x0b, 92 0x33, 93 0x37, 94 0x0f 95 ] 96 description: 97 Negative gamma correction (NGAMCTRL) register values. 98