diff options
author | andy.hu <andy.hu@starfivetech.com> | 2024-03-01 17:33:07 +0300 |
---|---|---|
committer | andy.hu <andy.hu@starfivetech.com> | 2024-03-01 17:33:07 +0300 |
commit | da8555a2379073dbc8f2273735f421aab3c8adca (patch) | |
tree | f6f3e14f84071d2b8bbdf8a7e051465efceb0476 | |
parent | 726aa953f50ad46ef112c661444fd0feb50d4ad5 (diff) | |
parent | 447bfe55448f1b2c99283fa88258fb05d769bfb7 (diff) | |
download | linux-da8555a2379073dbc8f2273735f421aab3c8adca.tar.xz |
Merge branch 'CR_9543_VOUT_MIPI_6-1_EVB_Keith' into 'jh7110-6.1.y-devel'
CR_9543 vout: mipi: update dphy config
See merge request sdk/linux!1028
-rw-r--r-- | drivers/phy/m31/phy-m31-dphy-tx0.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/phy/m31/phy-m31-dphy-tx0.c b/drivers/phy/m31/phy-m31-dphy-tx0.c index b043f95518ec..f86fd8d83a7a 100644 --- a/drivers/phy/m31/phy-m31-dphy-tx0.c +++ b/drivers/phy/m31/phy-m31-dphy-tx0.c @@ -526,8 +526,9 @@ static int sys_m31_dphy_tx_configure(struct phy *phy, union phy_configure_opts * const struct m31_dphy_config *p; const uint32_t AON_POWER_READY_N_active = 0; dphy = phy_get_drvdata(phy); - //bitrate = 680000000;//1228M 60fps - bitrate = 750000000;//1188M 60fps + + bitrate = opts->mipi_dphy.hs_clk_rate;//1188M 60fps + dev_info(dphy->dev, "%s bitrate = %ld\n", __func__, bitrate); sf_dphy_set_reg(dphy->topsys + 0x8, 0x10, RG_CDTX_L0N_HSTX_RES_SHIFT, RG_CDTX_L0N_HSTX_RES_MASK); |