/linux-6.12.1/Documentation/devicetree/bindings/gpio/ |
D | brcm,bcm63xx-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/gpio/brcm,bcm63xx-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom BCM63xx GPIO controller 10 - Álvaro Fernández Rojas <noltari@gmail.com> 11 - Jonas Gorski <jonas.gorski@gmail.com> 14 Bindings for Broadcom's BCM63xx memory-mapped GPIO controllers. 16 These bindings can be used on any BCM63xx SoC. However, BCM6338 and BCM6345 19 BCM6338 have 8-bit data and dirout registers, where GPIO state can be read [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | brcm,bcm6358-gpio-sysctl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/brcm,bcm6358-gpio-sysctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom BCM6358 GPIO System Controller 10 - Álvaro Fernández Rojas <noltari@gmail.com> 11 - Jonas Gorski <jonas.gorski@gmail.com> 14 Broadcom BCM6358 SoC GPIO system controller which provides a register map 15 for controlling the GPIO and pins of the SoC. 18 "#address-cells": true [all …]
|
D | brcm,bcm6318-gpio-sysctl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/brcm,bcm6318-gpio-sysctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom BCM6318 GPIO System Controller 10 - Álvaro Fernández Rojas <noltari@gmail.com> 11 - Jonas Gorski <jonas.gorski@gmail.com> 14 Broadcom BCM6318 SoC GPIO system controller which provides a register map 15 for controlling the GPIO and pins of the SoC. 18 "#address-cells": true [all …]
|
D | brcm,bcm6328-gpio-sysctl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/brcm,bcm6328-gpio-sysctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom BCM6328 GPIO System Controller 10 - Álvaro Fernández Rojas <noltari@gmail.com> 11 - Jonas Gorski <jonas.gorski@gmail.com> 14 Broadcom BCM6328 SoC GPIO system controller which provides a register map 15 for controlling the GPIO and pins of the SoC. 18 "#address-cells": true [all …]
|
D | brcm,bcm63268-gpio-sysctl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/brcm,bcm63268-gpio-sysctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom BCM63268 GPIO System Controller 10 - Álvaro Fernández Rojas <noltari@gmail.com> 11 - Jonas Gorski <jonas.gorski@gmail.com> 14 Broadcom BCM63268 SoC GPIO system controller which provides a register map 15 for controlling the GPIO and pins of the SoC. 18 "#address-cells": true [all …]
|
D | brcm,bcm6362-gpio-sysctl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/brcm,bcm6362-gpio-sysctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom BCM6362 GPIO System Controller 10 - Álvaro Fernández Rojas <noltari@gmail.com> 11 - Jonas Gorski <jonas.gorski@gmail.com> 14 Broadcom BCM6362 SoC GPIO system controller which provides a register map 15 for controlling the GPIO and pins of the SoC. 18 "#address-cells": true [all …]
|
D | brcm,bcm6368-gpio-sysctl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/brcm,bcm6368-gpio-sysctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom BCM6368 GPIO System Controller 10 - Álvaro Fernández Rojas <noltari@gmail.com> 11 - Jonas Gorski <jonas.gorski@gmail.com> 14 Broadcom BCM6368 SoC GPIO system controller which provides a register map 15 for controlling the GPIO and pins of the SoC. 18 "#address-cells": true [all …]
|
/linux-6.12.1/drivers/pinctrl/bcm/ |
D | pinctrl-bcm63xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for BCM63xx GPIO unit (pinctrl + GPIO) 9 #include <linux/gpio/regmap.h> 15 #include "pinctrl-bcm63xx.h" 22 static int bcm63xx_reg_mask_xlate(struct gpio_regmap *gpio, in bcm63xx_reg_mask_xlate() argument 29 *reg = base - stride * BCM63XX_BANK_SIZE; in bcm63xx_reg_mask_xlate() 36 { .compatible = "brcm,bcm6318-gpio", }, 37 { .compatible = "brcm,bcm6328-gpio", }, 38 { .compatible = "brcm,bcm6358-gpio", }, 39 { .compatible = "brcm,bcm6362-gpio", }, [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 4 obj-$(CONFIG_PINCTRL_BCM281XX) += pinctrl-bcm281xx.o 5 obj-$(CONFIG_PINCTRL_BCM2835) += pinctrl-bcm2835.o 6 obj-$(CONFIG_PINCTRL_BCM4908) += pinctrl-bcm4908.o 7 obj-$(CONFIG_PINCTRL_BCM63XX) += pinctrl-bcm63xx.o 8 obj-$(CONFIG_PINCTRL_BCM6318) += pinctrl-bcm6318.o 9 obj-$(CONFIG_PINCTRL_BCM6328) += pinctrl-bcm6328.o 10 obj-$(CONFIG_PINCTRL_BCM6358) += pinctrl-bcm6358.o 11 obj-$(CONFIG_PINCTRL_BCM6362) += pinctrl-bcm6362.o 12 obj-$(CONFIG_PINCTRL_BCM6368) += pinctrl-bcm6368.o [all …]
|
D | pinctrl-bcm6358.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for BCM6358 GPIO unit (pinctrl + GPIO) 10 #include <linux/gpio/driver.h> 17 #include "../pinctrl-utils.h" 19 #include "pinctrl-bcm63xx.h" 42 /* non-GPIO function muxes require the gpio direction to be set */ 257 struct bcm6358_priv *priv = pc->driver_data; in bcm6358_pinctrl_set_mux() 259 unsigned int val = pg->mode_val; in bcm6358_pinctrl_set_mux() 263 for (pin = 0; pin < pg->grp.npins; pin++) in bcm6358_pinctrl_set_mux() 266 regmap_field_update_bits(priv->overlays, mask, val); in bcm6358_pinctrl_set_mux() [all …]
|
D | pinctrl-bcm6328.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for BCM6328 GPIO unit (pinctrl + GPIO) 10 #include <linux/gpio/driver.h> 17 #include "../pinctrl-utils.h" 19 #include "pinctrl-bcm63xx.h" 316 regmap_update_bits(pc->regs, BCM6328_MODE_REG, BIT(pin), in bcm6328_rmw_mux() 319 regmap_update_bits(pc->regs, bcm6328_mux_off(pin), in bcm6328_rmw_mux() 331 bcm6328_rmw_mux(pc, pg->pins[0], f->mode_val, f->mux_val); in bcm6328_pinctrl_set_mux() 379 { .compatible = "brcm,bcm6328-pinctrl", }, 386 .name = "bcm6328-pinctrl",
|
D | pinctrl-bcm6318.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for BCM6318 GPIO unit (pinctrl + GPIO) 10 #include <linux/gpio/driver.h> 17 #include "../pinctrl-utils.h" 19 #include "pinctrl-bcm63xx.h" 392 regmap_update_bits(pc->regs, BCM6318_MODE_REG, BIT(pin), in bcm6318_rmw_mux() 396 regmap_update_bits(pc->regs, in bcm6318_rmw_mux() 405 regmap_update_bits(pc->regs, bcm6318_pad_off(pin), in bcm6318_set_pad() 417 bcm6318_rmw_mux(pc, pg->pins[0], f->mode_val, f->mux_val); in bcm6318_pinctrl_set_mux() 430 /* GPIOs 0-12 use mux 0 as GPIO function */ in bcm6318_gpio_request_enable() [all …]
|
D | pinctrl-bcm6362.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for BCM6362 GPIO unit (pinctrl + GPIO) 10 #include <linux/gpio/driver.h> 17 #include "../pinctrl-utils.h" 19 #include "pinctrl-bcm63xx.h" 486 unsigned int basemode = (uintptr_t)desc->drv_data; in bcm6362_set_gpio() 490 regmap_update_bits(pc->regs, BCM6362_BASEMODE_REG, basemode, 0); in bcm6362_set_gpio() 493 /* base mode 0 => gpio 1 => mux function */ in bcm6362_set_gpio() 494 regmap_update_bits(pc->regs, BCM6362_MODE_REG, mask, 0); in bcm6362_set_gpio() 496 /* pins 0-23 might be muxed to led */ in bcm6362_set_gpio() [all …]
|
D | pinctrl-bcm63268.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for BCM63268 GPIO unit (pinctrl + GPIO) 10 #include <linux/gpio/driver.h> 17 #include "../pinctrl-utils.h" 19 #include "pinctrl-bcm63xx.h" 28 #define BCM63268_BASEMODE_NAND BIT(2) /* GPIOs 2-7, 24-31 */ 29 #define BCM63268_BASEMODE_GPIO35 BIT(4) /* GPIO 35 */ 510 unsigned int basemode = (unsigned long) desc->drv_data; in bcm63268_set_gpio() 514 regmap_update_bits(pc->regs, BCM63268_BASEMODE_REG, basemode, in bcm63268_set_gpio() 518 /* base mode: 0 => gpio, 1 => mux function */ in bcm63268_set_gpio() [all …]
|
D | pinctrl-bcm6368.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for BCM6368 GPIO unit (pinctrl + GPIO) 10 #include <linux/gpio/driver.h> 17 #include "../pinctrl-utils.h" 19 #include "pinctrl-bcm63xx.h" 382 struct bcm6368_priv *priv = pc->driver_data; in bcm6368_pinctrl_set_mux() 387 if (fun->basemode) { in bcm6368_pinctrl_set_mux() 390 for (i = 0; i < pg->npins; i++) { in bcm6368_pinctrl_set_mux() 391 pin = pg->pins[i]; in bcm6368_pinctrl_set_mux() 396 regmap_update_bits(pc->regs, BCM6368_MODE_REG, mask, 0); in bcm6368_pinctrl_set_mux() [all …]
|
/linux-6.12.1/arch/mips/pci/ |
D | pci-bcm63xx.c | 19 #include "pci-bcm63xx.h" 28 .name = "bcm63xx PCI memory space", 35 .name = "bcm63xx PCI IO space", 58 .name = "bcm63xx Cardbus memory space", 65 .name = "bcm63xx Cardbus IO space", 79 .name = "bcm63xx PCIe memory space", 86 .name = "bcm63xx PCIe IO space", 157 return -ENODEV; in bcm63xx_register_pcie() 226 return -ENOMEM; in bcm63xx_register_pci() 231 bcm_mpi_writel(~(BCM_PCI_MEM_SIZE - 1), MPI_L2PMEMRANGE1_REG); in bcm63xx_register_pci() [all …]
|
/linux-6.12.1/arch/mips/bcm63xx/ |
D | gpio.c | 7 * Copyright (C) 2008-2011 Florian Fainelli <florian@openwrt.org> 14 #include <linux/gpio/driver.h> 39 unsigned gpio, int val) in bcm63xx_gpio_set() argument 46 BUG_ON(gpio >= chip->ngpio); in bcm63xx_gpio_set() 48 if (gpio < 32) { in bcm63xx_gpio_set() 50 mask = 1 << gpio; in bcm63xx_gpio_set() 54 mask = 1 << (gpio - 32); in bcm63xx_gpio_set() 67 static int bcm63xx_gpio_get(struct gpio_chip *chip, unsigned gpio) in bcm63xx_gpio_get() argument 72 BUG_ON(gpio >= chip->ngpio); in bcm63xx_gpio_get() 74 if (gpio < 32) { in bcm63xx_gpio_get() [all …]
|
/linux-6.12.1/drivers/leds/blink/ |
D | Kconfig | 4 depends on ARCH_BCMBCA || ARCH_BCM_5301X || BCM63XX || COMPILE_TEST 13 If compiled as module it will be called leds-bcm63138. 20 This option enables support for LEDs connected to GPIO lines on 22 gateway-on-a-chip SoC to be shipped on mid and high end home 31 will be called leds-lgm-sso.
|
/linux-6.12.1/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. 66 This enables support for SPI-NAND mode on the Airoha NAND 68 is implemented as a SPI-MEM controller. 155 supports spi-mem interface. 196 tristate "Broadcom BCM63xx SPI controller" 197 depends on BCM63XX || BMIPS_GENERIC || COMPILE_TEST [all …]
|
D | Makefile | 1 # 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_AIROHA_SNFI) += spi-airoha-snfi.o 18 obj-$(CONFIG_SPI_ALTERA) += spi-altera-platform.o [all …]
|
/linux-6.12.1/drivers/pcmcia/ |
D | bcm63xx_pcmcia.c | 17 #include <linux/gpio.h> 36 return bcm_readl(skt->base + off); in pcmcia_readl() 42 bcm_writel(val, skt->base + off); in pcmcia_writel() 46 * This callback should (re-)initialise the socket, turn on status 69 * Implements the set_socket() operation for the in-kernel PCMCIA 82 skt = sock->driver_data; in bcm63xx_pcmcia_set_socket() 84 spin_lock_irqsave(&skt->lock, flags); in bcm63xx_pcmcia_set_socket() 91 if (state->flags & SS_RESET) in bcm63xx_pcmcia_set_socket() 97 if (skt->card_detected && (skt->card_type & CARD_CARDBUS)) in bcm63xx_pcmcia_set_socket() 103 skt->requested_state = *state; in bcm63xx_pcmcia_set_socket() [all …]
|
/linux-6.12.1/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" 77 bool "Enable watchdog hrtimer-based pretimeouts" 178 to toggle reset line if SoC fails to ping watchdog via GPIO. 198 tristate "ChromeOS EC-based watchdog" 252 tristate "Watchdog device controlled through GPIO-line" 257 controlled through GPIO-line. 280 will be called lenovo-se10-wdt. [all …]
|
/linux-6.12.1/drivers/net/dsa/b53/ |
D | b53_common.c | 4 * Copyright (C) 2011-2013 Jonas Gorski <jogo@openwrt.org> 22 #include <linux/gpio.h> 80 /* BCM63xx MIB counters */ 228 #define B53_MAX_MTU_25 (1536 - ETH_HLEN - VLAN_HLEN - ETH_FCS_LEN) 229 #define B53_MAX_MTU (9720 - ETH_HLEN - VLAN_HLEN - ETH_FCS_LEN) 235 b53_write8(dev, B53_ARLIO_PAGE, dev->vta_regs[0], VTA_START_CMD | op); in b53_do_vlan_op() 240 b53_read8(dev, B53_ARLIO_PAGE, dev->vta_regs[0], &vta); in b53_do_vlan_op() 247 return -EIO; in b53_do_vlan_op() 256 if (vlan->members) { in b53_set_vlan_entry() 257 entry = ((vlan->untag & VA_UNTAG_MASK_25) << in b53_set_vlan_entry() [all …]
|
/linux-6.12.1/ |
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 …]
|