Home
last modified time | relevance | path

Searched +full:mt7621 +full:- +full:spi (Results 1 – 15 of 15) sorted by relevance

/linux-6.14.4/Documentation/devicetree/bindings/spi/
Dralink,mt7621-spi.yaml1 # 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 <[email protected]>
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 …]
/linux-6.14.4/Documentation/devicetree/bindings/pinctrl/
Dmediatek,mt7621-pinctrl.yaml1 # 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 <[email protected]>
11 - Sergio Paracuellos <[email protected]>
14 MediaTek MT7621 pin controller for MT7621 SoC.
20 const: ralink,mt7621-pinctrl
23 '-pins$':
[all …]
/linux-6.14.4/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 compatible = "mediatek,mt7621-soc";
10 #address-cells = <1>;
11 #size-cells = <1>;
14 #address-cells = <1>;
15 #size-cells = <0>;
[all …]
Dmt7628a.dtsi1 // 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 …]
Dmt7621-gnubee-gb-pc1.dts1 // 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 = "GnuBee GB-PC1";
23 gpio-keys {
24 compatible = "gpio-keys";
26 key-reset {
[all …]
Dmt7621-gnubee-gb-pc2.dts1 // 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 = "GnuBee GB-PC2";
23 gpio-keys {
24 compatible = "gpio-keys";
26 key-reset {
[all …]
/linux-6.14.4/drivers/spi/
Dspi-mt7621.c1 // SPDX-License-Identifier: GPL-2.0
3 // spi-mt7621.c -- MediaTek MT7621 SPI controller driver
6 // Copyright (C) 2011-2013 Gabor Juhos <[email protected]>
7 // Copyright (C) 2014-2015 Felix Fietkau <[email protected]>
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"
65 static inline struct mt7621_spi *spidev_to_mt7621_spi(struct spi_device *spi) in spidev_to_mt7621_spi() argument
67 return spi_controller_get_devdata(spi->controller); in spidev_to_mt7621_spi()
[all …]
Dspi-ar934x.c1 // 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 <[email protected]>
10 // Copyright (C) 2014-2015 Felix Fietkau <[email protected]>
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 …]
DMakefile1 # 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 …]
DKconfig1 # 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 …]
/linux-6.14.4/drivers/pinctrl/mediatek/
Dpinctrl-mt7621.c1 // 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",
/linux-6.14.4/drivers/clk/ralink/
Dclk-mt7621.c1 // 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 …]
/linux-6.14.4/drivers/gpio/
DKconfig1 # 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
109 undefined GPIO reference, this is primarily used by SPI to allow a
111 controlled the SPI device's internal chip select mechanism and not
116 # This symbol is selected by both I2C and SPI expanders
126 Enables support for the idio-16 library functions. The idio-16 library
128 ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16.
130 If built as a module its name will be gpio-idio-16.
136 tristate "GPIO driver for 74xx-ICs with MMIO access"
[all …]
/linux-6.14.4/drivers/i2c/busses/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
16 for Cypress CCGx Type-C controller. Individual bus drivers
25 controller is part of the 7101 device, which is an ACPI-compliant
29 will be called i2c-ali1535.
37 controller is part of the 7101 device, which is an ACPI-compliant
41 will be called i2c-ali1563.
51 will be called i2c-ali15x3.
63 will be called i2c-amd756.
73 will be called i2c-amd8111.
83 be called i2c-amd-mp2-pci and i2c-amd-mp2-plat.
[all …]
/linux-6.14.4/
DMAINTAINERS5 ---------------------------------------------------
21 W: *Web-page* with status/info
23 B: URI for where to file *bugs*. A web-page with detailed bug
28 patches to the given subsystem. This is either an in-tree file,
29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst
46 N: [^a-z]tegra all files whose path contains tegra
64 ----------------
83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS)
85 L: linux-[email protected]
88 F: drivers/scsi/3w-*
[all …]