From b1af16a4242d42feb0150c3a8c6fef41c75961d9 Mon Sep 17 00:00:00 2001 From: Hung-Te Lin Date: Tue, 13 Aug 2019 12:19:00 +0800 Subject: [PATCH] mb/google/kukui: Report panel manufacturer name The src/lib/edid now supports reporting manufacturer name so we should define that in MIPI panels and print out in initialization. BUG=None TEST=emerge-kukui coreboot; boots properly Change-Id: If844da84ecca31307127b14c66bbe17c408699f3 Signed-off-by: Hung-Te Lin Reviewed-on: https://review.coreboot.org/c/coreboot/+/34853 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/mainboard/google/kukui/mainboard.c | 5 +++-- src/mainboard/google/kukui/panel_kodama.c | 1 + src/mainboard/google/kukui/panel_krane.c | 2 ++ src/mainboard/google/kukui/panel_kukui.c | 3 ++- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/mainboard/google/kukui/mainboard.c b/src/mainboard/google/kukui/mainboard.c index 7bf2580751..9f90b0f230 100644 --- a/src/mainboard/google/kukui/mainboard.c +++ b/src/mainboard/google/kukui/mainboard.c @@ -108,8 +108,9 @@ static struct panel_description *get_active_panel(void) const char *name = panel->edid.ascii_string; if (name[0] == '\0') name = "unknown name"; - printk(BIOS_INFO, "%s: Found ID %d: '%s' %s\n", __func__, - panel_id, name, mode_name ? mode_name : "(unknown mode)"); + printk(BIOS_INFO, "%s: Found ID %d: '%s %s' %s\n", __func__, + panel_id, panel->edid.manufacturer_name, name, + mode_name ? mode_name : "(unknown mode)"); return panel; } diff --git a/src/mainboard/google/kukui/panel_kodama.c b/src/mainboard/google/kukui/panel_kodama.c index 15e46a4b82..8f7ef2b4e8 100644 --- a/src/mainboard/google/kukui/panel_kodama.c +++ b/src/mainboard/google/kukui/panel_kodama.c @@ -18,6 +18,7 @@ static struct panel_description BOE_TV101WUM_N53 = { .edid = { .ascii_string = "TV101WUM-N53", + .manufacturer_name = "BOE", .panel_bits_per_color = 8, .panel_bits_per_pixel = 24, .mode = { diff --git a/src/mainboard/google/kukui/panel_krane.c b/src/mainboard/google/kukui/panel_krane.c index ad06f39277..0562820872 100644 --- a/src/mainboard/google/kukui/panel_krane.c +++ b/src/mainboard/google/kukui/panel_krane.c @@ -18,6 +18,7 @@ static struct panel_description AUO_KD101N80_45NA = { .edid = { .ascii_string = "KD101N80-45NA", + .manufacturer_name = "AUO", .panel_bits_per_color = 8, .panel_bits_per_pixel = 24, .mode = { @@ -45,6 +46,7 @@ static struct panel_description AUO_KD101N80_45NA = { static struct panel_description BOE_TV101WUM_NL6 = { .edid = { .ascii_string = "TV101WUM-NL6", + .manufacturer_name = "BOE", .panel_bits_per_color = 8, .panel_bits_per_pixel = 24, .mode = { diff --git a/src/mainboard/google/kukui/panel_kukui.c b/src/mainboard/google/kukui/panel_kukui.c index eb2f228b69..a1541853f2 100644 --- a/src/mainboard/google/kukui/panel_kukui.c +++ b/src/mainboard/google/kukui/panel_kukui.c @@ -39,7 +39,8 @@ static void power_on_ssd2858(void) static struct panel_description P097PFG_SSD2858 = { .power_on = power_on_ssd2858, .edid = { - .ascii_string = "CMN P097PFG", + .ascii_string = "P097PFG", + .manufacturer_name = "CMN", .panel_bits_per_color = 8, .panel_bits_per_pixel = 24, .mode = {