summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Hu <andy.hu@starfivetech.com>2024-03-01 18:04:40 +0300
committerAndy Hu <andy.hu@starfivetech.com>2024-03-01 18:04:40 +0300
commitbed855172db46b571e23688d4927edde8bd00f4b (patch)
treeb0c40b95ef126f3dc9cd4d337f97bbf7715ace42
parent3ef64e3c3669a792f672c4fb2dcb75c09a16828a (diff)
parentda8555a2379073dbc8f2273735f421aab3c8adca (diff)
downloadlinux-bed855172db46b571e23688d4927edde8bd00f4b.tar.xz
Merge tag 'JH7110_SDK_6.1_v5.11.3' into vf2-6.1.y-devel
-rw-r--r--drivers/phy/m31/phy-m31-dphy-tx0.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/phy/m31/phy-m31-dphy-tx0.c b/drivers/phy/m31/phy-m31-dphy-tx0.c
index ae69ea4caf0f..13f2ca8fc48f 100644
--- a/drivers/phy/m31/phy-m31-dphy-tx0.c
+++ b/drivers/phy/m31/phy-m31-dphy-tx0.c
@@ -224,12 +224,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 = 490000000;//1188M 60fps
- bitrate = opts->mipi_dphy.hs_clk_rate;//1188M 60fps
- printk("sys_m31_dphy_tx_configure opts->mipi_dphy.hs_clk_rate = %ld\n",opts->mipi_dphy.hs_clk_rate);
+ 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);