coreboot/src/drivers
Yu-Ping Wu 1dc3e45f7c mipi: Support passing user data to mipi_cmd_func_t
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>
2025-12-17 06:56:00 +00:00
..
acpi/thermal_zone
amd tree: Use boolean for s3resume 2025-10-23 13:34:15 +00:00
ams
analogix/anx7625
asmedia
aspeed
broadcom
camera
crb
efi drivers/efi: Exclude verstage from EFI variable store files 2025-12-02 15:17:44 +00:00
elog
emulation/qemu drivers/emulation/qemu: Adjust fw_cfg driver for Arm and RISCV 2025-09-28 18:16:57 +00:00
generic
genesyslogic
gfx/generic
hwid_dmi drivers/hwid_dmi: Populate SMBIOS product name from CBFS hwid file 2025-11-23 20:07:54 +00:00
i2c drivers/i2c/tas2563: Add driver for generating device in SSDT 2025-11-12 14:30:33 +00:00
intel drivers/intel/touch: Add support for new Intel touch I2C _DSD entries 2025-12-08 03:00:29 +00:00
ipmi drivers/ipmi: add Block Transfer (BT) interface 2025-10-16 12:16:43 +00:00
lenovo
maxim
mipi mipi: Support passing user data to mipi_cmd_func_t 2025-12-17 06:56:00 +00:00
mrc_cache
net
nxp/uwb
ocp
option drivers/option/cfr.c: Replace memcpy() to avoid uninitialized object 2025-11-16 18:35:41 +00:00
parade
pc80
pcie
ricoh/rce822
secunet/dmi
siemens/nc_fpga
sil/3114
smbus
smmstore drivers/smmstore: Increase default size of store to 512KB 2025-12-11 19:45:39 +00:00
sof drivers/sof: Add support for tas2563 speaker topology 2025-11-12 14:37:11 +00:00
soundwire drivers/soundwire/cs42l43: Add optional properties for controlling jack and accessory detect 2025-10-18 18:31:16 +00:00
spi
ti
tpm drivers/tpm: Remove duplicated op 2025-12-08 03:03:36 +00:00
uart
usb
vpd drivers/vpd: Search VPD info at 0x0 first 2025-11-21 22:16:15 +00:00
wifi/generic drivers/wifi/generic: Fix typo in header guard comment 2025-09-10 21:38:51 +00:00
wwan/fm