Home
last modified time | relevance | path

Searched +full:gpio +full:- +full:f (Results 1 – 25 of 557) sorted by relevance

12345678910>>...23

/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Dqcom,spmi-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SPMI PMICs multi-function device
13 16-bit SPMI peripheral address space into 256 smaller fixed-size regions, 256 bytes
14 each. A function can consume one or more of these fixed-size register regions.
24 - Stephen Boyd <sboyd@kernel.org>
29 - pattern: '^pmic@.*$'
30 - pattern: '^pm(a|s)?[0-9]*@.*$'
[all …]
Dkontron,sl28cpld.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Walle <michael@walle.cc>
15 GPIO controller.
26 "#address-cells":
29 "#size-cells":
32 "#interrupt-cells":
38 interrupt-controller: true
41 "^gpio(@[0-9a-f]+)?$":
[all …]
Dmscc,ocelot.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ocelot Externally-Controlled Ethernet Switch
10 - Colin Foster <colin.foster@in-advantage.com>
17 The switch family is a multi-port networking switch that supports many
19 external GPIO expanders.
24 - mscc,vsc7512
29 "#address-cells":
32 "#size-cells":
[all …]
Dbrcm,bcm6358-gpio-sysctl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/brcm,bcm6358-gpio-sysctl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom BCM6358 GPIO System Controller
10 - Álvaro Fernández Rojas <noltari@gmail.com>
11 - Jonas Gorski <jonas.gorski@gmail.com>
14 Broadcom BCM6358 SoC GPIO system controller which provides a register map
15 for controlling the GPIO and pins of the SoC.
18 "#address-cells": true
[all …]
Dxylon,logicvc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Xylon LogiCVC multi-function device
11 - Paul Kocialkowski <paul.kocialkowski@bootlin.com>
14 The LogiCVC is a display controller that also contains a GPIO controller.
15 As a result, a multi-function device is exposed as parent of the display
16 and GPIO blocks.
21 - enum:
22 - xylon,logicvc-3.02.a
[all …]
Dbrcm,bcm6318-gpio-sysctl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/brcm,bcm6318-gpio-sysctl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom BCM6318 GPIO System Controller
10 - Álvaro Fernández Rojas <noltari@gmail.com>
11 - Jonas Gorski <jonas.gorski@gmail.com>
14 Broadcom BCM6318 SoC GPIO system controller which provides a register map
15 for controlling the GPIO and pins of the SoC.
18 "#address-cells": true
[all …]
Dbrcm,bcm6328-gpio-sysctl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/brcm,bcm6328-gpio-sysctl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom BCM6328 GPIO System Controller
10 - Álvaro Fernández Rojas <noltari@gmail.com>
11 - Jonas Gorski <jonas.gorski@gmail.com>
14 Broadcom BCM6328 SoC GPIO system controller which provides a register map
15 for controlling the GPIO and pins of the SoC.
18 "#address-cells": true
[all …]
/Linux-v6.1/drivers/pinctrl/
Dpinctrl-lpc18xx.c19 #include <linux/pinctrl/pinconf-generic.h>
22 #include "pinctrl-utils.h"
66 TYPE_ND, /* Normal-drive */
67 TYPE_HD, /* High-drive */
68 TYPE_HS, /* High-speed */
144 [FUNC_GPIO] = "gpio",
238 LPC_P(0,0, GPIO, SSP1, ENET, SGPIO, R, R, I2S0_TX_WS,I2S1, 0, ND);
239 LPC_P(0,1, GPIO, SSP1,ENET_ALT,SGPIO, R, R, ENET, I2S1, 0, ND);
240 LPC_P(1,0, GPIO, CTIN, EMC, R, R, SSP0, SGPIO, R, 0, ND);
241 LPC_P(1,1, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND);
[all …]
Dpinctrl-ocelot.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 * Author: <alexandre.belloni@free-electrons.com>
10 #include <linux/gpio/driver.h>
20 #include <linux/pinctrl/pinconf-generic.h>
39 /* GPIO standard registers */
222 [FUNC_GPIO] = "gpio",
973 LAN966X_P(0, GPIO, NONE, NONE, NONE, NONE, NONE, NONE, R);
974 LAN966X_P(1, GPIO, NONE, NONE, NONE, NONE, NONE, NONE, R);
975 LAN966X_P(2, GPIO, NONE, NONE, NONE, NONE, NONE, NONE, R);
976 LAN966X_P(3, GPIO, NONE, NONE, NONE, NONE, NONE, NONE, R);
[all …]
/Linux-v6.1/drivers/pinctrl/meson/
Dpinctrl-meson-axg-pmx.h1 /* SPDX-License-Identifier: (GPL-2.0+ or MIT) */
24 #define BANK_PMX(n, f, l, r, o) \ argument
27 .first = f, \
37 #define PMX_DATA(f) \ argument
39 .func = f, \
42 #define GROUP(grp, f) \ argument
48 PMX_DATA(f), \
52 #define GPIO_GROUP(gpio) \ argument
54 .name = #gpio, \
55 .pins = (const unsigned int[]){ gpio }, \
/Linux-v6.1/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Daspeed-bmc-opp-palmetto.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
4 #include "aspeed-g4.dtsi"
5 #include <dt-bindings/gpio/aspeed-gpio.h>
9 compatible = "tyan,palmetto-bmc", "aspeed,ast2400";
12 stdout-path = &uart5;
20 reserved-memory {
21 #address-cells = <1>;
22 #size-cells = <1>;
26 no-map;
[all …]
Daspeed-bmc-lenovo-hr855xg2.dts1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2019-present Lenovo
8 /dts-v1/;
10 #include "aspeed-g5.dtsi"
11 #include <dt-bindings/gpio/aspeed-gpio.h>
15 compatible = "lenovo,hr855xg2-bmc", "aspeed,ast2500";
29 stdout-path = &uart5;
38 reserved-memory {
39 #address-cells = <1>;
40 #size-cells = <1>;
[all …]
Daspeed-bmc-facebook-bletchley.dts1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/usb/pd.h>
8 #include <dt-bindings/leds/leds-pca955x.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/i2c/i2c.h>
14 compatible = "facebook,bletchley-bmc", "aspeed,ast2600";
29 iio-hwmon {
[all …]
Daspeed-bmc-asrock-e3c246d4i.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
4 #include "aspeed-g5.dtsi"
5 #include <dt-bindings/gpio/aspeed-gpio.h>
6 #include <dt-bindings/i2c/i2c.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
11 compatible = "asrock,e3c246d4i-bmc", "aspeed,ast2500";
18 stdout-path = &uart5;
27 compatible = "gpio-leds";
31 gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_LOW>;
[all …]
Daspeed-bmc-lenovo-hr630.dts1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2019-present Lenovo
8 /dts-v1/;
10 #include "aspeed-g5.dtsi"
11 #include <dt-bindings/gpio/aspeed-gpio.h>
15 compatible = "lenovo,hr630-bmc", "aspeed,ast2500";
29 stdout-path = &uart5;
38 reserved-memory {
39 #address-cells = <1>;
40 #size-cells = <1>;
[all …]
Domap3-igep0020-rev-f.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Device Tree Source for IGEPv2 Rev. F (TI OMAP AM/DM37x)
9 #include "omap3-igep0020-common.dtsi"
12 model = "IGEPv2 Rev. F (TI OMAP AM/DM37x)";
13 compatible = "isee,omap3-igep0020-rev-f", "ti,omap3630", "ti,omap36xx", "ti,omap3";
16 lbep5clwmc_wlen: regulator-lbep5clwmc-wlen {
17 compatible = "regulator-fixed";
18 regulator-name = "regulator-lbep5clwmc-wlen";
19 regulator-min-microvolt = <3300000>;
20 regulator-max-microvolt = <3300000>;
[all …]
/Linux-v6.1/drivers/pinctrl/sunplus/
Dsppctl.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/gpio/driver.h>
21 #include <linux/pinctrl/pinconf-generic.h>
24 #include <dt-bindings/pinctrl/sppctl-sp7021.h>
27 #include "../pinctrl-utils.h"
41 return readl(spp_gchip->first_base + SPPCTL_GPIO_OFF_FIRST + off); in sppctl_first_readl()
46 writel(val, spp_gchip->first_base + SPPCTL_GPIO_OFF_FIRST + off); in sppctl_first_writel()
51 return readl(spp_gchip->gpioxt_base + SPPCTL_GPIO_OFF_MASTER + off); in sppctl_gpio_master_readl()
57 writel(val, spp_gchip->gpioxt_base + SPPCTL_GPIO_OFF_MASTER + off); in sppctl_gpio_master_writel()
62 return readl(spp_gchip->gpioxt_base + SPPCTL_GPIO_OFF_OE + off); in sppctl_gpio_oe_readl()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/gpio/
Dsnps,dw-apb-gpio.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/snps,dw-apb-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Synopsys DesignWare APB GPIO controller
10 Synopsys DesignWare GPIO controllers have a configurable number of ports,
12 GPIO-controller properties as desribed in this bindings file.
15 - Hoan Tran <hoan@os.amperecomputing.com>
16 - Serge Semin <fancer.lancer@gmail.com>
20 pattern: "^gpio@[0-9a-f]+$"
[all …]
Dmrvl-gpio.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/gpio/mrvl-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Marvell PXA GPIO controller
10 - Linus Walleij <linus.walleij@linaro.org>
11 - Bartosz Golaszewski <bgolaszewski@baylibre.com>
12 - Rob Herring <robh+dt@kernel.org>
15 - if:
20 - intel,pxa25x-gpio
[all …]
/Linux-v6.1/drivers/gpio/
Dgpio-tps65912.c1 // SPDX-License-Identifier: GPL-2.0
3 * GPIO driver for TI TPS65912x PMICs
5 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
6 * Andrew F. Davis <afd@ti.com>
8 * Based on the Arizona GPIO driver and the previous TPS65912 driver by
12 #include <linux/gpio/driver.h>
26 struct tps65912_gpio *gpio = gpiochip_get_data(gc); in tps65912_gpio_get_direction() local
30 ret = regmap_read(gpio->tps->regmap, TPS65912_GPIO1 + offset, &val); in tps65912_gpio_get_direction()
42 struct tps65912_gpio *gpio = gpiochip_get_data(gc); in tps65912_gpio_direction_input() local
44 return regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset, in tps65912_gpio_direction_input()
[all …]
Dgpio-tps65086.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
4 * Andrew F. Davis <afd@ti.com>
9 #include <linux/gpio/driver.h>
31 return -EINVAL; in tps65086_gpio_direction_input()
37 struct tps65086_gpio *gpio = gpiochip_get_data(chip); in tps65086_gpio_direction_output() local
40 regmap_update_bits(gpio->tps->regmap, TPS65086_GPOCTRL, in tps65086_gpio_direction_output()
48 struct tps65086_gpio *gpio = gpiochip_get_data(chip); in tps65086_gpio_get() local
51 ret = regmap_read(gpio->tps->regmap, TPS65086_GPOCTRL, &val); in tps65086_gpio_get()
61 struct tps65086_gpio *gpio = gpiochip_get_data(chip); in tps65086_gpio_set() local
[all …]
Dgpio-tpic2810.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
4 * Andrew F. Davis <afd@ti.com>
7 #include <linux/gpio/driver.h>
15 * struct tpic2810 - GPIO driver data
16 * @chip: GPIO controller chip
41 return -EINVAL; in tpic2810_direction_input()
54 struct tpic2810 *gpio = gpiochip_get_data(chip); in tpic2810_set_mask_bits() local
58 mutex_lock(&gpio->lock); in tpic2810_set_mask_bits()
60 buffer = gpio->buffer & ~mask; in tpic2810_set_mask_bits()
[all …]
/Linux-v6.1/tools/gpio/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 # This will work when gpio is built in tools env. where srctree
15 # Do not use make's built-in rules
16 # (this improves performance and avoids hard-to-debug behaviour);
17 MAKEFLAGS += -r
19 override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include
21 ALL_TARGETS := lsgpio gpio-hammer gpio-event-mon gpio-watch
32 $(OUTPUT)include/linux/gpio.h: ../../include/uapi/linux/gpio.h
33 mkdir -p $(OUTPUT)include/linux 2>&1 || true
34 ln -sf $(CURDIR)/../../include/uapi/linux/gpio.h $@
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/bus/
Dpalmbus.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sergio Paracuellos <sergio.paracuellos@gmail.com>
19 pattern: "^palmbus(@[0-9a-f]+)?$"
21 "#address-cells":
24 "#size-cells":
36 # All other properties should be child nodes with unit-address and 'reg'
37 "@[0-9a-f]+$":
44 - reg
[all …]

12345678910>>...23