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 tree: Remove unused <string.h> 2024-05-29 10:34:08 +00:00
amd tree: Use boolean for s3resume 2025-10-23 13:34:15 +00:00
ams drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
analogix/anx7625 drivers/analogix/anx7625: Add a retry mechanism to decode EDID 2025-06-07 09:50:32 +00:00
asmedia drivers/asmedia/asm1061: Align = only with tabs and not spaces 2025-02-10 15:14:32 +00:00
aspeed drivers/aspeed/common: Add AST2600 support 2024-09-26 15:09:17 +00:00
broadcom driver/acpi to /driver/gfx: Rename Makefiles from .inc to .mk 2024-01-24 10:03:39 +00:00
camera drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
crb drivers/crb/tpm: Add new method to retrieve base address 2025-07-02 16:15:09 +00:00
efi drivers/efi: Exclude verstage from EFI variable store files 2025-12-02 15:17:44 +00:00
elog elog: Handle elog in later boot phase 2025-06-05 13:36:36 +00:00
emulation/qemu drivers/emulation/qemu: Adjust fw_cfg driver for Arm and RISCV 2025-09-28 18:16:57 +00:00
generic drivers/generic/bayhub: Use boolean for power_saving 2025-07-01 15:07:44 +00:00
genesyslogic drivers/genesyslogic/gl9763e: Mask replay timer timeout of AER 2025-07-17 17:42:41 +00:00
gfx/generic drivers/gfx/generic: Use 'noop_read_resources' 2025-06-13 15:25:38 +00:00
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 sb/intel: Convert set_gpio to gpio_set 2025-07-25 17:05:54 +00:00
maxim driver/intel to /driver/ocp: Rename Makefiles from .inc to .mk 2024-01-24 10:04:10 +00:00
mipi mipi: Support passing user data to mipi_cmd_func_t 2025-12-17 06:56:00 +00:00
mrc_cache drivers/mrc_cache: Measure MRC cache as runtime data 2025-05-10 22:50:41 +00:00
net drivers/net/r8168.c: Add option to program MAC address to ERI registers 2025-04-29 22:17:48 +00:00
nxp/uwb tree: Remove unused <string.h> 2024-05-29 10:34:08 +00:00
ocp drivers/ocp/ewl: Remove space after a cast 2024-10-09 17:27:37 +00:00
option drivers/option/cfr.c: Replace memcpy() to avoid uninitialized object 2025-11-16 18:35:41 +00:00
parade driver/parade to /driver/wwan: Rename Makefiles from .inc to .mk 2024-01-24 10:04:33 +00:00
pc80 drivers/pc80/pc/keyboard.c: Add function to change a command byte bit 2025-01-22 20:45:37 +00:00
pcie drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
ricoh/rce822 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
secunet/dmi drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
siemens/nc_fpga drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
sil/3114 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
smbus console/i2c_smbus: Allow to send data w/o register offset 2024-07-11 00:06:22 +00:00
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 spi_flash: Fix initialization of flags field in lb_spi_flash 2025-08-09 01:36:39 +00:00
ti driver/parade to /driver/wwan: Rename Makefiles from .inc to .mk 2024-01-24 10:04:33 +00:00
tpm drivers/tpm: Remove duplicated op 2025-12-08 03:03:36 +00:00
uart {drivers, soc/qualcomm/common}: Add configurable delay for UART bitbang 2025-08-04 16:26:29 +00:00
usb drivers/usb/intel_bluetooth: Hook RTD3 up to the option API 2025-04-30 16:00:11 +00:00
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 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00