drm/panel: ltk050h3146w: add mipi_dsi_device.mode_flags to of_match_data
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Mon, 31 Jan 2022 16:47:21 +0000 (17:47 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 10 Oct 2023 16:32:25 +0000 (18:32 +0200)
commit99403d747ae8c7b3bfb5cd14c8908930ec6801c6
treec032d0a048b81ad8e67098f182ef01646720015b
parentf22def5970c423ea7f87d5247bd0ef91416b0658
drm/panel: ltk050h3146w: add mipi_dsi_device.mode_flags to of_match_data

To prepare for a new display to be supported by this driver which has a
slightly different set of DSI mode related flags, let's move the
currently hardcoded mode flags to the .data field of of_device_id
structure.

Cc: Quentin Schulz <foss+kernel@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220131164723.714836-1-quentin.schulz@theobroma-systems.com
drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c