Home
last modified time | relevance | path

Searched +full:iproc +full:- +full:gpio +full:- +full:cca (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/gpio/
Dbrcm,xgs-iproc-gpio.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/brcm,xgs-iproc-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom XGS iProc GPIO controller
10 - Chris Packham <chris.packham@alliedtelesis.co.nz>
13 This controller is the Chip Common A GPIO present on a number of Broadcom
18 const: brcm,iproc-gpio-cca
22 - description: the I/O address containing the GPIO controller registers.
23 - description: the I/O address containing the Chip Common A interrupt registers.
[all …]
/linux-6.12.1/drivers/gpio/
Dgpio-xgs-iproc.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/gpio/driver.h>
48 int pin = d->hwirq; in iproc_gpio_irq_ack()
50 u32 irq = d->irq; in iproc_gpio_irq_ack()
53 spin_lock_irqsave(&chip->lock, flags); in iproc_gpio_irq_ack()
58 chip->base + IPROC_GPIO_CCA_INT_EVENT); in iproc_gpio_irq_ack()
60 spin_unlock_irqrestore(&chip->lock, flags); in iproc_gpio_irq_ack()
67 int pin = d->hwirq; in iproc_gpio_irq_unmask()
69 u32 irq = d->irq; in iproc_gpio_irq_unmask()
73 spin_lock_irqsave(&chip->lock, flags); in iproc_gpio_irq_unmask()
[all …]