Searched +full:rtl8380 +full:- +full:gpio (Results 1 – 2 of 2) sorted by relevance
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---4 $id: http://devicetree.org/schemas/gpio/realtek,otto-gpio.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: Realtek Otto GPIO controller10 - Sander Vanheule <sander@svanheule.net>11 - Bert Vermeulen <bert@biot.com>14 Realtek's GPIO controller on their MIPS switch SoCs (Otto platform) consists15 of two banks of 32 GPIOs. These GPIOs can generate edge-triggered interrupts.20 allows for GPIO port use.[all …]
1 // SPDX-License-Identifier: GPL-2.0-only3 #include <linux/gpio/driver.h>20 * Not used on RTL8380/RTL8390, peripheral selection is managed by control bits29 /* Two bits per GPIO in IMR registers */42 * realtek_gpio_ctrl - Realtek Otto GPIO driver data45 * @base: Base address of the register block for a GPIO bank49 * @bank_read: Read a bank setting as a single 32-bit value50 * @bank_write: Write a bank setting as a single 32-bit value53 * The DIR, DATA, and ISR registers consist of four 8-bit port values, packed54 * into a single 32-bit register. Use @bank_read (@bank_write) to get (assign)[all …]