diff options
| author | Kaustabh Chakraborty <kauschluss@disroot.org> | 2025-07-06 23:55:39 +0530 |
|---|---|---|
| committer | Inki Dae <inki.dae@samsung.com> | 2025-09-15 19:54:52 +0900 |
| commit | 4d244122dd90c72f6c3f10eb7a53678d78d3b857 (patch) | |
| tree | e05397861c6b2bbb0a036a5facca57abafb43438 /include/drm/bridge | |
| parent | f6ba4c1577a8184105133a79b5d1b6d465158362 (diff) | |
| download | linux-4d244122dd90c72f6c3f10eb7a53678d78d3b857.tar.gz linux-4d244122dd90c72f6c3f10eb7a53678d78d3b857.tar.bz2 linux-4d244122dd90c72f6c3f10eb7a53678d78d3b857.zip | |
drm/bridge: samsung-dsim: allow configuring the MAIN_VSA offset
The MAIN_VSA offset of DSIM_MSYNC is hardcoded to a 22-bit offset, but
Exynos7870's DSIM has it in a 16-bit offset as per the downstream kernel
sources.
In order to support both, move this offset value to the driver data
struct and define it for every driver compatible. Reference the value
from there instead, in functions wherever required.
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'include/drm/bridge')
| -rw-r--r-- | include/drm/bridge/samsung-dsim.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/bridge/samsung-dsim.h b/include/drm/bridge/samsung-dsim.h index b1e64c7f9931..7f6d353f34af 100644 --- a/include/drm/bridge/samsung-dsim.h +++ b/include/drm/bridge/samsung-dsim.h @@ -70,6 +70,7 @@ struct samsung_dsim_driver_data { unsigned int lane_esc_clk_bit; unsigned int lane_esc_data_offset; unsigned int pll_p_offset; + unsigned int main_vsa_offset; const unsigned int *reg_values; unsigned int pll_fin_min; unsigned int pll_fin_max; |
