diff options
| author | Kaustabh Chakraborty <kauschluss@disroot.org> | 2025-07-06 21:25:35 +0300 |
|---|---|---|
| committer | Inki Dae <inki.dae@samsung.com> | 2025-09-15 13:54:37 +0300 |
| commit | 4e445729dc103ff7780ed03da9f8310759ea5dae (patch) | |
| tree | 4949f87d0d30cf011d36293dd3910a002aa272d4 /include | |
| parent | 0d9f0083f7a5a31d91d501467b499bb8c4b25bdf (diff) | |
| download | linux-4e445729dc103ff7780ed03da9f8310759ea5dae.tar.xz | |
drm/bridge: samsung-dsim: support separate LINK and DPHY status registers
Exynos7870's DSIM has separate registers for LINK and DPHY status. This
is in contrast to older variants in the driver which use a single
register for both.
Add a driver data flag which indicates that the device variant supports
the legacy status register. Change the register read calls
appropriately.
Suggested-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'include')
| -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 9764d6eb5beb..d7877191bad1 100644 --- a/include/drm/bridge/samsung-dsim.h +++ b/include/drm/bridge/samsung-dsim.h @@ -53,6 +53,7 @@ struct samsung_dsim_transfer { struct samsung_dsim_driver_data { const unsigned int *reg_ofs; unsigned int plltmr_reg; + unsigned int has_legacy_status_reg:1; unsigned int has_freqband:1; unsigned int has_clklane_stop:1; unsigned int has_broken_fifoctrl_emptyhdr:1; |
