Searched +full:en7523 +full:- +full:gpio (Results 1 – 6 of 6) sorted by relevance
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---4 $id: http://devicetree.org/schemas/gpio/airoha,en7523-gpio.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: Airoha EN7523 GPIO controller10 - John Crispin <[email protected]>13 Airoha's GPIO controller on their ARM EN7523 SoCs consists of two banks of 3218 pattern: "^gpio@[0-9a-f]+$"22 - const: airoha,en7523-gpio31 "#gpio-cells":[all …]
1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 #include <dt-bindings/interrupt-controller/irq.h>4 #include <dt-bindings/interrupt-controller/arm-gic.h>5 #include <dt-bindings/gpio/gpio.h>6 #include <dt-bindings/clock/en7523-clk.h>9 interrupt-parent = <&gic>;10 #address-cells = <1>;11 #size-cells = <1>;13 reserved-memory {14 #address-cells = <1>;[all …]
1 // SPDX-License-Identifier: GPL-2.0-only6 #include <linux/gpio/driver.h>15 * struct airoha_gpio_ctrl - Airoha GPIO driver data34 static int airoha_dir_set(struct gpio_chip *gc, unsigned int gpio, in airoha_dir_set() argument38 u32 dir = ioread32(ctrl->dir[gpio / 16]); in airoha_dir_set()39 u32 output = ioread32(ctrl->output); in airoha_dir_set()40 u32 mask = BIT((gpio % 16) * 2); in airoha_dir_set()44 output |= BIT(gpio); in airoha_dir_set()47 output &= ~BIT(gpio); in airoha_dir_set()50 iowrite32(dir, ctrl->dir[gpio / 16]); in airoha_dir_set()[all …]
1 # SPDX-License-Identifier: GPL-2.02 # generic gpio support: platform drivers, dedicated expander chips, etc4 ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG6 obj-$(CONFIG_GPIOLIB) += gpiolib.o7 obj-$(CONFIG_GPIOLIB) += gpiolib-devres.o8 obj-$(CONFIG_GPIOLIB) += gpiolib-legacy.o9 obj-$(CONFIG_OF_GPIO) += gpiolib-of.o10 obj-$(CONFIG_GPIO_CDEV) += gpiolib-cdev.o11 obj-$(CONFIG_GPIO_SYSFS) += gpiolib-sysfs.o12 obj-$(CONFIG_GPIO_ACPI) += gpiolib-acpi.o[all …]
1 # SPDX-License-Identifier: GPL-2.0-only3 # GPIO infrastructure and drivers7 bool "GPIO Support"9 This enables GPIO support through the generic GPIO library.11 one or more of the GPIO drivers below.47 this symbol, but new drivers should use the generic gpio-regmap51 bool "Debug GPIO calls"54 Say Y here to add some extra checks and diagnostics to GPIO calls.57 non-sleeping contexts. They can make bitbanged serial protocols62 bool "/sys/class/gpio/... (sysfs interface)" if EXPERT[all …]
1 # SPDX-License-Identifier: GPL-2.03 obj-$(CONFIG_HAVE_CLK) += clk-devres.o clk-bulk.o clkdev.o4 obj-$(CONFIG_COMMON_CLK) += clk.o5 obj-$(CONFIG_CLK_KUNIT_TEST) += clk-test.o6 clk-test-y := clk_test.o \22 obj-$(CONFIG_COMMON_CLK) += clk-divider.o23 obj-$(CONFIG_COMMON_CLK) += clk-fixed-factor.o24 obj-$(CONFIG_COMMON_CLK) += clk-fixed-rate.o25 obj-$(CONFIG_CLK_FIXED_RATE_KUNIT_TEST) += clk-fixed-rate-test.o26 clk-fixed-rate-test-y := clk-fixed-rate_test.o kunit_clk_fixed_rate_test.dtbo.o[all …]