drm/panel: s6e63m0: Fix and extend MCS table
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 17 Nov 2020 17:56:19 +0000 (18:56 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 20 Nov 2020 13:54:51 +0000 (14:54 +0100)
Fix up the format of the manufacturer command set table
to be TAB-indented and lowercase. Add the MCS_TEMP_SWIRE
command that we will make use of.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Cc: Stephan Gerhold <stephan@gerhold.net>
Cc: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201117175621.870085-1-linus.walleij@linaro.org
drivers/gpu/drm/panel/panel-samsung-s6e63m0.c

index 210e70da3a15350ad70d988cbc67e901f49be82d..8fce399fb97ddcb5703c5fa11344d7071059dbf3 100644 (file)
 #include "panel-samsung-s6e63m0.h"
 
 /* Manufacturer Command Set */
-#define MCS_ELVSS_ON                0xb1
-#define MCS_MIECTL1                0xc0
-#define MCS_BCMODE                              0xc1
+#define MCS_ELVSS_ON           0xb1
+#define MCS_TEMP_SWIRE         0xb2
+#define MCS_MIECTL1            0xc0
+#define MCS_BCMODE             0xc1
 #define MCS_ERROR_CHECK                0xd5
 #define MCS_READ_ID1           0xda
 #define MCS_READ_ID2           0xdb
 #define MCS_READ_ID3           0xdc
 #define MCS_LEVEL_2_KEY                0xf0
 #define MCS_MTP_KEY            0xf1
-#define MCS_DISCTL   0xf2
-#define MCS_SRCCTL           0xf6
-#define MCS_IFCTL                       0xf7
-#define MCS_PANELCTL         0xF8
-#define MCS_PGAMMACTL                   0xfa
+#define MCS_DISCTL             0xf2
+#define MCS_SRCCTL             0xf6
+#define MCS_IFCTL              0xf7
+#define MCS_PANELCTL           0xf8
+#define MCS_PGAMMACTL          0xfa
 
 #define S6E63M0_LCD_ID_VALUE_M2                0xA4
 #define S6E63M0_LCD_ID_VALUE_SM2       0xB4