Home
last modified time | relevance | path

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

/linux/Documentation/devicetree/bindings/pinctrl/
H A Dlantiq,pinctrl-xway.txt1 Lantiq XWAY pinmux controller
4 - compatible: "lantiq,<chip>-pinctrl", where <chip> is:
5 "ase" (XWAY AMAZON Family)
6 "danube" (XWAY DANUBE Family)
7 "xrx100" (XWAY xRX100 Family)
8 "xrx200" (XWAY xRX200 Family)
9 "xrx300" (XWAY xRX300 Family)
10 - reg: Should contain the physical address and length of the gpio/pinmux
13 Please refer to pinctrl-bindings.txt in this directory for details of the
21 pull-up and open-drain
[all …]
/linux/Documentation/devicetree/bindings/gpio/
H A Dgpio-stp-xway.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/gpio-stp-xway.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Lantiq SoC Serial To Parallel (STP) GPIO controller
10 The Serial To Parallel (STP) is found on MIPS based Lantiq socs. It is a
16 - John Crispin <john@phrozen.org>
20 pattern: "^gpio@[0-9a-f]+$"
23 const: lantiq,gpio-stp-xway
28 gpio-controller: true
[all …]
/linux/arch/mips/boot/dts/lantiq/
H A Ddanube_easy50712.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
19 #address-cells = <1>;
20 #size-cells = <1>;
22 #address-cells = <2>;
23 #size-cells = <1>;
26 compatible = "lantiq,localbus", "simple-bus";
28 nor-boot@0 {
30 bank-width = <2>;
32 #address-cells = <1>;
[all …]
/linux/drivers/gpio/
H A Dgpio-stp-xway.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/gpio/driver.h>
20 * The Serial To Parallel (STP) is found on MIPS based Lantiq socs. It is a
65 /* STP has 3 groups of 8 bits */
85 u8 groups; /* we can drive 1-3 groups of 8bit each */
95 * xway_stp_get() - gpio_chip->get - get gpios.
97 * @gpio: GPIO signal number.
101 static int xway_stp_get(struct gpio_chip *gc, unsigned int gpio) in xway_stp_get() argument
105 return (xway_stp_r32(chip->virt, XWAY_STP_CPU0) & BIT(gpio)); in xway_stp_get()
109 * xway_stp_set() - gpio_chip->set - set gpios.
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # GPIO infrastructure and drivers
10 bool "GPIO Support"
12 This enables GPIO support through the generic GPIO library.
14 one or more of the GPIO drivers below.
50 this symbol, but new drivers should use the generic gpio-regmap
54 bool "Debug GPIO calls"
57 Say Y here to add some extra checks and diagnostics to GPIO calls.
60 non-sleeping contexts. They can make bitbanged serial protocols
65 bool "/sys/class/gpio/... (sysfs interface)" if EXPERT
[all …]
/linux/drivers/pinctrl/
H A Dpinctrl-xway.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/drivers/pinctrl/pinmux-xway.c
4 * based on linux/drivers/pinctrl/pinmux-pxa910.c
11 #include <linux/gpio/driver.h>
21 #include "pinctrl-lantiq.h"
110 /* --------- ase related code --------- */
115 MFP_XWAY(GPIO0, GPIO, EXIN, MII, TDM),
116 MFP_XWAY(GPIO1, GPIO, STP, DFE, EBU),
117 MFP_XWAY(GPIO2, GPIO, STP, DFE, EPHY),
118 MFP_XWAY(GPIO3, GPIO, STP, EPHY, EBU),
[all …]