summaryrefslogtreecommitdiff
path: root/src/drivers/mipi
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2021-09-01 16:27:58 -0700
committerJulius Werner <jwerner@chromium.org>2021-09-02 21:43:11 +0000
commit1f84b2c02597ef7a373478cc97caf07c69f1ae3a (patch)
tree18df8236084383006a3a10b42a8631609e4d582b /src/drivers/mipi
parent14bb6f5dab90500c7d37b06f0588123bd4c58ffd (diff)
drivers/mipi: Make orientation a property of the mainboard, not panel
It doesn't make sense to store the orientation field directly in the panel information structure, which is supposed to be reuseable between different boards. The thing that determines orientation is how that panel is built into the board in question, which only the board itself can know. The same portrait panel could be rotated left to be used as landscape in one board and rotated right to be used as landscape in another. This patch moves the orientation field out of the panel structure back into the mainboards to reflect this. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: If2b716aa4dae036515730c12961fdd8a9ac34753 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57324 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/mipi')
-rw-r--r--src/drivers/mipi/panel-AUO_B101UAN08_3.c1
-rw-r--r--src/drivers/mipi/panel-AUO_KD101N80_45NA.c1
-rw-r--r--src/drivers/mipi/panel-BOE_TV101WUM_N53.c1
-rw-r--r--src/drivers/mipi/panel-BOE_TV101WUM_NL6.c1
-rw-r--r--src/drivers/mipi/panel-BOE_TV105WUM_NW0.c1
-rw-r--r--src/drivers/mipi/panel-CMN_P097PFG_SSD2858.c1
-rw-r--r--src/drivers/mipi/panel-STA_2081101QFH032011_53G.c1
-rw-r--r--src/drivers/mipi/panel-VIS_RM69299.c1
8 files changed, 0 insertions, 8 deletions
diff --git a/src/drivers/mipi/panel-AUO_B101UAN08_3.c b/src/drivers/mipi/panel-AUO_B101UAN08_3.c
index 8eeac85dd6..5144ce5ecb 100644
--- a/src/drivers/mipi/panel-AUO_B101UAN08_3.c
+++ b/src/drivers/mipi/panel-AUO_B101UAN08_3.c
@@ -18,7 +18,6 @@ struct panel_serializable_data AUO_B101UAN08_3 = {
.x_mm = 135, .y_mm = 216,
},
},
- .orientation = LB_FB_ORIENTATION_LEFT_UP,
.init = {
PANEL_DELAY(24),
PANEL_DCS(0xB0, 0x01),
diff --git a/src/drivers/mipi/panel-AUO_KD101N80_45NA.c b/src/drivers/mipi/panel-AUO_KD101N80_45NA.c
index 436940c9e4..60550974c7 100644
--- a/src/drivers/mipi/panel-AUO_KD101N80_45NA.c
+++ b/src/drivers/mipi/panel-AUO_KD101N80_45NA.c
@@ -18,7 +18,6 @@ struct panel_serializable_data AUO_KD101N80_45NA = {
.x_mm = 135, .y_mm = 216,
},
},
- .orientation = LB_FB_ORIENTATION_LEFT_UP,
.init = {
PANEL_DELAY(10),
PANEL_DCS(0x11),
diff --git a/src/drivers/mipi/panel-BOE_TV101WUM_N53.c b/src/drivers/mipi/panel-BOE_TV101WUM_N53.c
index bc454747b4..d5df6815d0 100644
--- a/src/drivers/mipi/panel-BOE_TV101WUM_N53.c
+++ b/src/drivers/mipi/panel-BOE_TV101WUM_N53.c
@@ -18,7 +18,6 @@ struct panel_serializable_data BOE_TV101WUM_N53 = {
.x_mm = 135, .y_mm = 216,
},
},
- .orientation = LB_FB_ORIENTATION_LEFT_UP,
.init = {
PANEL_DELAY(24),
PANEL_DCS(0xB0, 0x05),
diff --git a/src/drivers/mipi/panel-BOE_TV101WUM_NL6.c b/src/drivers/mipi/panel-BOE_TV101WUM_NL6.c
index 2c990f8729..d7678d8057 100644
--- a/src/drivers/mipi/panel-BOE_TV101WUM_NL6.c
+++ b/src/drivers/mipi/panel-BOE_TV101WUM_NL6.c
@@ -18,7 +18,6 @@ struct panel_serializable_data BOE_TV101WUM_NL6 = {
.x_mm = 135, .y_mm = 216,
},
},
- .orientation = LB_FB_ORIENTATION_LEFT_UP,
.init = {
PANEL_DELAY(24),
PANEL_DCS(0xB0, 0x05),
diff --git a/src/drivers/mipi/panel-BOE_TV105WUM_NW0.c b/src/drivers/mipi/panel-BOE_TV105WUM_NW0.c
index 69311938b5..97b8483bcb 100644
--- a/src/drivers/mipi/panel-BOE_TV105WUM_NW0.c
+++ b/src/drivers/mipi/panel-BOE_TV105WUM_NW0.c
@@ -18,7 +18,6 @@ struct panel_serializable_data BOE_TV105WUM_NW0 = {
.x_mm = 147, .y_mm = 236,
},
},
- .orientation = LB_FB_ORIENTATION_LEFT_UP,
.init = {
PANEL_DCS(0x10),
PANEL_DELAY(34),
diff --git a/src/drivers/mipi/panel-CMN_P097PFG_SSD2858.c b/src/drivers/mipi/panel-CMN_P097PFG_SSD2858.c
index 73e85962dd..637533e648 100644
--- a/src/drivers/mipi/panel-CMN_P097PFG_SSD2858.c
+++ b/src/drivers/mipi/panel-CMN_P097PFG_SSD2858.c
@@ -18,7 +18,6 @@ struct panel_serializable_data P097PFG_SSD2858 = {
.x_mm = 147, .y_mm = 196,
},
},
- .orientation = LB_FB_ORIENTATION_NORMAL,
.init = {
PANEL_GENERIC(0xff, 0x00),
/* LOCKCNT=0x1f4, MRX=0, POSTDIV=1 (/2} }, MULT=0x49
diff --git a/src/drivers/mipi/panel-STA_2081101QFH032011_53G.c b/src/drivers/mipi/panel-STA_2081101QFH032011_53G.c
index be8ba7360f..9c4dbe38f4 100644
--- a/src/drivers/mipi/panel-STA_2081101QFH032011_53G.c
+++ b/src/drivers/mipi/panel-STA_2081101QFH032011_53G.c
@@ -18,7 +18,6 @@ struct panel_serializable_data STA_QFH032011_53G = {
.x_mm = 135, .y_mm = 217,
},
},
- .orientation = LB_FB_ORIENTATION_LEFT_UP,
.init = {
PANEL_DCS(0xB0, 0x01),
PANEL_DCS(0xC3, 0x4F),
diff --git a/src/drivers/mipi/panel-VIS_RM69299.c b/src/drivers/mipi/panel-VIS_RM69299.c
index aff2a99c38..697b0e7441 100644
--- a/src/drivers/mipi/panel-VIS_RM69299.c
+++ b/src/drivers/mipi/panel-VIS_RM69299.c
@@ -18,7 +18,6 @@ struct panel_serializable_data VIS_RM69299 = {
.x_mm = 74, .y_mm = 131,
},
},
- .orientation = LB_FB_ORIENTATION_NORMAL,
.init = {
PANEL_DCS(0xFE, 0x00, 0x15, 0x80),
PANEL_DCS(0xc2, 0x08, 0x15, 0x80),