The mipi_cmd_func_t callback for mipi_panel_parse_init_commands() currently doesn't support passing additional data for storing context. Therefore user code would need to store any extra data in global variables. For example, in the upcoming DSI dual channel support for MediaTek platforms, the callback needs to know whether the MIPI panel supports dual channel or not. To support that use case, pass an extra `user_data` argument to mipi_cmd_func_t. BUG=b:424782827 TEST=util/abuild/abuild -x -t GOOGLE_SAPPHIRE -a BRANCH=none Change-Id: Id5d7b168cdcadfe8d8435c29d7e855a535815057 Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90519 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Yidi Lin <yidilin@google.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile.mk | ||
| panel-AUO_B101UAN08_3.c | ||
| panel-AUO_KD101N80_45NA.c | ||
| panel-AUO_NT51021D8P.c | ||
| panel-BOE_NS130069_M00.c | ||
| panel-BOE_NV110WUM_L60.c | ||
| panel-BOE_TV080WUM_NG0.c | ||
| panel-BOE_TV101WUM_N53.c | ||
| panel-BOE_TV101WUM_NG0.c | ||
| panel-BOE_TV101WUM_NL6.c | ||
| panel-BOE_TV105WUM_NW0.c | ||
| panel-BOE_TV110C9M_LL0.c | ||
| panel-CMN_P097PFG_SSD2858.c | ||
| panel-CSOT_PNA957QT1_1.c | ||
| panel-INX_HJ110IZ_01A_B2.c | ||
| panel-INX_OTA7290D10P.c | ||
| panel-IVO_T109NW41.c | ||
| panel-KD_KD101NE3_40TI.c | ||
| panel-KD_KD110N11_51IE.c | ||
| panel-LCE_LMFBX101117480.c | ||
| panel-STA_2081101QFH032011_53G.c | ||
| panel-STA_2082109QFH040022_50E.c | ||
| panel-STA_ER88577.c | ||
| panel-STA_HIMAX83102_J02.c | ||
| panel-STA_ILI9882T.c | ||
| panel-TM_TL121BVMS07_00C.c | ||
| panel-VIS_RM69299.c | ||
| panel.c | ||