Home
last modified time | relevance | path

Searched +full:mt8183 +full:- +full:ufsphy (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/
Dmediatek,ufs-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/phy/mediatek,ufs-phy.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: MediaTek Universal Flash Storage (UFS) M-PHY
11 - Stanley Chu <stanley.chu@mediatek.com>
12 - Chunfeng Yun <chunfeng.yun@mediatek.com>
15 UFS M-PHY nodes are defined to describe on-chip UFS M-PHY hardware macro.
16 Each UFS M-PHY node should have its own node.
17 To bind UFS M-PHY with UFS host controller, the controller node should
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dphy-mtk-ufs.txt1 MediaTek Universal Flash Storage (UFS) M-PHY binding
2 --------------------------------------------------------
4 UFS M-PHY nodes are defined to describe on-chip UFS M-PHY hardware macro.
5 Each UFS M-PHY node should have its own node.
7 To bind UFS M-PHY with UFS host controller, the controller node should
8 contain a phandle reference to UFS M-PHY node.
10 Required properties for UFS M-PHY nodes:
11 - compatible : Compatible list, contains the following controller:
12 "mediatek,mt8183-ufsphy" for ufs phy
14 - reg : Address and length of the UFS M-PHY register set.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/ufs/
Dufs-mediatek.txt3 UFS nodes are defined to describe on-chip UFS hardware macro.
7 contain a phandle reference to UFS M-PHY node.
10 - compatible : Compatible list, contains the following controller:
11 "mediatek,mt8183-ufshci" for MediaTek UFS host controller
12 present on MT8183 chipsets.
13 "mediatek,mt8192-ufshci" for MediaTek UFS host controller
15 - reg : Address and length of the UFS register set.
16 - phys : phandle to m-phy.
17 - clocks : List of phandle and clock specifier pairs.
18 - clock-names : List of clock input name strings sorted in the same
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/ufs/
Dmediatek,ufs.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Stanley Chu <stanley.chu@mediatek.com>
13 - $ref: ufs-common.yaml
18 - mediatek,mt8183-ufshci
19 - mediatek,mt8192-ufshci
24 clock-names:
26 - const: ufs
34 vcc-supply: true
[all …]
/kernel/linux/linux-6.6/drivers/phy/mediatek/
Dphy-mtk-ufs.c1 // 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()
[all …]
/kernel/linux/linux-5.10/drivers/phy/mediatek/
Dphy-mtk-ufs.c1 // SPDX-License-Identifier: GPL-2.0
43 return readl(phy->mmio + reg); in mphy_readl()
48 writel(val, phy->mmio + reg); in mphy_writel()
76 struct device *dev = phy->dev; in ufs_mtk_phy_clk_init()
78 phy->unipro_clk = devm_clk_get(dev, "unipro"); in ufs_mtk_phy_clk_init()
79 if (IS_ERR(phy->unipro_clk)) { in ufs_mtk_phy_clk_init()
81 return PTR_ERR(phy->unipro_clk); in ufs_mtk_phy_clk_init()
84 phy->mp_clk = devm_clk_get(dev, "mp"); in ufs_mtk_phy_clk_init()
85 if (IS_ERR(phy->mp_clk)) { in ufs_mtk_phy_clk_init()
87 return PTR_ERR(phy->mp_clk); in ufs_mtk_phy_clk_init()
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/
Dmt8195.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/clock/mt8195-clk.h>
9 #include <dt-bindings/gce/mt8195-gce.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/memory/mt8195-memory-port.h>
13 #include <dt-bindings/phy/phy.h>
14 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
15 #include <dt-bindings/power/mt8195-power.h>
[all …]