Home
last modified time | relevance | path

Searched +full:bcm63268 +full:- +full:gpio (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dbrcm,bcm63268-gpio-sysctl.yaml1 # 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 …]
/linux-6.12.1/Documentation/devicetree/bindings/gpio/
Dbrcm,bcm63xx-gpio.yaml1 # 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.
19 BCM6338 have 8-bit data and dirout registers, where GPIO state can be read
21 BCM6318, BCM6328, BCM6358, BCM6362, BCM6368 and BCM63268 have 32-bit data
[all …]
/linux-6.12.1/drivers/pinctrl/bcm/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
18 framework. GPIO is provided by a separate GPIO driver.
21 tristate "Broadcom BCM2835 GPIO (with PINCONF) driver"
30 Say Y here to enable the Broadcom BCM2835 GPIO driver.
44 If compiled as module it will be called pinctrl-bcm4908.
56 bool "Broadcom BCM6318 GPIO driver"
62 Say Y here to enable the Broadcom BCM6318 GPIO driver.
65 bool "Broadcom BCM6328 GPIO driver"
71 Say Y here to enable the Broadcom BCM6328 GPIO driver.
74 bool "Broadcom BCM6358 GPIO driver"
[all …]
DMakefile1 # 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 …]
Dpinctrl-bcm63xx.c1 // 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 …]
Dpinctrl-bcm63268.c1 // 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 …]
/linux-6.12.1/Documentation/devicetree/bindings/leds/
Dleds-bcm6328.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-bcm6328.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Álvaro Fernández Rojas <noltari@gmail.com>
13 This controller is present on BCM6318, BCM6328, BCM6362 and BCM63268.
17 as spi-gpio. See
18 Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml), or by hardware
21 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware
29 explained later in brcm,link-signal-sources). Even if a LED is hardware
[all …]
/linux-6.12.1/drivers/net/dsa/b53/
Db53_common.c4 * Copyright (C) 2011-2013 Jonas Gorski <jogo@openwrt.org>
22 #include <linux/gpio.h>
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()
258 VA_UNTAG_S_25) | vlan->members; in b53_set_vlan_entry()
[all …]