Home
last modified time | relevance | path

Searched +full:mt7621 +full:- +full:pci (Results 1 – 25 of 38) sorted by relevance

12

/kernel/linux/linux-6.6/arch/mips/boot/dts/ralink/
Dmt7621.dtsi1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 #include <dt-bindings/interrupt-controller/mips-gic.h>
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/clock/mt7621-clk.h>
5 #include <dt-bindings/reset/mt7621-reset.h>
8 #address-cells = <1>;
9 #size-cells = <1>;
10 compatible = "mediatek,mt7621-soc";
13 #address-cells = <1>;
14 #size-cells = <0>;
[all …]
/kernel/linux/linux-5.10/drivers/staging/mt7621-dts/
Dmt7621.dtsi1 #include <dt-bindings/interrupt-controller/mips-gic.h>
2 #include <dt-bindings/gpio/gpio.h>
5 #address-cells = <1>;
6 #size-cells = <1>;
7 compatible = "mediatek,mt7621-soc";
20 #address-cells = <0>;
21 #interrupt-cells = <1>;
22 interrupt-controller;
23 compatible = "mti,cpu-interrupt-controller";
31 #clock-cells = <0>;
[all …]
/kernel/linux/linux-5.10/drivers/staging/mt7621-pci-phy/
Dmediatek,mt7621-pci-phy.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: "http://devicetree.org/schemas/phy/mediatek,mt7621-pci-phy.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Mediatek Mt7621 PCIe PHY Device Tree Bindings
10 - Sergio Paracuellos <sergio.paracuellos@gmail.com>
14 const: mediatek,mt7621-pci-phy
19 "#phy-cells":
21 description: selects if the phy is dual-ported
24 - compatible
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0
3 tristate "MediaTek MT7621 PCI PHY Driver"
7 Say 'Y' here to add support for MediaTek MT7621 PCI PHY driver,
Dpci-mt7621-phy.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Mediatek MT7621 PCI PHY Driver
7 #include <dt-bindings/phy/phy.h>
16 #include <mt7621.h>
84 * struct mt7621_pci_phy - Mt7621 Pcie PHY core
106 regmap_read(phy->regmap, reg, &val); in phy_read()
113 regmap_write(phy->regmap, reg, val); in phy_write()
131 if (phy->has_dual_port) { in mt7621_bypass_pipe_rst()
141 struct device *dev = phy->dev; in mt7621_set_phy_for_ssc()
157 if (phy->has_dual_port) { in mt7621_set_phy_for_ssc()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_PCI_MT7621_PHY) += pci-mt7621-phy.o
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pci/
Dmediatek,mt7621-pcie.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pci/mediatek,mt7621-pcie.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT7621 PCIe controller
10 - Sergio Paracuellos <sergio.paracuellos@gmail.com>
13 MediaTek MT7621 PCIe subsys supports a single Root Complex (RC)
14 with 3 Root Ports. Each Root Port supports a Gen1 1-lane Link
17 - $ref: /schemas/pci/pci-bus.yaml#
21 const: mediatek,mt7621-pci
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/
Dmediatek,mt7621-pci-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/phy/mediatek,mt7621-pci-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek Mt7621 PCIe PHY
10 - Sergio Paracuellos <sergio.paracuellos@gmail.com>
14 const: mediatek,mt7621-pci-phy
22 "#phy-cells":
24 description: selects if the phy is dual-ported
27 - compatible
[all …]
/kernel/linux/linux-5.10/drivers/staging/mt7621-pci/
Dmediatek,mt7621-pci.txt1 MediaTek MT7621 PCIe controller
4 - compatible: "mediatek,mt7621-pci"
5 - device_type: Must be "pci"
6 - reg: Base addresses and lengths of the PCIe subsys and root ports.
7 - bus-range: Range of bus numbers associated with this controller.
8 - #address-cells: Address representation for root ports (must be 3)
9 - pinctrl-names : The pin control state names.
10 - pinctrl-0: The "default" pinctrl state.
11 - #size-cells: Size representation for root ports (must be 2)
12 - ranges: Ranges for the PCI memory and I/O regions.
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0
3 tristate "MediaTek MT7621 PCI Controller"
7 This selects a driver for the MediaTek MT7621 PCI Controller.
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_PCI_MT7621) += pci-mt7621.o
Dpci-mt7621.c1 // SPDX-License-Identifier: GPL-2.0+
4 * PCI init for Ralink RT2880 solution
28 #include <linux/pci.h>
33 #include <mt7621.h>
36 #include "../../pci/pci.h"
49 /* Host-PCI bridge registers */
92 * struct mt7621_pcie_port - PCIe port information
116 * struct mt7621_pcie - PCIe host information
119 * @mem: non-prefetchable memory resource
147 return readl(pcie->base + reg); in pcie_read()
[all …]
/kernel/linux/linux-5.10/drivers/staging/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
4 obj-y += media/
5 obj-$(CONFIG_PRISM2_USB) += wlan-ng/
6 obj-$(CONFIG_COMEDI) += comedi/
7 obj-$(CONFIG_FB_OLPC_DCON) += olpc_dcon/
8 obj-$(CONFIG_RTL8192U) += rtl8192u/
9 obj-$(CONFIG_RTL8192E) += rtl8192e/
10 obj-$(CONFIG_RTL8723BS) += rtl8723bs/
11 obj-$(CONFIG_R8712U) += rtl8712/
12 obj-$(CONFIG_R8188EU) += rtl8188eu/
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0
27 source "drivers/staging/wlan-ng/Kconfig"
47 source "drivers/staging/octeon-usb/Kconfig"
79 source "drivers/staging/clocking-wizard/Kconfig"
83 source "drivers/staging/fsl-dpaa2/Kconfig"
95 source "drivers/staging/mt7621-pci/Kconfig"
97 source "drivers/staging/mt7621-pci-phy/Kconfig"
99 source "drivers/staging/mt7621-pinctrl/Kconfig"
101 source "drivers/staging/mt7621-dma/Kconfig"
103 source "drivers/staging/ralink-gdma/Kconfig"
[all …]
/kernel/linux/linux-6.6/drivers/phy/ralink/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 tristate "MediaTek MT7621 PCI PHY Driver"
11 Say 'Y' here to add support for MediaTek MT7621 PCI PHY driver,
Dphy-mt7621-pci.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Mediatek MT7621 PCI PHY Driver
7 #include <dt-bindings/phy/phy.h>
66 * struct mt7621_pci_phy - Mt7621 Pcie PHY core
95 * pci setup. Avoid to mask 'set' before set value to 'val' in mt7621_phy_rmw()
98 regmap_read(phy->regmap, reg, &val); in mt7621_phy_rmw()
101 regmap_write(phy->regmap, reg, val); in mt7621_phy_rmw()
109 if (phy->has_dual_port) { in mt7621_bypass_pipe_rst()
119 struct device *dev = phy->dev; in mt7621_set_phy_for_ssc()
122 clk_rate = clk_get_rate(phy->sys_clk); in mt7621_set_phy_for_ssc()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
2 obj-$(CONFIG_PHY_MT7621_PCI) += phy-mt7621-pci.o
3 obj-$(CONFIG_PHY_RALINK_USB) += phy-ralink-usb.o
/kernel/linux/linux-6.6/arch/mips/ralink/
Dmt7621.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/pci.h>
18 #include <asm/smp-ops.h>
19 #include <asm/mips-cps.h>
20 #include <asm/mach-ralink/ralink_regs.h>
21 #include <asm/mach-ralink/mt7621.h>
35 entry = resource_list_first_type(&bridge->windows, IORESOURCE_MEM); in pcibios_root_bridge_prepare()
38 return -EINVAL; in pcibios_root_bridge_prepare()
46 mask = ~(entry->res->end - entry->res->start) & CM_GCR_REGn_MASK_ADDRMASK; in pcibios_root_bridge_prepare()
47 WARN_ON(mask && BIT(ffz(~mask)) - 1 != ~mask); in pcibios_root_bridge_prepare()
[all …]
/kernel/linux/linux-6.6/drivers/pci/controller/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
3 menu "PCI controller drivers"
4 depends on PCI
45 system-on-chips, like the Apple M1. This is required for the USB
46 type-A ports, Ethernet, Wi-Fi, and Bluetooth.
51 bool "ARM Versatile PB PCI controller"
102 bool "Cavium Thunder PCIe controller to off-chip devices"
110 bool "Cavium Thunder ECAM controller to on-chip devices on pass-1.x silicon"
115 Say Y here if you want ECAM support for CN88XX-Pass-1.x Cavium Thunder SoCs.
118 bool "Faraday Technology FTPCI100 PCI controller"
[all …]
Dpcie-mt7621.c1 // SPDX-License-Identifier: GPL-2.0+
4 * PCI init for Ralink RT2880 solution
27 #include <linux/pci.h>
33 #include "../pci.h"
35 /* MediaTek-specific configuration registers */
40 /* Host-PCI bridge registers */
67 * struct mt7621_pcie_port - PCIe port information
91 * struct mt7621_pcie - PCIe host information
107 return readl_relaxed(pcie->base + reg); in pcie_read()
112 writel_relaxed(val, pcie->base + reg); in pcie_write()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_PCIE_CADENCE) += cadence/
3 obj-$(CONFIG_PCI_FTPCI100) += pci-ftpci100.o
4 obj-$(CONFIG_PCI_IXP4XX) += pci-ixp4xx.o
5 obj-$(CONFIG_PCI_HYPERV) += pci-hyperv.o
6 obj-$(CONFIG_PCI_HYPERV_INTERFACE) += pci-hyperv-intf.o
7 obj-$(CONFIG_PCI_MVEBU) += pci-mvebu.o
8 obj-$(CONFIG_PCI_AARDVARK) += pci-aardvark.o
9 obj-$(CONFIG_PCI_TEGRA) += pci-tegra.o
10 obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
7 obj-$(CONFIG_I2C_SCMI) += i2c-scmi.o
10 obj-$(CONFIG_I2C_ALI1535) += i2c-ali1535.o
11 obj-$(CONFIG_I2C_ALI1563) += i2c-ali1563.o
12 obj-$(CONFIG_I2C_ALI15X3) += i2c-ali15x3.o
13 obj-$(CONFIG_I2C_AMD756) += i2c-amd756.o
14 obj-$(CONFIG_I2C_AMD756_S4882) += i2c-amd756-s4882.o
15 obj-$(CONFIG_I2C_AMD8111) += i2c-amd8111.o
16 obj-$(CONFIG_I2C_CHT_WC) += i2c-cht-wc.o
17 obj-$(CONFIG_I2C_I801) += i2c-i801.o
[all …]
/kernel/linux/linux-6.6/drivers/i2c/busses/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
7 obj-$(CONFIG_I2C_SCMI) += i2c-scmi.o
10 obj-$(CONFIG_I2C_CCGX_UCSI) += i2c-ccgx-ucsi.o
13 obj-$(CONFIG_I2C_ALI1535) += i2c-ali1535.o
14 obj-$(CONFIG_I2C_ALI1563) += i2c-ali1563.o
15 obj-$(CONFIG_I2C_ALI15X3) += i2c-ali15x3.o
16 obj-$(CONFIG_I2C_AMD756) += i2c-amd756.o
17 obj-$(CONFIG_I2C_AMD756_S4882) += i2c-amd756-s4882.o
18 obj-$(CONFIG_I2C_AMD8111) += i2c-amd8111.o
19 obj-$(CONFIG_I2C_CHT_WC) += i2c-cht-wc.o
[all …]
/kernel/linux/linux-6.6/drivers/spi/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG
8 # small core, mostly translating board-specific
10 obj-$(CONFIG_SPI_MASTER) += spi.o
11 obj-$(CONFIG_SPI_MEM) += spi-mem.o
12 obj-$(CONFIG_SPI_MUX) += spi-mux.o
13 obj-$(CONFIG_SPI_SPIDEV) += spidev.o
14 obj-$(CONFIG_SPI_LOOPBACK_TEST) += spi-loopback-test.o
17 obj-$(CONFIG_SPI_ALTERA) += spi-altera-platform.o
18 obj-$(CONFIG_SPI_ALTERA_CORE) += spi-altera-core.o
[all …]
/kernel/linux/linux-5.10/drivers/spi/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG
8 # small core, mostly translating board-specific
10 obj-$(CONFIG_SPI_MASTER) += spi.o
11 obj-$(CONFIG_SPI_MEM) += spi-mem.o
12 obj-$(CONFIG_SPI_MUX) += spi-mux.o
13 obj-$(CONFIG_SPI_SPIDEV) += spidev.o
14 obj-$(CONFIG_SPI_LOOPBACK_TEST) += spi-loopback-test.o
17 obj-$(CONFIG_SPI_ALTERA) += spi-altera.o
18 obj-$(CONFIG_SPI_AR934X) += spi-ar934x.o
[all …]

12