Lines Matching +full:0 +full:x59
24 #define DB7430_ACCESS_PROT_OFF 0xb0
25 #define DB7430_UNKNOWN_B4 0xb4
26 #define DB7430_USER_SELECT 0xb5
27 #define DB7430_UNKNOWN_B7 0xb7
28 #define DB7430_UNKNOWN_B8 0xb8
29 #define DB7430_PANEL_DRIVING 0xc0
30 #define DB7430_SOURCE_CONTROL 0xc1
31 #define DB7430_GATE_INTERFACE 0xc4
32 #define DB7430_DISPLAY_H_TIMING 0xc5
33 #define DB7430_RGB_SYNC_OPTION 0xc6
34 #define DB7430_GAMMA_SET_RED 0xc8
35 #define DB7430_GAMMA_SET_GREEN 0xc9
36 #define DB7430_GAMMA_SET_BLUE 0xca
37 #define DB7430_BIAS_CURRENT_CTRL 0xd1
38 #define DB7430_DDV_CTRL 0xd2
39 #define DB7430_GAMMA_CTRL_REF 0xd3
40 #define DB7430_UNKNOWN_D4 0xd4
41 #define DB7430_DCDC_CTRL 0xd5
42 #define DB7430_VCL_CTRL 0xd6
43 #define DB7430_UNKNOWN_F8 0xf8
44 #define DB7430_UNKNOWN_FC 0xfc
46 #define DATA_MASK 0x100
107 gpiod_set_value_cansleep(db->reset, 0); in db7430_power_on()
113 * This is set to 0x0a (RGB/BGR order + horizontal flip) in order in db7430_power_on()
118 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, 0x0a); in db7430_power_on()
119 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, 0x0a); in db7430_power_on()
120 mipi_dbi_command(dbi, DB7430_ACCESS_PROT_OFF, 0x00); in db7430_power_on()
121 mipi_dbi_command(dbi, DB7430_PANEL_DRIVING, 0x28, 0x08); in db7430_power_on()
123 0x01, 0x30, 0x15, 0x05, 0x22); in db7430_power_on()
125 0x10, 0x01, 0x00); in db7430_power_on()
127 0x06, 0x55, 0x03, 0x07, 0x0b, in db7430_power_on()
128 0x33, 0x00, 0x01, 0x03); in db7430_power_on()
130 * 0x00 in datasheet 0x01 in vendor code 0x00, it seems 0x01 means in db7430_power_on()
131 * DE active high and 0x00 means DE active low. in db7430_power_on()
133 mipi_dbi_command(dbi, DB7430_RGB_SYNC_OPTION, 0x01); in db7430_power_on()
135 /* R positive gamma */ 0x00, in db7430_power_on()
136 0x0A, 0x31, 0x3B, 0x4E, 0x58, 0x59, 0x5B, 0x58, 0x5E, 0x62, in db7430_power_on()
137 0x60, 0x61, 0x5E, 0x62, 0x55, 0x55, 0x7F, 0x08, in db7430_power_on()
138 /* R negative gamma */ 0x00, in db7430_power_on()
139 0x0A, 0x31, 0x3B, 0x4E, 0x58, 0x59, 0x5B, 0x58, 0x5E, 0x62, in db7430_power_on()
140 0x60, 0x61, 0x5E, 0x62, 0x55, 0x55, 0x7F, 0x08); in db7430_power_on()
142 /* G positive gamma */ 0x00, in db7430_power_on()
143 0x25, 0x15, 0x28, 0x3D, 0x4A, 0x48, 0x4C, 0x4A, 0x52, 0x59, in db7430_power_on()
144 0x59, 0x5B, 0x56, 0x60, 0x5D, 0x55, 0x7F, 0x0A, in db7430_power_on()
145 /* G negative gamma */ 0x00, in db7430_power_on()
146 0x25, 0x15, 0x28, 0x3D, 0x4A, 0x48, 0x4C, 0x4A, 0x52, 0x59, in db7430_power_on()
147 0x59, 0x5B, 0x56, 0x60, 0x5D, 0x55, 0x7F, 0x0A); in db7430_power_on()
149 /* B positive gamma */ 0x00, in db7430_power_on()
150 0x48, 0x10, 0x1F, 0x2F, 0x35, 0x38, 0x3D, 0x3C, 0x45, 0x4D, in db7430_power_on()
151 0x4E, 0x52, 0x51, 0x60, 0x7F, 0x7E, 0x7F, 0x0C, in db7430_power_on()
152 /* B negative gamma */ 0x00, in db7430_power_on()
153 0x48, 0x10, 0x1F, 0x2F, 0x35, 0x38, 0x3D, 0x3C, 0x45, 0x4D, in db7430_power_on()
154 0x4E, 0x52, 0x51, 0x60, 0x7F, 0x7E, 0x7F, 0x0C); in db7430_power_on()
155 mipi_dbi_command(dbi, DB7430_BIAS_CURRENT_CTRL, 0x33, 0x13); in db7430_power_on()
156 mipi_dbi_command(dbi, DB7430_DDV_CTRL, 0x11, 0x00, 0x00); in db7430_power_on()
157 mipi_dbi_command(dbi, DB7430_GAMMA_CTRL_REF, 0x50, 0x50); in db7430_power_on()
158 mipi_dbi_command(dbi, DB7430_DCDC_CTRL, 0x2f, 0x11, 0x1e, 0x46); in db7430_power_on()
159 mipi_dbi_command(dbi, DB7430_VCL_CTRL, 0x11, 0x0a); in db7430_power_on()
161 return 0; in db7430_power_on()
187 return 0; in db7430_disable()
205 mipi_dbi_command(dbi, DB7430_UNKNOWN_D4, 0x52, 0x5e); in db7430_enable()
206 mipi_dbi_command(dbi, DB7430_UNKNOWN_F8, 0x01, 0xf5, 0xf2, 0x71, 0x44); in db7430_enable()
207 mipi_dbi_command(dbi, DB7430_UNKNOWN_FC, 0x00, 0x08); in db7430_enable()
211 mipi_dbi_command(dbi, DB7430_UNKNOWN_B4, 0x0f, 0x00, 0x50); in db7430_enable()
212 mipi_dbi_command(dbi, DB7430_USER_SELECT, 0x80); in db7430_enable()
213 mipi_dbi_command(dbi, DB7430_UNKNOWN_B7, 0x24); in db7430_enable()
214 mipi_dbi_command(dbi, DB7430_UNKNOWN_B8, 0x01); in db7430_enable()
219 return 0; in db7430_enable()
279 db->regulators[0].supply = "vci"; in db7430_probe()
310 return 0; in db7430_probe()