i-dphy.c). - Both register programming paths simply consume the new `pll_opdiv` value with no changes in encoding. - Spec and TRM alignment: Matches MIPI D‑PHY minimum data rate and the referenced TI TRM guidance to use `OPDIV=16` for 80–160 Mbps. - Stable policy fit - Fixes an important functional gap (inability to drive valid low‑rate modes). - Minimal and localized changes with clear intent and references. - No new features or ABI changes; just enabling spec‑compliant operation previously blocked by the driver. Given the above, this is an appropriate and low‑risk backport to stable kernel trees. drivers/phy/cadence/cdns-dphy.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/phy/cadence/cdns-dphy.c b/drivers/phy/cadence/cdns-dphy.c index de5389374d79d..1bd986cba8f7f 100644 --- a/drivers/phy/cadence/cdns-dphy.c +++ b/drivers/phy/cadence/cdns-dphy.c @@ -145,7 +145,7 @@ static int cdns_dsi_get_dphy_pll_cfg(struct cdns_dphy *dphy, dlane_bps = opts->hs_clk_rate; - if (dlane_bps > 2500000000UL || dlane_bps < 160000000UL) + if (dlane_bps > 2500000000UL || dlane_bps < 80000000UL) return -EINVAL; else if (dlane_bps >= 1250000000) cfg->pll_opdiv = 1; @@ -155,6 +155,8 @@ static int cdns_dsi_get_dphy_pll_cfg(struct cdns_dphy *dphy, cfg->pll_opdiv = 4; else if (dlane_bps >= 160000000) cfg->pll_opdiv = 8; + else if (dlane_bps >= 80000000) + cfg->pll_opdiv = 16; cfg->pll_fbdiv = DIV_ROUND_UP_ULL(dlane_bps * 2 * cfg->pll_opdiv * cfg->pll_ipdiv, -- 2.51.0[PATCH AUTOSEL 6.17-5.4] phy: cadence: cdns-dphy: Enable lower resolutions in dphySasha Levin undefinedpatches@lists.linux.dev, stable@vger.kernel.org undefined undefined undefined undefined undefined undefined undefined undefined undefined©QƒÆn