]> git.baikalelectronics.ru Git - kernel.git/commitdiff
panel: simple: Add BOE NV133FHM-N62
authorDouglas Anderson <dianders@chromium.org>
Fri, 8 May 2020 22:59:02 +0000 (15:59 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 9 May 2020 19:57:50 +0000 (21:57 +0200)
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 <dianders@chromium.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200508155859.3.I525ebd471f5340a6a369af7bde06ef04174d2f41@changeid
drivers/gpu/drm/panel/panel-simple.c

index 7219436499f12ee71bc5366c02852ad73e8ecdec..7fb7b257f968e50d41ce40ce30f2225ed2c0c663 100644 (file)
@@ -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,
@@ -3659,6 +3661,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,