aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKaustabh Chakraborty <kauschluss@disroot.org>2025-07-06 23:55:42 +0530
committerInki Dae <inki.dae@samsung.com>2025-09-15 19:55:04 +0900
commitf7754d843a05c685ba453be176a29ae157f88b0c (patch)
treee4762f83c9f1f019bcc55a80eed413a918590501 /include
parentdrm/bridge: samsung-dsim: allow configuring PLL_M and PLL_S offsets (diff)
downloadlinux-f7754d843a05c685ba453be176a29ae157f88b0c.tar.gz
linux-f7754d843a05c685ba453be176a29ae157f88b0c.zip
drm/bridge: samsung-dsim: allow configuring the PLL_STABLE bit
The PLL_STABLE bit of DSIM_DPHY_STATUS is hardcoded to BIT(31), but Exynos7870's DSIM has it in BIT(24) as per downstream kernel sources. In order to support both, move this bit 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')
-rw-r--r--include/drm/bridge/samsung-dsim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/bridge/samsung-dsim.h b/include/drm/bridge/samsung-dsim.h
index 000ada3ece4d..04ed11787bbd 100644
--- a/include/drm/bridge/samsung-dsim.h
+++ b/include/drm/bridge/samsung-dsim.h
@@ -65,6 +65,7 @@ struct samsung_dsim_driver_data {
unsigned int wait_for_reset;
unsigned int num_bits_resol;
unsigned int video_mode_bit;
+ unsigned int pll_stable_bit;
unsigned int esc_clken_bit;
unsigned int byte_clken_bit;
unsigned int tx_req_hsclk_bit;