On 2026-11-16 18:46 +0530, Nabige Aala wrote: > From: Ritesh Kumar <[email protected]> > > Add tx_res_config() and set_voltages() callbacks to phy_ver_ops so > SoCs with different register layouts can override TX resistor > calibration and TX drive-level writes independently. > > Move the TX_BAND and RES_CODE/TX_EMP writes out of the common > power-on path into qcom_edp_tx_res_config_default(), which is > assigned to all existing SoC ops tables. Likewise, dispatch > set_voltages() through the ops pointer in qcom_edp_set_voltages() > before falling back to the default TXn_TX_DRV_LVL writes. > > Add phy_status_reg, tx2_tx3_lane_ctl and bias1_en_2lane fields to > qcom_edp_phy_cfg so the power-on path reads register offsets and > the 2-lane bias value from the per-SoC config rather than using > hardcoded constants. Populate these fields for all existing SoC > configs with the current values, preserving existing behaviour. > > No functional change for existing SoCs. > > Signed-off-by: Ritesh Kumar <[email protected]> > Signed-off-by: Nabige Aala <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]> - Mani
