Home
last modified time | relevance | path

Searched +full:npcm750 +full:- +full:sgpio (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/gpio/
Dnuvoton,sgpio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/nuvoton,sgpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Nuvoton SGPIO controller
10 - Jim LIU <JJLIU0@nuvoton.com>
13 This SGPIO controller is for NUVOTON NPCM7xx and NPCM8xx SoC and detailed
15 Nuvoton NPCM7xx SGPIO module is combines a serial to parallel IC (HC595)
19 NPCM7xx/NPCM8xx have two sgpio modules. Each module can support up
22 - Support interrupt option for each input port and various interrupt
[all …]
/linux-6.12.1/drivers/gpio/
Dgpio-npcm-sgpio.c1 // SPDX-License-Identifier: GPL-2.0
143 return gpio->base + bank->rdata_reg; in bank_reg()
145 return gpio->base + bank->wdata_reg; in bank_reg()
147 return gpio->base + bank->event_config; in bank_reg()
149 return gpio->base + bank->event_status; in bank_reg()
152 dev_WARN(gpio->chip.parent, "Getting here is an error condition"); in bank_reg()
175 *offset -= internal->nout_sgpio; in npcm_sgpio_irqd_to_data()
184 in_port = GPIO_BANK(gpio->nin_sgpio); in npcm_sgpio_init_port()
185 if (GPIO_BIT(gpio->nin_sgpio) > 0) in npcm_sgpio_init_port()
188 out_port = GPIO_BANK(gpio->nout_sgpio); in npcm_sgpio_init_port()
[all …]