| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/ |
| D | mediatek,mt7621-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/mediatek,mt7621-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 - Stefan Roese <sr@denx.de> 10 title: Mediatek MT7621/MT7628 I2C master controller 13 - $ref: /schemas/i2c/i2c-controller.yaml# 17 const: mediatek,mt7621-i2c 25 clock-names: 26 const: i2c [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/ |
| D | i2c-mt7621.txt | 1 MediaTek MT7621/MT7628 I2C master controller 5 - compatible: Should be one of the following: 6 - "mediatek,mt7621-i2c": for MT7621/MT7628/MT7688 platforms 7 - #address-cells: should be 1. 8 - #size-cells: should be 0. 9 - reg: Address and length of the register set for the device 10 - resets: phandle to the reset controller asserting this device in 18 i2c: i2c@900 { 19 compatible = "mediatek,mt7621-i2c"; 21 #address-cells = <1>; [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"; 23 i2c@900 { 28 gpio-keys { 29 compatible = "gpio-keys"; 47 #address-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"; 23 i2c@900 { 28 gpio-keys { 29 compatible = "gpio-keys"; 38 gpio-leds { [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/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 …]
|
| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| D | i2c-mt7621.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/i2c/busses/i2c-mt7621.c 9 * Improve driver for i2cdetect from i2c-tools to detect i2c devices on the bus. 15 #include <linux/i2c.h> 47 #define SM0CTL1_PGLEN(x) ((((x) - 1) << 8) & SM0CTL1_PGLEN_MASK) 56 /* timeout waiting for I2C devices to respond */ 69 static int mtk_i2c_wait_idle(struct mtk_i2c *i2c) in mtk_i2c_wait_idle() argument 74 ret = readl_relaxed_poll_timeout(i2c->base + REG_SM0CTL1_REG, in mtk_i2c_wait_idle() 78 dev_dbg(i2c->dev, "idle err(%d)\n", ret); in mtk_i2c_wait_idle() 83 static void mtk_i2c_reset(struct mtk_i2c *i2c) in mtk_i2c_reset() argument [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for the i2c bus drivers. 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 [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 menu "I2C Hardware Bus support" 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. 41 Acer Labs Inc. (ALI) M1514 and M1543 motherboard I2C interfaces. 44 will be called i2c-ali15x3. 51 756/766/768 mainboard I2C interfaces. The driver also includes 52 support for the first (SMBus 1.0) I2C interface of the AMD 8111 and [all …]
|
| /kernel/linux/linux-6.6/drivers/i2c/busses/ |
| D | i2c-mt7621.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/i2c/busses/i2c-mt7621.c 9 * Improve driver for i2cdetect from i2c-tools to detect i2c devices on the bus. 15 #include <linux/i2c.h> 48 #define SM0CTL1_PGLEN(x) ((((x) - 1) << 8) & SM0CTL1_PGLEN_MASK) 57 /* timeout waiting for I2C devices to respond */ 70 static int mtk_i2c_wait_idle(struct mtk_i2c *i2c) in mtk_i2c_wait_idle() argument 75 ret = readl_relaxed_poll_timeout(i2c->base + REG_SM0CTL1_REG, in mtk_i2c_wait_idle() 79 dev_dbg(i2c->dev, "idle err(%d)\n", ret); in mtk_i2c_wait_idle() 84 static void mtk_i2c_reset(struct mtk_i2c *i2c) in mtk_i2c_reset() argument [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for the i2c bus drivers. 7 obj-$(CONFIG_I2C_SCMI) += i2c-scmi.o 9 # Auxiliary I2C/SMBus modules 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 [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 menu "I2C Hardware Bus support" 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. 48 Acer Labs Inc. (ALI) M1514 and M1543 motherboard I2C interfaces. 51 will be called i2c-ali15x3. 58 756/766/768 mainboard I2C interfaces. The driver also includes [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> 53 static struct rt2880_pmx_func i2c_grp[] = { FUNC("i2c", 0, 3, 2) }; 87 GRP("i2c", i2c_grp, 1, MT7621_GPIO_MODE_I2C), 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" 93 depends on NET_DSA && I2C 98 for I2C managed mode. 101 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode" [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" 38 static struct mtmips_pmx_func i2c_grp[] = { FUNC("i2c", 0, 3, 2) }; 72 GRP("i2c", i2c_grp, 1, MT7621_GPIO_MODE_I2C), 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> 79 GATE(MT7621_CLK_I2C, "i2c", "50m", BIT(16)), 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-5.10/drivers/spi/ |
| D | Kconfig | 1 # 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. 111 supports spi-mem interface. 181 this code to manage the per-word or per-transfer accesses to the 211 Flash over 1/2/4-bit wide bus. Enable this option if you have a 219 This enables dedicated general purpose SPI/Microwire1-compatible 220 master mode interface (SSI1) for CLPS711X-based CPUs. [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 …]
|
| /kernel/linux/linux-6.6/drivers/spi/ |
| D | Kconfig | 1 # 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. 145 supports spi-mem interface. 224 this code to manage the per-word or per-transfer accesses to the 254 Flash over 1/2/4-bit wide bus. Enable this option if you have a 266 Flash over up to 8-bit wide bus. Enable this option if you have a 274 This enables dedicated general purpose SPI/Microwire1-compatible [all …]
|
| /kernel/linux/linux-6.6/ |
| D | MAINTAINERS | 5 --------------------------------------------------- 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-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|
| /kernel/linux/linux-5.10/drivers/watchdog/ |
| D | Kconfig | 1 # 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" 210 depends on I2C 218 tristate "Watchdog device controlled through GPIO-line" 223 controlled through GPIO-line. 239 depends on I2C 310 depends on I2C 341 module will be called mlx-wdt. [all …]
|