Home
last modified time | relevance | path

Searched +full:moxtet +full:- +full:gpio (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpio/
H A Dgpio-moxtet.c1 // SPDX-License-Identifier: GPL-2.0
3 * Turris Mox Moxtet GPIO expander
9 #include <linux/gpio/driver.h>
10 #include <linux/moxtet.h>
39 if (chip->desc->in_mask & BIT(offset)) { in moxtet_gpio_get_value()
40 ret = moxtet_device_read(chip->dev); in moxtet_gpio_get_value()
41 } else if (chip->desc->out_mask & BIT(offset)) { in moxtet_gpio_get_value()
42 ret = moxtet_device_written(chip->dev); in moxtet_gpio_get_value()
46 return -EINVAL; in moxtet_gpio_get_value()
61 state = moxtet_device_written(chip->dev); in moxtet_gpio_set_value()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # GPIO infrastructure and drivers
13 bool "GPIO Support"
15 This enables GPIO support through the generic GPIO library.
17 one or more of the GPIO drivers below.
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
71 This ABI is deprecated. If you want to use GPIO from userspace,
[all …]
/linux/arch/arm64/boot/dts/marvell/
H A Darmada-3720-turris-mox.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include <dt-bindings/bus/moxtet.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include "armada-372x.dtsi"
16 compatible = "cznic,turris-mox", "marvell,armada3720",
28 stdout-path = "serial0:115200n8";
37 compatible = "gpio-leds";
41 linux,default-trigger = "default-on";
[all …]
/linux/drivers/bus/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
37 Driver for the Broadcom Set Top Box System-on-a-chip internal bus
42 bool "Baikal-T1 APB-bus driver"
46 Baikal-T1 AXI-APB bridge is used to access the SoC subsystem CSRs.
53 errors counter. The counter and the APB-bus operations timeout can be
57 bool "Baikal-T1 AXI-bus driver"
61 AXI3-bus is the main communication bus connecting all high-speed
62 peripheral IP-cores with RAM controller and with MIPS P5600 cores on
63 Baikal-T1 SoC. Traffic arbitration is done by means of DW AMBA 3 AXI
71 config MOXTET config
[all …]