drm/mipi-dsi: Introduce mipi_dsi_dcs_write_seq macro
authorJoel Selvaraj <jo@jsfamily.in>
Wed, 1 Jun 2022 08:24:09 +0000 (13:54 +0530)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 24 Jun 2022 20:34:39 +0000 (22:34 +0200)
commit2a9e9daf75231c2f577209af5ec62aecdf7ca7af
treef341f7f75006dd62fef8f1e1a9cc996710bc6de9
parentc5ec5fa3931675e583aada31db1453038f7b76a4
drm/mipi-dsi: Introduce mipi_dsi_dcs_write_seq macro

A helper macro that can be used to simplify sending DCS commands.
It is useful in scenarios like panel initialization which can sometimes
involve sending lot of DCS commands.

Signed-off-by: Joel Selvaraj <jo@jsfamily.in>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/BY5PR02MB700952493EEB6F0E77DC8416D9DF9@BY5PR02MB7009.namprd02.prod.outlook.com
include/drm/drm_mipi_dsi.h