Home
last modified time | relevance | path

Searched +full:mt7621 +full:- +full:gpio (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.15/Documentation/devicetree/bindings/gpio/
Dmediatek,mt7621-gpio.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/gpio/mediatek,mt7621-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek MT7621 SoC GPIO controller
10 - Sergio Paracuellos <sergio.paracuellos@gmail.com>
15 We load one GPIO controller instance per bank. Also the GPIO controller can receive
21 pattern: "^gpio@[0-9a-f]+$"
24 const: mediatek,mt7621-gpio
29 "#gpio-cells":
[all …]
/Linux-v5.15/drivers/staging/mt7621-dts/
Dmt7621.dtsi1 #include <dt-bindings/interrupt-controller/mips-gic.h>
2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/clock/mt7621-clk.h>
6 #address-cells = <1>;
7 #size-cells = <1>;
8 compatible = "mediatek,mt7621-soc";
21 #address-cells = <0>;
22 #interrupt-cells = <1>;
23 interrupt-controller;
24 compatible = "mti,cpu-interrupt-controller";
[all …]
Dgbpc1.dts1 /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";
27 gpio-keys {
28 compatible = "gpio-keys";
32 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
37 gpio-leds {
[all …]
Dgbpc2.dts1 /dts-v1/;
6 compatible = "gnubee,gb-pc2", "mediatek,mt7621-soc";
7 model = "GB-PC2";
12 function = "gpio";
/Linux-v5.15/Documentation/devicetree/bindings/net/dsa/
Dmt7530.txt6 - compatible: may be compatible = "mediatek,mt7530"
7 or compatible = "mediatek,mt7621"
9 - #address-cells: Must be 1.
10 - #size-cells: Must be 0.
11 - mediatek,mcm: Boolean; if defined, indicates that either MT7530 is the part
12 on multi-chip module belong to MT7623A has or the remotely standalone
17 - core-supply: Phandle to the regulator node necessary for the core power.
18 - io-supply: Phandle to the regulator node necessary for the I/O power.
19 See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt
24 - reset-gpios: Should be a gpio specifier for a reset line.
[all …]
/Linux-v5.15/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 …]
Dpci-mt7621.c1 // SPDX-License-Identifier: GPL-2.0+
21 #include <linux/gpio/consumer.h>
38 /* Host-PCI bridge registers */
64 * struct mt7621_pcie_port - PCIe port information
71 * @gpio_rst: gpio reset
88 * struct mt7621_pcie - PCIe host information
104 return readl_relaxed(pcie->base + reg); in pcie_read()
109 writel_relaxed(val, pcie->base + reg); in pcie_write()
114 u32 val = readl_relaxed(pcie->base + reg); in pcie_rmw()
118 writel_relaxed(val, pcie->base + reg); in pcie_rmw()
[all …]
/Linux-v5.15/arch/mips/boot/dts/ralink/
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 …]
/Linux-v5.15/Documentation/devicetree/bindings/net/
Dmediatek-bluetooth.txt1 MediaTek SoC built-in Bluetooth Devices
5 child node of the serial node with BTIF. The dt-bindings details for BTIF
10 - compatible: Must be
11 "mediatek,mt7622-bluetooth": for MT7622 SoC
12 - clocks: Should be the clock specifiers corresponding to the entry in
13 clock-names property.
14 - clock-names: Should contain "ref" entries.
15 - power-domains: Phandle to the power domain that the device is part of
20 compatible = "mediatek,mt7622-btif",
21 "mediatek,mtk-btif";
[all …]
/Linux-v5.15/drivers/gpio/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 # generic gpio support: platform drivers, dedicated expander chips, etc
4 ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG
6 obj-$(CONFIG_GPIOLIB) += gpiolib.o
7 obj-$(CONFIG_GPIOLIB) += gpiolib-devres.o
8 obj-$(CONFIG_GPIOLIB) += gpiolib-legacy.o
9 obj-$(CONFIG_OF_GPIO) += gpiolib-of.o
10 obj-$(CONFIG_GPIO_CDEV) += gpiolib-cdev.o
11 obj-$(CONFIG_GPIO_SYSFS) += gpiolib-sysfs.o
12 obj-$(CONFIG_GPIO_ACPI) += gpiolib-acpi.o
[all …]
Dgpio-mt7621.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
8 #include <linux/gpio/driver.h>
44 * struct mtk - state container for
46 * separate gpio-chip each one with its
51 * @gc_map: array of the gpio chips
69 struct gpio_chip *gc = &rg->chip; in mtk_gpio_w32()
72 offset = (rg->bank * GPIO_BANK_STRIDE) + offset; in mtk_gpio_w32()
73 gc->write_reg(mtk->base + offset, val); in mtk_gpio_w32()
79 struct gpio_chip *gc = &rg->chip; in mtk_gpio_r32()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # GPIO infrastructure and drivers
10 the architecture to provide a custom asm/gpio.h implementation
15 bool "GPIO Support"
17 This enables GPIO support through the generic GPIO library.
19 one or more of the GPIO drivers below.
51 bool "Debug GPIO calls"
54 Say Y here to add some extra checks and diagnostics to GPIO calls.
57 non-sleeping contexts. They can make bitbanged serial protocols
62 bool "/sys/class/gpio/... (sysfs interface)" if EXPERT
[all …]
/Linux-v5.15/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 …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
18 controller is part of the 7101 device, which is an ACPI-compliant
22 will be called i2c-ali1535.
30 controller is part of the 7101 device, which is an ACPI-compliant
34 will be called i2c-ali1563.
44 will be called i2c-ali15x3.
56 will be called i2c-amd756.
63 S4882 motherboard. On this 4-CPU board, the SMBus is multiplexed
69 will be called i2c-amd756-s4882.
79 will be called i2c-amd8111.
[all …]
/Linux-v5.15/drivers/spi/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 dynamic device discovery; some are even write-only or read-only.
17 chips, analog to digital (and d-to-a) converters, and more.
44 If your system has an master-capable SPI controller (which
56 by providing a high-level interface to send memory-like commands.
127 supports spi-mem interface.
194 With a few GPIO pins, your system can bitbang the SPI protocol.
195 Select this to get SPI support through I/O pins (GPIO, parallel
197 this code to manage the per-word or per-transfer accesses to the
227 Flash over 1/2/4-bit wide bus. Enable this option if you have a
[all …]
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 …]
/Linux-v5.15/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]
/Linux-v5.15/drivers/net/dsa/
Dmt7530.c1 // SPDX-License-Identifier: GPL-2.0-only
21 #include <linux/gpio/consumer.h>
22 #include <linux/gpio/driver.h>
80 struct mii_bus *bus = priv->bus; in core_read_mmd_indirect()
84 ret = bus->write(bus, 0, MII_MMD_CTRL, devad); in core_read_mmd_indirect()
89 ret = bus->write(bus, 0, MII_MMD_DATA, prtad); in core_read_mmd_indirect()
94 ret = bus->write(bus, 0, MII_MMD_CTRL, (devad | MII_MMD_CTRL_NOINCR)); in core_read_mmd_indirect()
99 value = bus->read(bus, 0, MII_MMD_DATA); in core_read_mmd_indirect()
103 dev_err(&bus->dev, "failed to read mmd register\n"); in core_read_mmd_indirect()
112 struct mii_bus *bus = priv->bus; in core_write_mmd_indirect()
[all …]
/Linux-v5.15/drivers/watchdog/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
16 on-line as fast as possible after a lock-up. There's both a watchdog
21 <file:Documentation/watchdog/watchdog-api.rst> in the kernel source.
51 bool "Update boot-enabled watchdog until userspace takes over"
77 bool "Enable watchdog hrtimer-based pretimeouts"
178 to toggle reset line if SoC fails to ping watchdog via GPIO.
227 tristate "Watchdog device controlled through GPIO-line"
232 controlled through GPIO-line.
339 module will be called mlx-wdt.
373 More details: ARM DEN0029B - Server Base System Architecture (SBSA)
[all …]