Lines Matching +full:bcm63xx +full:- +full:gpio
1 // SPDX-License-Identifier: GPL-2.0+
3 * Driver for BCM6318 GPIO unit (pinctrl + GPIO)
10 #include <linux/gpio/driver.h>
17 #include "../pinctrl-utils.h"
19 #include "pinctrl-bcm63xx.h"
392 regmap_update_bits(pc->regs, BCM6318_MODE_REG, BIT(pin), in bcm6318_rmw_mux()
396 regmap_update_bits(pc->regs, in bcm6318_rmw_mux()
405 regmap_update_bits(pc->regs, bcm6318_pad_off(pin), in bcm6318_set_pad()
417 bcm6318_rmw_mux(pc, pg->pins[0], f->mode_val, f->mux_val); in bcm6318_pinctrl_set_mux()
430 /* GPIOs 0-12 use mux 0 as GPIO function */ in bcm6318_gpio_request_enable()
433 /* GPIOs 13-41 use mux 3 as GPIO function */ in bcm6318_gpio_request_enable()
473 { .compatible = "brcm,bcm6318-pinctrl", },
480 .name = "bcm6318-pinctrl",