| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/spi/ |
| D | ralink,mt7621-spi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/ralink,mt7621-spi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 - Sergio Paracuellos <sergio.paracuellos@gmail.com> 10 title: Mediatek MT7621/MT7628 SPI controller 13 - $ref: /schemas/spi/spi-controller.yaml# 17 const: ralink,mt7621-spi 25 clock-names: 26 const: spi [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/ |
| D | spi-mt7621.txt | 1 Binding for MTK SPI controller (MT7621 MIPS) 4 - compatible: Should be one of the following: 5 - "ralink,mt7621-spi": for mt7621/mt7628/mt7688 platforms 6 - #address-cells: should be 1. 7 - #size-cells: should be 0. 8 - reg: Address and length of the register set for the device 9 - resets: phandle to the reset controller asserting this device in 14 - cs-gpios: see spi-bus.txt. 18 - SoC Specific Portion: 19 spi0: spi@b00 { [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/mt7621-dts/ |
| D | mt7621.dtsi | 1 #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 …]
|
| D | gbpc2.dts | 1 /dts-v1/; 3 #include "mt7621.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 9 compatible = "gnubee,gb-pc2", "mediatek,mt7621-soc"; 10 model = "GB-PC2"; 28 gpio-keys { 29 compatible = "gpio-keys"; 47 #address-cells = <1>; 48 #size-cells = <1>; [all …]
|
| D | gbpc1.dts | 1 /dts-v1/; 3 #include "mt7621.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 9 compatible = "gnubee,gb-pc1", "mediatek,mt7621-soc"; 10 model = "GB-PC1"; 28 gpio-keys { 29 compatible = "gpio-keys"; 38 gpio-leds { 39 compatible = "gpio-leds"; [all …]
|
| /kernel/linux/linux-6.6/arch/mips/boot/dts/ralink/ |
| D | mt7621.dtsi | 1 // 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 …]
|
| D | mt7628a.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #address-cells = <1>; 5 #size-cells = <1>; 6 compatible = "ralink,mt7628a-soc"; 9 #address-cells = <1>; 10 #size-cells = <0>; 19 resetc: reset-controller { 20 compatible = "ralink,rt2880-reset"; 21 #reset-cells = <1>; 24 cpuintc: interrupt-controller { [all …]
|
| D | mt7621-gnubee-gb-pc1.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /dts-v1/; 4 #include "mt7621.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 10 compatible = "gnubee,gb-pc1", "mediatek,mt7621-soc"; 11 model = "GB-PC1"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 key-reset { [all …]
|
| D | mt7621-gnubee-gb-pc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /dts-v1/; 4 #include "mt7621.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 10 compatible = "gnubee,gb-pc2", "mediatek,mt7621-soc"; 11 model = "GB-PC2"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 key-reset { [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | mediatek,mt7621-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7621-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek MT7621 Pin Controller 10 - Arınç ÜNAL <arinc.unal@arinc9.com> 11 - Sergio Paracuellos <sergio.paracuellos@gmail.com> 14 MediaTek MT7621 pin controller for MT7621 SoC. 20 const: ralink,mt7621-pinctrl 23 '-pins$': [all …]
|
| /kernel/linux/linux-6.6/drivers/spi/ |
| D | spi-mt7621.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // spi-mt7621.c -- MediaTek MT7621 SPI controller driver 6 // Copyright (C) 2011-2013 Gabor Juhos <juhosg@openwrt.org> 7 // Copyright (C) 2014-2015 Felix Fietkau <nbd@nbd.name> 9 // Some parts are based on spi-orion.c: 11 // Copyright (C) 2007-2008 Marvell Ltd. 21 #include <linux/spi/spi.h> 23 #define DRIVER_NAME "spi-mt7621" 63 static inline struct mt7621_spi *spidev_to_mt7621_spi(struct spi_device *spi) in spidev_to_mt7621_spi() argument 65 return spi_controller_get_devdata(spi->master); in spidev_to_mt7621_spi() [all …]
|
| D | spi-ar934x.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // SPI controller driver for Qualcomm Atheros AR934x/QCA95xx SoCs 7 // Based on spi-mt7621.c: 9 // Copyright (C) 2011-2013 Gabor Juhos <juhosg@openwrt.org> 10 // Copyright (C) 2014-2015 Felix Fietkau <nbd@nbd.name> 19 #include <linux/spi/spi.h> 21 #define DRIVER_NAME "spi-ar934x" 53 int div = DIV_ROUND_UP(sp->clk_freq, freq * 2) - 1; in ar934x_spi_clk_div() 58 return -EINVAL; in ar934x_spi_clk_div() 63 static int ar934x_spi_setup(struct spi_device *spi) in ar934x_spi_setup() argument [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for kernel SPI drivers. 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 16 # SPI master controller drivers (bus) [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # SPI driver configuration 5 menuconfig SPI config 6 bool "SPI support" 10 protocol. Chips that support SPI can have data transfer rates 12 controller and a chipselect. Most SPI slaves don't support 13 dynamic device discovery; some are even write-only or read-only. 15 SPI is widely used by microcontrollers to talk with sensors, 17 chips, analog to digital (and d-to-a) converters, and more. 18 MMC and SD cards can be accessed using SPI protocol; and for [all …]
|
| /kernel/linux/linux-5.10/drivers/spi/ |
| D | spi-mt7621.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // spi-mt7621.c -- MediaTek MT7621 SPI controller driver 6 // Copyright (C) 2011-2013 Gabor Juhos <juhosg@openwrt.org> 7 // Copyright (C) 2014-2015 Felix Fietkau <nbd@nbd.name> 9 // Some parts are based on spi-orion.c: 11 // Copyright (C) 2007-2008 Marvell Ltd. 19 #include <linux/spi/spi.h> 21 #define DRIVER_NAME "spi-mt7621" 62 static inline struct mt7621_spi *spidev_to_mt7621_spi(struct spi_device *spi) in spidev_to_mt7621_spi() argument 64 return spi_controller_get_devdata(spi->master); in spidev_to_mt7621_spi() [all …]
|
| D | spi-ar934x.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // SPI controller driver for Qualcomm Atheros AR934x/QCA95xx SoCs 7 // Based on spi-mt7621.c: 9 // Copyright (C) 2011-2013 Gabor Juhos <juhosg@openwrt.org> 10 // Copyright (C) 2014-2015 Felix Fietkau <nbd@nbd.name> 18 #include <linux/spi/spi.h> 20 #define DRIVER_NAME "spi-ar934x" 52 int div = DIV_ROUND_UP(sp->clk_freq, freq * 2) - 1; in ar934x_spi_clk_div() 57 return -EINVAL; in ar934x_spi_clk_div() 62 static int ar934x_spi_setup(struct spi_device *spi) in ar934x_spi_setup() argument [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for kernel SPI drivers. 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 16 # SPI master controller drivers (bus) [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # SPI driver configuration 5 menuconfig SPI config 6 bool "SPI support" 10 protocol. Chips that support SPI can have data transfer rates 12 controller and a chipselect. Most SPI slaves don't support 13 dynamic device discovery; some are even write-only or read-only. 15 SPI is widely used by microcontrollers to talk with sensors, 17 chips, analog to digital (and d-to-a) converters, and more. 18 MMC and SD cards can be accessed using SPI protocol; and for [all …]
|
| /kernel/linux/linux-5.10/arch/mips/ralink/ |
| D | mt7621.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <asm/smp-ops.h> 15 #include <asm/mips-cps.h> 16 #include <asm/mach-ralink/ralink_regs.h> 17 #include <asm/mach-ralink/mt7621.h> 76 FUNC("spi", 0, 34, 7), 100 GRP_G("spi", spi_grp, MT7621_GPIO_MODE_SPI_MASK, 115 rt_sysc_membase = plat_of_remap_node("mtk,mt7621-sysc"); in ralink_of_remap() 116 rt_memc_membase = plat_of_remap_node("mtk,mt7621-memc"); in ralink_of_remap() 131 soc_dev_attr->soc_id = "mt7621"; in soc_dev_init() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/boot/dts/ralink/ |
| D | mt7628a.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #address-cells = <1>; 5 #size-cells = <1>; 6 compatible = "ralink,mt7628a-soc"; 9 #address-cells = <1>; 10 #size-cells = <0>; 19 resetc: reset-controller { 20 compatible = "ralink,rt2880-reset"; 21 #reset-cells = <1>; 24 cpuintc: interrupt-controller { [all …]
|
| /kernel/linux/linux-5.10/drivers/net/dsa/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 tristate "DSA mock-up Ethernet switch chip support" 24 This enables support for a fake mock-up switch chip which 36 tristate "MediaTek MT753x and MT7621 Ethernet switch support" 41 This enables support for the MediaTek MT7530, MT7531, and MT7621 80 This enables support for the Realtek SMI-based switch 92 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode" 101 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode" 119 tristate "Vitesse VSC7385/7388/7395/7398 SPI mode support" 121 depends on SPI [all …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/mediatek/ |
| D | pinctrl-mt7621.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "pinctrl-mtmips.h" 61 FUNC("spi", 0, 34, 7), 85 GRP_G("spi", spi_grp, MT7621_GPIO_MODE_SPI_MASK, 99 { .compatible = "ralink,mt7621-pinctrl" }, 100 { .compatible = "ralink,rt2880-pinmux" }, 108 .name = "mt7621-pinctrl",
|
| /kernel/linux/linux-6.6/drivers/clk/ralink/ |
| D | clk-mt7621.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Mediatek MT7621 Clock Driver 9 #include <linux/clk-provider.h> 14 #include <linux/reset-controller.h> 16 #include <dt-bindings/clock/mt7621-clk.h> 17 #include <dt-bindings/reset/mt7621-reset.h> 81 GATE(MT7621_CLK_SPI, "spi", "bus", BIT(18)), 101 struct regmap *sysc = clk_gate->priv->sysc; in mt7621_gate_enable() 104 clk_gate->bit_idx, clk_gate->bit_idx); in mt7621_gate_enable() 110 struct regmap *sysc = clk_gate->priv->sysc; in mt7621_gate_disable() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 47 this symbol, but new drivers should use the generic gpio-regmap 57 non-sleeping contexts. They can make bitbanged serial protocols 108 # This symbol is selected by both I2C and SPI expanders 118 Enables support for the idio-16 library functions. The idio-16 library 120 ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16. 122 If built as a module its name will be gpio-idio-16. 128 tristate "GPIO driver for 74xx-ICs with MMIO access" 132 Say yes here to support GPIO functionality for 74xx-compatible ICs 149 If driver is built as a module it will be called gpio-altera. [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 57 non-sleeping contexts. They can make bitbanged serial protocols 107 # This symbol is selected by both I2C and SPI expanders 115 tristate "GPIO driver for 74xx-ICs with MMIO access" 119 Say yes here to support GPIO functionality for 74xx-compatible ICs 135 If driver is built as a module it will be called gpio-altera. 285 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)" 288 Say yes here to support basic platform_device memory-mapped GPIO controllers. 316 ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8 334 depends on ARM # For <asm/mach-types.h> [all …]
|