From: Douglas Anderson Date: Fri, 8 May 2020 22:59:02 +0000 (-0700) Subject: panel: simple: Add BOE NV133FHM-N62 X-Git-Tag: v5.15~303^2~28^2~2811 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cfe40d02238e7dae6f476974b022bdd36ebb96e5;p=platform%2Fkernel%2Flinux-starfive.git panel: simple: Add BOE NV133FHM-N62 All info I could find about this panel show that it behaves the same as the BOE NV133FHM-N61. However, it definitely appears to be a unique panel because reading the EDID shows "NV133FHM-N62". We'll add a string match for the new panel but until we find something unique about it we'll just point at the N61's structures. Signed-off-by: Douglas Anderson Signed-off-by: Sam Ravnborg Link: https://patchwork.freedesktop.org/patch/msgid/20200508155859.3.I525ebd471f5340a6a369af7bde06ef04174d2f41@changeid --- diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 7219436..7fb7b25 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1173,6 +1173,7 @@ static const struct panel_desc boe_nv101wxmn51 = { }, }; +/* Also used for boe_nv133fhm_n62 */ static const struct drm_display_mode boe_nv133fhm_n61_modes = { .clock = 147840, .hdisplay = 1920, @@ -1186,6 +1187,7 @@ static const struct drm_display_mode boe_nv133fhm_n61_modes = { .vrefresh = 60, }; +/* Also used for boe_nv133fhm_n62 */ static const struct panel_desc boe_nv133fhm_n61 = { .modes = &boe_nv133fhm_n61_modes, .num_modes = 1, @@ -3660,6 +3662,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "boe,nv133fhm-n61", .data = &boe_nv133fhm_n61, }, { + .compatible = "boe,nv133fhm-n62", + .data = &boe_nv133fhm_n61, + }, { .compatible = "boe,nv140fhmn49", .data = &boe_nv140fhmn49, }, {