diff options
author | kJugg <keith.zhao@starfivetech.com> | 2022-01-06 09:18:03 +0300 |
---|---|---|
committer | kJugg <keith.zhao@starfivetech.com> | 2022-01-06 09:18:03 +0300 |
commit | 5a113a2dd3d0b8b71ed4b17856ebccf797d7289e (patch) | |
tree | c3d250c871b9959c5b9aa8aa542b768d1700f267 /drivers/phy | |
parent | 9311a08de4961a1bc48681162ed6b1a08109efb0 (diff) | |
download | linux-5a113a2dd3d0b8b71ed4b17856ebccf797d7289e.tar.xz |
riscv:driver:drm:starfive:mipi driver
1. add mipi driver support in starfive drm
2. support build starfive drm as ko module
Signed-off-by:kzhao<keith.zhao@statfivetech.com>
Diffstat (limited to 'drivers/phy')
-rw-r--r--[-rwxr-xr-x] | drivers/phy/m31/Kconfig | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | drivers/phy/m31/Makefile | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | drivers/phy/m31/phy-m31-dphy-tx0.c | 2 |
3 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/m31/Kconfig b/drivers/phy/m31/Kconfig index e6e457669e70..e6e457669e70 100755..100644 --- a/drivers/phy/m31/Kconfig +++ b/drivers/phy/m31/Kconfig diff --git a/drivers/phy/m31/Makefile b/drivers/phy/m31/Makefile index 7ce3391ac42f..7ce3391ac42f 100755..100644 --- a/drivers/phy/m31/Makefile +++ b/drivers/phy/m31/Makefile diff --git a/drivers/phy/m31/phy-m31-dphy-tx0.c b/drivers/phy/m31/phy-m31-dphy-tx0.c index 89faa77896a5..e82e1da50c66 100755..100644 --- a/drivers/phy/m31/phy-m31-dphy-tx0.c +++ b/drivers/phy/m31/phy-m31-dphy-tx0.c @@ -413,8 +413,8 @@ static void polling_dphy_lock(struct sf_dphy *priv) static int sf_dphy_configure(struct phy *phy, union phy_configure_opts *opts) { struct sf_dphy *dphy = phy_get_drvdata(phy); + uint32_t bit_rate = 800000000/1000000UL;//new mipi panel clock setting - uint32_t bit_rate = 700000000/1000000UL;//(1920 * 1080 * bpp / dlanes * fps / 1000000 + 99) / 100 * 100; dphy_config(dphy, bit_rate); reset_dphy(dphy, 1); |