Home
last modified time | relevance | path

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

12345678

/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-dhcom-som.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
6 #include "imx6ull-dhcor-som.dtsi"
10 /delete-property/ spi2;
11 /delete-property/ spi3;
28 stdout-path = "serial0:115200n8";
31 reg_ext_3v3_ref: regulator-ext-3v3-ref {
32 compatible = "regulator-fixed";
33 regulator-always-on;
34 regulator-max-microvolt = <3300000>;
35 regulator-min-microvolt = <3300000>;
[all …]
H A Dimx6ull-dhcor-maveo-box.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 * DHCR-iMX6ULL-C080-R051-SPI-WBT-I-01LG
8 * DHCOR PCB number: 578-200 or newer
9 * maveo box PCB number: 525-200 or newer
12 /dts-v1/;
14 #include "imx6ull-dhcor-som.dtsi"
18 compatible = "marantec,imx6ull-dhcor-maveo-box", "dh,imx6ull-dhcor-som",
28 stdout-path = "serial0:115200n8";
31 reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
32 compatible = "regulator-fixed";
[all …]
H A Dimx6ull-seeed-npi-dev-board.dtsi1 // SPDX-License-Identifier: GPL-2.0
7 #include <dt-bindings/gpio/gpio.h>
11 stdout-path = &uart1;
14 gpio_buttons: gpio-keys {
15 compatible = "gpio-keys";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_button>;
19 button-0 {
23 wakeup-source;
27 gpio-leds {
[all …]
H A Dimx6ull-dhcor-som.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
6 #include <dt-bindings/clock/imx6ul-clock.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/pwm/pwm.h>
11 #include <dt-bindings/regulator/dlg,da9063-regulator.h>
16 /delete-property/ mmc0;
17 /delete-property/ mmc1;
21 /* Appropriate memory size will be filled by U-Boot */
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mp-data-modul-edm-sbc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/net/qca-ar803x.h>
9 #include <dt-bindings/phy/phy-imx8-pcie.h>
14 compatible = "dmo,imx8mp-data-modul-edm-sbc", "fsl,imx8mp";
22 stdout-path = &uart3;
32 compatible = "pwm-backlight";
33 pinctrl-names = "default";
34 pinctrl-0 = <&pinctrl_panel_backlight>;
35 brightness-levels = <0 1 10 20 30 40 50 60 70 75 80 90 100>;
[all …]
H A Dimx8mp-dhcom-som.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2021-2022 Marek Vasut <marex@denx.de>
10 compatible = "dh,imx8mp-dhcom-som", "fsl,imx8mp";
22 /* Memory size 512 MiB..8 GiB will be filled by U-Boot */
26 reg_eth_vio: regulator-eth-vio {
27 compatible = "regulator-fixed";
28 gpio = <&ioexp 2 GPIO_ACTIVE_LOW>;
29 regulator-always-on;
30 regulator-boot-on;
31 regulator-min-microvolt = <3300000>;
[all …]
H A Dimx8mm-data-modul-edm-sbc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/net/qca-ar803x.h>
9 #include <dt-bindings/phy/phy-imx8-pcie.h>
14 compatible = "dmo,imx8mm-data-modul-edm-sbc", "fsl,imx8mm";
22 stdout-path = &uart3;
32 compatible = "pwm-backlight";
33 pinctrl-names = "default";
34 pinctrl-0 = <&pinctrl_panel_backlight>;
35 brightness-levels = <0 1 10 20 30 40 50 60 70 75 80 90 100>;
[all …]
H A Dimx8mm-innocomm-wb15.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/phy/phy-imx8-pcie.h>
10 reg_modem: regulator-modem {
11 compatible = "regulator-fixed";
12 pinctrl-names = "default";
13 pinctrl-0 = <&pinctrl_modem_regulator>;
14 regulator-min-microvolt = <3300000>;
15 regulator-max-microvolt = <3300000>;
16 regulator-name = "epdev_on";
17 gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>;
[all …]
H A Dimx8mm-emcon.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 /dts-v1/;
13 stdout-path = &uart1;
17 compatible = "gpio-leds";
18 pinctrl-names = "default";
19 pinctrl-0 = <&pinctrl_gpio_led>;
21 led-green {
24 default-state = "on";
25 linux,default-trigger = "heartbeat";
28 led-red {
[all …]
H A Dimx8mm-emtop-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/usb/pd.h>
15 model = "Emtop Embedded Solutions i.MX8M Mini SOM-IMX8MMLPD4 SoM";
16 compatible = "ees,imx8mm-emtop-som", "fsl,imx8mm";
19 stdout-path = &uart2;
23 compatible = "gpio-leds";
24 pinctrl-names = "default";
[all …]
H A Dimx8mm-innocomm-wb15-evk.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include "imx8mm-innocomm-wb15.dtsi"
12 model = "InnoComm WB15-EVK";
13 compatible = "innocomm,wb15-evk", "fsl,imx8mm";
16 stdout-path = &uart2;
20 compatible = "gpio-leds";
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_gpio_leds>;
24 led-0 {
[all …]
/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-rt305x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 #include <asm/mach-ralink/ralink_regs.h>
4 #include <asm/mach-ralink/rt305x.h>
8 #include "pinctrl-mtmips.h"
41 FUNC("pcm gpio", RT305X_GPIO_MODE_PCM_GPIO, 11, 4),
42 FUNC("gpio uartf", RT305X_GPIO_MODE_GPIO_UARTF, 7, 4),
43 FUNC("gpio i2s", RT305X_GPIO_MODE_GPIO_I2S, 7, 4),
67 GRP("i2c", i2c_grp, 1, RT305X_GPIO_MODE_I2C),
68 GRP("spi", spi_grp, 1, RT305X_GPIO_MODE_SPI),
69 GRP("uartf", uartf_grp, RT305X_GPIO_MODE_UART0_MASK,
[all …]
H A Dpinctrl-paris.c1 // SPDX-License-Identifier: GPL-2.0
3 * MediaTek Pinctrl Paris Driver, which implement the vendor per-pin
12 #include <linux/gpio/driver.h>
18 #include <dt-bindings/pinctrl/mt65xx.h>
20 #include "pinctrl-paris.h"
34 {"mediatek,pull-up-adv", MTK_PIN_CONFIG_PU_ADV, 1},
35 {"mediatek,pull-down-adv", MTK_PIN_CONFIG_PD_ADV, 1},
36 {"mediatek,drive-strength-adv", MTK_PIN_CONFIG_DRV_ADV, 2},
43 PCONFDUMP(MTK_PIN_CONFIG_PU_ADV, "pu-adv", NULL, true),
44 PCONFDUMP(MTK_PIN_CONFIG_PD_ADV, "pd-adv", NULL, true),
[all …]
H A Dpinctrl-rt3883.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "pinctrl-mtmips.h"
49 FUNC("pcm gpio", RT3883_GPIO_MODE_PCM_GPIO, 11, 4),
50 FUNC("gpio uartf", RT3883_GPIO_MODE_GPIO_UARTF, 7, 4),
51 FUNC("gpio i2s", RT3883_GPIO_MODE_GPIO_I2S, 7, 4),
59 FUNC("pci-dev", 0, 40, 32),
60 FUNC("pci-host2", 1, 40, 32),
61 FUNC("pci-host1", 2, 40, 32),
62 FUNC("pci-fnc", 3, 40, 32)
68 GRP("i2c", i2c_grp, 1, RT3883_GPIO_MODE_I2C),
[all …]
H A Dpinctrl-moore.c1 // SPDX-License-Identifier: GPL-2.0
3 * MediaTek Pinctrl Moore Driver, which implement the generic dt-binding
4 * pinctrl-bindings.txt for MediaTek SoC.
6 * Copyright (C) 2017-2018 MediaTek Inc.
11 #include <dt-bindings/pinctrl/mt65xx.h>
12 #include <linux/gpio/driver.h>
16 #include "pinctrl-moore.h"
29 {"mediatek,pull-up-adv", MTK_PIN_CONFIG_PU_ADV, 1},
30 {"mediatek,pull-down-adv", MTK_PIN_CONFIG_PD_ADV, 1},
37 PCONFDUMP(MTK_PIN_CONFIG_PU_ADV, "pu-adv", NULL, true),
[all …]
H A Dpinctrl-mt7620.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "pinctrl-mtmips.h"
73 FUNC("pcm gpio", MT7620_GPIO_MODE_PCM_GPIO, 11, 4),
74 FUNC("gpio uartf", MT7620_GPIO_MODE_GPIO_UARTF, 7, 4),
75 FUNC("gpio i2s", MT7620_GPIO_MODE_GPIO_I2S, 7, 4),
91 GRP("i2c", i2c_grp, 1, MT7620_GPIO_MODE_I2C),
92 GRP("uartf", uartf_grp, MT7620_GPIO_MODE_UART0_MASK,
94 GRP("spi", spi_grp, 1, MT7620_GPIO_MODE_SPI),
95 GRP("uartlite", uartlite_grp, 1, MT7620_GPIO_MODE_UART1),
100 GRP("rgmii1", rgmii1_grp, 1, MT7620_GPIO_MODE_RGMII1),
[all …]
/linux/drivers/pinctrl/nuvoton/
H A Dpinctrl-ma35.c1 // SPDX-License-Identifier: GPL-2.0
5 * Author: Shan-Chun Hung <schung@nuvoton.com>
13 #include <linux/gpio/driver.h>
24 #include "pinctrl-ma35.h"
33 /* GPIO control registers */
50 /* GPIO mode control */
59 /* GPIO pull-up and pull-down selection control */
66 * The MA35_GP_REG_INTEN bits 0 ~ 15 control low-level or falling edge trigger,
67 * while bits 16 ~ 31 control high-level or rising edge trigger.
84 /* Non-constant mask variant of FIELD_GET() and FIELD_PREP() */
[all …]
/linux/drivers/pinctrl/
H A Dpinctrl-equilibrium.c1 // SPDX-License-Identifier: GPL-2.0
4 #include <linux/gpio/driver.h>
11 #include <linux/pinctrl/pinconf-generic.h>
19 #include "pinctrl-equilibrium.h"
21 #define PIN_NAME_FMT "io-%d"
32 raw_spin_lock_irqsave(&gctrl->lock, flags); in eqbr_gpio_disable_irq()
33 writel(BIT(offset), gctrl->membase + GPIO_IRNENCLR); in eqbr_gpio_disable_irq()
34 raw_spin_unlock_irqrestore(&gctrl->lock, flags); in eqbr_gpio_disable_irq()
45 gc->direction_input(gc, offset); in eqbr_gpio_enable_irq()
47 raw_spin_lock_irqsave(&gctrl->lock, flags); in eqbr_gpio_enable_irq()
[all …]
H A Dpinctrl-at91.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
10 #include <linux/gpio/driver.h>
29 #include "pinctrl-at91.h"
38 * struct at91_gpio_chip: at91 gpio chip
39 * @chip: gpio chip
40 * @range: gpio range
49 * @id: gpio chip identifier
114 * struct at91_pmx_func - describes AT91 pinmux functions
134 * struct at91_pmx_pin - describes an At91 pin mux
[all …]
/linux/drivers/pinctrl/meson/
H A Dpinctrl-meson8-pmx.h1 /* SPDX-License-Identifier: GPL-2.0-only */
22 #define GROUP(grp, r, b) \ argument
24 .name = #grp, \
25 .pins = grp ## _pins, \
26 .num_pins = ARRAY_SIZE(grp ## _pins), \
32 #define GPIO_GROUP(gpio) \ argument
34 .name = #gpio, \
35 .pins = (const unsigned int[]){ gpio }, \
H A Dpinctrl-meson-axg-pmx.h1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
42 #define GROUP(grp, f) \ argument
44 .name = #grp, \
45 .pins = grp ## _pins, \
46 .num_pins = ARRAY_SIZE(grp ## _pins), \
52 #define GPIO_GROUP(gpio) \ argument
54 .name = #gpio, \
55 .pins = (const unsigned int[]){ gpio }, \
/linux/drivers/pinctrl/intel/
H A Dpinctrl-intel.c1 // SPDX-License-Identifier: GPL-2.0
3 * Intel pinctrl/GPIO core driver.
12 #include <linux/gpio/driver.h>
24 #include <linux/pinctrl/pinconf-generic.h>
28 #include <linux/platform_data/x86/pwm-lpss.h>
31 #include "pinctrl-intel.h"
91 * 0 0 0 -
126 #define pin_to_padno(c, p) ((p) - (c)->pin_base)
127 #define padgroup_offset(g, p) ((p) - (g)->base)
131 __ci < pctrl->ncommunities && (community = &pctrl->communities[__ci]); \
[all …]
/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rza2.c1 // SPDX-License-Identifier: GPL-2.0
3 * Combined GPIO and pin controller support for Renesas RZ/A2 (R7S9210) SoC
9 * This pin controller/gpio combined driver supports Renesas devices of RZ/A2
14 #include <linux/gpio/driver.h>
26 #define DRIVER_NAME "pinctrl-rza2"
55 #define RZA2_PDR(port) (0x0000 + (port) * 2) /* Direction 16-bit */
56 #define RZA2_PODR(port) (0x0040 + (port)) /* Output Data 8-bit */
57 #define RZA2_PIDR(port) (0x0060 + (port)) /* Input Data 8-bit */
58 #define RZA2_PMR(port) (0x0080 + (port)) /* Mode 8-bit */
59 #define RZA2_DSCR(port) (0x0140 + (port) * 2) /* Drive 16-bit */
[all …]
/linux/drivers/pinctrl/mvebu/
H A Dpinctrl-mvebu.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 #include <linux/gpio/driver.h>
24 #include "pinctrl-mvebu.h"
64 *config = (readl(data->base + off) >> shift) & MVEBU_MPP_MASK; in mvebu_mmio_mpp_ctrl_get()
76 reg = readl(data->base + off) & ~(MVEBU_MPP_MASK << shift); in mvebu_mmio_mpp_ctrl_set()
77 writel(reg | (config << shift), data->base + off); in mvebu_mmio_mpp_ctrl_set()
86 for (n = 0; n < pctl->num_groups; n++) { in mvebu_pinctrl_find_group_by_pid()
87 if (pid >= pctl->groups[n].pins[0] && in mvebu_pinctrl_find_group_by_pid()
88 pid < pctl->groups[n].pins[0] + in mvebu_pinctrl_find_group_by_pid()
[all …]
/linux/drivers/pinctrl/nxp/
H A Dpinctrl-s32cc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2017-2022,2024 NXP
7 * Copyright 2015-2016 Freescale Semiconductor, Inc.
12 #include <linux/gpio/driver.h>
28 #include "../pinctrl-utils.h"
29 #include "pinctrl-s32.h"
70 * Holds pin configuration for GPIO's.
71 * @pin_id: Pin ID for this GPIO
73 * @list: Linked list entry for each gpio pin
93 * @gpio_configs: Saved configurations for GPIO pins
[all …]

12345678