Searched +full:tb10x +full:- +full:gpio (Results 1 – 11 of 11) sorted by relevance
/linux/arch/arc/boot/dts/ |
H A D | abilis_tb101.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 15 bus-frequency = <166666666>; 18 clock-frequency = <1000000000>; 21 clock-mult = <1>; 22 clock-div = <2>; 25 clock-mult = <1>; 26 clock-div = <6>; 31 pctl_tsin_s0: pctl-tsin-s0 { /* Serial TS-in 0 */ 34 pctl_tsin_s1: pctl-tsin-s1 { /* Serial TS-in 1 */ 37 pctl_gpio_a: pctl-gpio-a { /* GPIO bank A */ [all …]
|
H A D | abilis_tb100.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 15 bus-frequency = <166666666>; 18 clock-frequency = <1000000000>; 21 clock-mult = <1>; 22 clock-div = <2>; 25 clock-mult = <1>; 26 clock-div = <6>; 31 pctl_tsin_s0: pctl-tsin-s0 { /* Serial TS-in 0 */ 34 pctl_tsin_s1: pctl-tsin-s1 { /* Serial TS-in 1 */ 37 pctl_gpio_a: pctl-gpio-a { /* GPIO bank A */ [all …]
|
H A D | abilis_tb10x.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Abilis Systems TB10X SOC device tree 12 compatible = "abilis,arc-tb10x"; 13 #address-cells = <1>; 14 #size-cells = <1>; 17 #address-cells = <1>; 18 #size-cells = <0>; 28 compatible = "snps,arc-timer"; 30 interrupt-parent = <&intc>; 36 compatible = "snps,arc-timer"; [all …]
|
/linux/Documentation/devicetree/bindings/gpio/ |
H A D | abilis,tb10x-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/abilis,tb10x-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Abilis TB10x GPIO controller 10 - Christian Ruppert <christian.ruppert@abilis.com> 14 const: abilis,tb10x-gpio 19 gpio-controller: true 21 '#gpio-cells': 24 gpio-ranges: true [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | abilis,tb10x-iomux.txt | 1 Abilis Systems TB10x pin controller 5 ------------------- 7 - compatible: should be "abilis,tb10x-iomux"; 8 - reg: should contain the physical address and size of the pin controller's 13 -------------------- 15 Functions are defined (and referenced) by sub-nodes of the pin controller. 16 Every sub-node defines exactly one function (implying a set of pins). 19 controller sub-nodes. 22 - abilis,function: should be set to the name of the function's pin group. 25 - GPIO ports: gpioa, gpiob, gpioc, gpiod, gpioe, gpiof, gpiog, [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-tb10x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/gpio/driver.h> 37 * @domain: IRQ domain of GPIO generated interrupts managed by this controller 39 * @gc: gpio_chip structure associated to this GPIO controller 48 static inline u32 tb10x_reg_read(struct tb10x_gpio *gpio, unsigned int offs) in tb10x_reg_read() argument 50 return ioread32(gpio->base + offs); in tb10x_reg_read() 53 static inline void tb10x_reg_write(struct tb10x_gpio *gpio, unsigned int offs, in tb10x_reg_write() argument 56 iowrite32(val, gpio->base + offs); in tb10x_reg_write() 59 static inline void tb10x_set_bits(struct tb10x_gpio *gpio, unsigned int offs, in tb10x_set_bits() argument 65 raw_spin_lock_irqsave(&gpio->gc.bgpio_lock, flags); in tb10x_set_bits() [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 # generic gpio support: platform drivers, dedicated expander chips, etc 4 ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG 6 obj-$(CONFIG_GPIOLIB) += gpiolib.o 7 obj-$(CONFIG_GPIOLIB) += gpiolib-devres.o 8 obj-$(CONFIG_GPIOLIB_LEGACY) += gpiolib-legacy.o 9 obj-$(CONFIG_OF_GPIO) += gpiolib-of.o 10 obj-$(CONFIG_GPIO_CDEV) += gpiolib-cdev.o 11 obj-$(CONFIG_GPIO_SYSFS) += gpiolib-sysfs.o 12 obj-$(CONFIG_GPIO_ACPI) += gpiolib-acpi.o [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-tb10x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Abilis Systems TB10x pin control driver 22 #include "pinctrl-utils.h" 37 (((1 << PCFG_PORT_BITWIDTH) - 1) << (PCFG_PORT_BITWIDTH * (PORT))) 442 DEFPINFUNCGRP(gpiob, -1, 0, 1), 443 DEFPINFUNCGRP(gpiod, -1, 0, 1), 444 DEFPINFUNCGRP(gpiof, -1, 0, 1), 445 DEFPINFUNCGRP(gpioh, -1, 0, 1), 446 DEFPINFUNCGRP(gpioi, -1, 0, 1), 458 * struct tb10x_port - state of an I/O port [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 4 subdir-ccflags-$(CONFIG_DEBUG_PINCTRL) += -DDEBUG 6 obj-y += core.o pinctrl-utils.o 7 obj-$(CONFIG_PINMUX) += pinmux.o 8 obj-$(CONFIG_PINCONF) += pinconf.o 9 obj-$(CONFIG_GENERIC_PINCONF) += pinconf-generic.o 10 obj-$(CONFIG_OF) += devicetree.o 12 obj-$(CONFIG_PINCTRL_AMD) += pinctrl-amd.o 13 obj-$(CONFIG_PINCTRL_AMDISP) += pinctrl-amdisp.o 14 obj-$(CONFIG_PINCTRL_APPLE_GPIO) += pinctrl-apple-gpio.o [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 35 bool "AMD GPIO pin control" 44 The driver for memory mapped GPIO functionality on AMD platforms 47 for GPIO use. 53 tristate "AMDISP GPIO pin control" 60 The driver for memory mapped GPIO functionality on AMD platforms 67 tristate "Apple SoC GPIO pin controller driver" 76 This is the driver for the GPIO controller found on Apple ARM SoCs, 80 will be called pinctrl-apple-gpio. 83 bool "Axis ARTPEC-6 pin controller driver" [all …]
|
/linux/drivers/irqchip/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_IRQCHIP) += irqchip.o 4 obj-$(CONFIG_AL_FIC) += irq-al-fic.o 5 obj-$(CONFIG_ALPINE_MSI) += irq-alpine-msi.o 6 obj-$(CONFIG_ATH79) += irq-ath79-cpu.o 7 obj-$(CONFIG_ATH79) += irq-ath79-misc.o 8 obj-$(CONFIG_ARCH_BCM2835) += irq-bcm2835.o 9 obj-$(CONFIG_ARCH_BCM2835) += irq-bcm2836.o 10 obj-$(CONFIG_ARCH_ACTIONS) += irq-owl-sirq.o 11 obj-$(CONFIG_DAVINCI_CP_INTC) += irq-davinci-cp-intc.o [all …]
|