| /linux/Documentation/devicetree/bindings/gpio/ |
| H A 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/Documentation/devicetree/bindings/mfd/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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/drivers/pinctrl/bcm/ |
| H A 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 …]
|
| H A 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",
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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/arch/mips/pci/ |
| H A 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/Documentation/devicetree/bindings/net/dsa/ |
| H A D | brcm,b53.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Florian Fainelli <f.fainelli@gmail.com> 18 - const: brcm,bcm5325 19 - const: brcm,bcm53101 20 - const: brcm,bcm53115 21 - const: brcm,bcm53125 22 - const: brcm,bcm53128 23 - const: brcm,bcm53134 [all …]
|
| /linux/arch/mips/bcm63xx/ |
| H A D | gpio.c | 7 * Copyright (C) 2008-2011 Florian Fainelli <florian@openwrt.org> 14 #include <linux/gpio/driver.h> 38 static int bcm63xx_gpio_set(struct gpio_chip *chip, unsigned int gpio, int val) in bcm63xx_gpio_set() argument 45 BUG_ON(gpio >= chip->ngpio); in bcm63xx_gpio_set() 47 if (gpio < 32) { in bcm63xx_gpio_set() 49 mask = 1 << gpio; in bcm63xx_gpio_set() 53 mask = 1 << (gpio - 32); in bcm63xx_gpio_set() 68 static int bcm63xx_gpio_get(struct gpio_chip *chip, unsigned gpio) in bcm63xx_gpio_get() argument 73 BUG_ON(gpio >= chip->ngpio); in bcm63xx_gpio_get() 75 if (gpio < 32) { in bcm63xx_gpio_get() [all …]
|
| /linux/drivers/leds/blink/ |
| H A 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/arch/mips/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 144 bool "Generic board-agnostic MIPS kernel" 286 Build a generic DT-based kernel image that boots on select 287 BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top 315 config BCM63XX config in Machine selection""choicec8c6c30c0104 316 bool "Broadcom BCM63XX based boards" 334 Support for BCM63XX based boards 379 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the 380 DECstation porting pages on <http://decstation.unix-ag.org/>. 413 GPIO, and Ethernet, with optional XPON, DSL, and VoIP DSP cores. [all …]
|
| /linux/drivers/pcmcia/ |
| H A 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/drivers/net/dsa/b53/ |
| H A D | b53_common.c | 4 * Copyright (C) 2011-2013 Jonas Gorski <jogo@openwrt.org> 22 #include <linux/gpio.h> 82 /* BCM63xx MIB counters */ 230 #define B53_MAX_MTU_25 (1536 - ETH_HLEN - VLAN_HLEN - ETH_FCS_LEN) 231 #define B53_MAX_MTU (9720 - ETH_HLEN - VLAN_HLEN - ETH_FCS_LEN) 237 b53_write8(dev, B53_ARLIO_PAGE, dev->vta_regs[0], VTA_START_CMD | op); in b53_do_vlan_op() 242 b53_read8(dev, B53_ARLIO_PAGE, dev->vta_regs[0], &vta); in b53_do_vlan_op() 249 return -EIO; in b53_do_vlan_op() 258 if (vlan->members) { in b53_set_vlan_entry() 259 entry = ((vlan->untag & VA_UNTAG_MASK_25) << in b53_set_vlan_entry() [all …]
|
| /linux/ |
| H A 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 …]
|