Home
last modified time | relevance | path

Searched +full:mb86s70 +full:- +full:gpio (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/
Dfujitsu,mb86s70-gpio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/fujitsu,mb86s70-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Fujitsu MB86S7x GPIO Controller
10 - Jassi Brar <jaswinder.singh@linaro.org>
15 - items:
16 - const: socionext,synquacer-gpio
17 - const: fujitsu,mb86s70-gpio
18 - const: fujitsu,mb86s70-gpio
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Dfujitsu,mb86s70-gpio.txt1 Fujitsu MB86S7x GPIO Controller
2 -------------------------------
5 - compatible: Should be "fujitsu,mb86s70-gpio"
6 - reg: Base address and length of register space
7 - clocks: Specify the clock
8 - gpio-controller: Marks the device node as a gpio controller.
9 - #gpio-cells: Should be <2>. The first cell is the pin number and the
11 - bit 0 specifies polarity (0 for normal, 1 for inverted).
14 gpio0: gpio@31000000 {
15 compatible = "fujitsu,mb86s70-gpio";
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-mb86s7x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/drivers/gpio/gpio-mb86s7x.c
18 #include <linux/gpio/driver.h>
24 #include "gpiolib-acpi.h"
43 static int mb86s70_gpio_request(struct gpio_chip *gc, unsigned gpio) in mb86s70_gpio_request() argument
49 spin_lock_irqsave(&gchip->lock, flags); in mb86s70_gpio_request()
51 val = readl(gchip->base + PFR(gpio)); in mb86s70_gpio_request()
52 val &= ~OFFSET(gpio); in mb86s70_gpio_request()
53 writel(val, gchip->base + PFR(gpio)); in mb86s70_gpio_request()
55 spin_unlock_irqrestore(&gchip->lock, flags); in mb86s70_gpio_request()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # GPIO infrastructure and drivers
10 the architecture to provide a custom asm/gpio.h implementation
15 bool "GPIO Support"
17 This enables GPIO support through the generic GPIO library.
19 one or more of the GPIO drivers below.
51 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 protocols
62 bool "/sys/class/gpio/... (sysfs interface)"
[all …]
/kernel/linux/linux-6.6/drivers/gpio/
Dgpio-mb86s7x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/drivers/gpio/gpio-mb86s7x.c
18 #include <linux/gpio/driver.h>
24 #include "gpiolib-acpi.h"
43 static int mb86s70_gpio_request(struct gpio_chip *gc, unsigned gpio) in mb86s70_gpio_request() argument
49 spin_lock_irqsave(&gchip->lock, flags); in mb86s70_gpio_request()
51 val = readl(gchip->base + PFR(gpio)); in mb86s70_gpio_request()
52 val &= ~OFFSET(gpio); in mb86s70_gpio_request()
53 writel(val, gchip->base + PFR(gpio)); in mb86s70_gpio_request()
55 spin_unlock_irqrestore(&gchip->lock, flags); in mb86s70_gpio_request()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # GPIO infrastructure and drivers
7 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-regmap
51 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 protocols
62 bool "/sys/class/gpio/... (sysfs interface)" if EXPERT
[all …]