aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2025-02-14 15:08:43 +0000
committerAbhinav Kumar <[email protected]>2025-02-15 19:46:42 +0000
commit73f69c6be2a9f22c31c775ec03c6c286bfe12cfa (patch)
treef6d4c67efe9f5048a38cb70aacf4bf9a004683c4 /net/switchdev/switchdev.c
parentdrm/msm/dsi/phy: Protect PHY_CMN_CLK_CFG1 against clock driver (diff)
downloadkernel-73f69c6be2a9f22c31c775ec03c6c286bfe12cfa.tar.gz
kernel-73f69c6be2a9f22c31c775ec03c6c286bfe12cfa.zip
drm/msm/dsi/phy: Do not overwite PHY_CMN_CLK_CFG1 when choosing bitclk source
PHY_CMN_CLK_CFG1 register has four fields being used in the driver: DSI clock divider, source of bitclk and two for enabling the DSI PHY PLL clocks. dsi_7nm_set_usecase() sets only the source of bitclk, so should leave all other bits untouched. Use newly introduced dsi_pll_cmn_clk_cfg1_update() to update respective bits without overwriting the rest. While shuffling the code, define and use PHY_CMN_CLK_CFG1 bitfields to make the code more readable and obvious. Fixes: 1ef7c99d145c ("drm/msm/dsi: add support for 7nm DSI PHY/PLL") Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/637380/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abhinav Kumar <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions