drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Mon, 8 Jan 2024 20:15:53 +0000 (21:15 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 9 Jan 2024 13:06:12 +0000 (14:06 +0100)
commit219a1f49094f50bf9c382830d06149e677f76bed
tree2b7249d48e5e467d044f2395350c73a0ffb3282f
parent9b26d5c044d6a29ebfb1845408e0f2a7c5f89818
drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK

The initialization commands are taken from the STMicroelectronics driver
found at [1].
To ensure backward compatibility, flags have been added to enable gamma
correction setting and display control. In other cases, registers have
been set to their default values according to the specifications found
in the datasheet.

[1] https://github.com/STMicroelectronics/STM32CubeF7/blob/master/Drivers/BSP/Components/nt35510/

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240108201618.2798649-9-dario.binacchi@amarulasolutions.com
drivers/gpu/drm/panel/panel-novatek-nt35510.c