Lines Matching +full:mt8183 +full:- +full:ufsphy
1 // SPDX-License-Identifier: GPL-2.0
15 #include "phy-mtk-io.h"
52 struct device *dev = phy->dev; in ufs_mtk_phy_clk_init()
53 struct clk_bulk_data *clks = phy->clks; in ufs_mtk_phy_clk_init()
62 void __iomem *mmio = phy->mmio; in ufs_mtk_phy_set_active()
93 void __iomem *mmio = phy->mmio; in ufs_mtk_phy_set_deep_hibern()
124 ret = clk_bulk_prepare_enable(UFSPHY_CLKS_CNT, phy->clks); in ufs_mtk_phy_power_on()
139 clk_bulk_disable_unprepare(UFSPHY_CLKS_CNT, phy->clks); in ufs_mtk_phy_power_off()
152 struct device *dev = &pdev->dev; in ufs_mtk_phy_probe()
160 return -ENOMEM; in ufs_mtk_phy_probe()
162 phy->mmio = devm_platform_ioremap_resource(pdev, 0); in ufs_mtk_phy_probe()
163 if (IS_ERR(phy->mmio)) in ufs_mtk_phy_probe()
164 return PTR_ERR(phy->mmio); in ufs_mtk_phy_probe()
166 phy->dev = dev; in ufs_mtk_phy_probe()
184 {.compatible = "mediatek,mt8183-ufsphy"},