Home
last modified time | relevance | path

Searched +full:enable +full:- +full:manual +full:- +full:drd (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dmediatek,mtu3.txt1 The device node for Mediatek USB3.0 DRD controller
4 - compatible : should be "mediatek,<soc-model>-mtu3", "mediatek,mtu3",
5 soc-model is the name of SoC, such as mt8173, mt2712 etc,
8 - "mediatek,mt8173-mtu3"
9 - reg : specifies physical base address and size of the registers
10 - reg-names: should be "mac" for device IP and "ippc" for IP port control
11 - interrupts : interrupt used by the device IP
12 - power-domains : a phandle to USB power domain node to control USB's
14 - vusb33-supply : regulator of USB avdd3.3v
15 - clocks : a list of phandle + clock-specifier pairs, one for each
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/
Dmt2712-evb.dts5 * SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
14 chassis-type = "embedded";
15 compatible = "mediatek,mt2712-evb", "mediatek,mt2712";
27 stdout-path = "serial0:921600n8";
30 cpus_fixed_vproc0: regulator-vproc-buck0 {
31 compatible = "regulator-fixed";
32 regulator-name = "vproc_buck0";
33 regulator-min-microvolt = <1000000>;
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/
Dmt2712-evb.dts5 * SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
14 compatible = "mediatek,mt2712-evb", "mediatek,mt2712";
26 stdout-path = "serial0:921600n8";
29 cpus_fixed_vproc0: regulator-vproc-buck0 {
30 compatible = "regulator-fixed";
31 regulator-name = "vproc_buck0";
32 regulator-min-microvolt = <1000000>;
33 regulator-max-microvolt = <1000000>;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/
Dmediatek,mtu3.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: MediaTek USB3 DRD Controller
11 - Chunfeng Yun <chunfeng.yun@mediatek.com>
14 - $ref: usb-drd.yaml
17 The DRD controller has a glue layer IPPC (IP Port Control), and its host is
23 - enum:
24 - mediatek,mt2712-mtu3
25 - mediatek,mt8173-mtu3
[all …]
/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3_plat.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/dma-mapping.h>
21 /* u2-port0 should be powered on and enabled; */
24 void __iomem *ibase = ssusb->ippc_base; in ssusb_check_clocks()
34 dev_err(ssusb->dev, "clks of sts1 are not stable!\n"); in ssusb_check_clocks()
41 dev_err(ssusb->dev, "mac2 clock is not stable\n"); in ssusb_check_clocks()
53 for (i = 0; i < ssusb->num_phys; i++) { in ssusb_phy_init()
54 ret = phy_init(ssusb->phys[i]); in ssusb_phy_init()
61 for (; i > 0; i--) in ssusb_phy_init()
62 phy_exit(ssusb->phys[i - 1]); in ssusb_phy_init()
[all …]
Dmtu3_debugfs.c1 // SPDX-License-Identifier: GPL-2.0
3 * mtu3_debugfs.c - debugfs interface
80 struct mtu3 *mtu = sf->private; in mtu3_link_state_show()
81 void __iomem *mbase = mtu->mac_base; in mtu3_link_state_show()
92 struct mtu3 *mtu = sf->private; in mtu3_ep_used_show()
98 spin_lock_irqsave(&mtu->lock, flags); in mtu3_ep_used_show()
100 for (i = 0; i < mtu->num_eps; i++) { in mtu3_ep_used_show()
101 mep = mtu->in_eps + i; in mtu3_ep_used_show()
102 if (mep->flags & MTU3_EP_ENABLED) { in mtu3_ep_used_show()
103 seq_printf(sf, "%s - type: %d\n", mep->name, mep->type); in mtu3_ep_used_show()
[all …]
/kernel/linux/linux-6.6/drivers/usb/mtu3/
Dmtu3_plat.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/dma-mapping.h>
22 /* u2-port0 should be powered on and enabled; */
25 void __iomem *ibase = ssusb->ippc_base; in ssusb_check_clocks()
35 dev_err(ssusb->dev, "clks of sts1 are not stable!\n"); in ssusb_check_clocks()
42 dev_err(ssusb->dev, "mac2 clock is not stable\n"); in ssusb_check_clocks()
55 if (!ssusb->is_host) in wait_for_ip_sleep()
62 ret = readl_poll_timeout(ssusb->ippc_base + U3D_SSUSB_IP_PW_STS1, value, in wait_for_ip_sleep()
65 dev_err(ssusb->dev, "ip sleep failed!!!\n"); in wait_for_ip_sleep()
66 ret = -EBUSY; in wait_for_ip_sleep()
[all …]
Dmtu3_debugfs.c1 // SPDX-License-Identifier: GPL-2.0
3 * mtu3_debugfs.c - debugfs interface
81 struct mtu3 *mtu = sf->private; in mtu3_link_state_show()
82 void __iomem *mbase = mtu->mac_base; in mtu3_link_state_show()
93 struct mtu3 *mtu = sf->private; in mtu3_ep_used_show()
99 spin_lock_irqsave(&mtu->lock, flags); in mtu3_ep_used_show()
101 for (i = 0; i < mtu->num_eps; i++) { in mtu3_ep_used_show()
102 mep = mtu->in_eps + i; in mtu3_ep_used_show()
103 if (mep->flags & MTU3_EP_ENABLED) { in mtu3_ep_used_show()
104 seq_printf(sf, "%s - type: %s\n", mep->name, usb_ep_type_string(mep->type)); in mtu3_ep_used_show()
[all …]