|
@@ -36,8 +36,6 @@
|
|
|
|
|
|
static int init_display(struct fbtft_par *par)
|
|
|
{
|
|
|
- fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
|
|
|
-
|
|
|
par->fbtftops.reset(par);
|
|
|
|
|
|
/* startup sequence for MI0283QT-9A */
|
|
@@ -97,8 +95,6 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
|
|
|
#define MEM_BGR (3) /* RGB-BGR Order */
|
|
|
static int set_var(struct fbtft_par *par)
|
|
|
{
|
|
|
- fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
|
|
|
-
|
|
|
switch (par->info->var.rotate) {
|
|
|
case 0:
|
|
|
write_reg(par, 0x36, (1 << MEM_X) | (par->bgr << MEM_BGR));
|
|
@@ -129,8 +125,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
|
|
|
{
|
|
|
int i;
|
|
|
|
|
|
- fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
|
|
|
-
|
|
|
for (i = 0; i < par->gamma.num_curves; i++)
|
|
|
write_reg(par, 0xE0 + i,
|
|
|
CURVE(i, 0), CURVE(i, 1), CURVE(i, 2),
|