Searched +full:ls1x +full:- +full:gpio (Results 1 – 4 of 4) sorted by relevance
/linux-6.14.4/Documentation/devicetree/bindings/gpio/ |
D | loongson,ls1x-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/loongson,ls1x-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Loongson-1 GPIO controller 10 - Keguang Zhang <[email protected]> 14 const: loongson,ls1x-gpio 19 gpio-controller: true 21 "#gpio-cells": 29 - compatible [all …]
|
/linux-6.14.4/arch/mips/loongson32/common/ |
D | platform.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2011-2016 Zhang, Keguang <[email protected]> 7 #include <linux/dma-mapping.h> 50 clk = clk_get(&pdev->dev, pdev->name); in ls1x_serial_set_uartclk() 53 pdev->name, PTR_ERR(clk)); in ls1x_serial_set_uartclk() 58 for (p = pdev->dev.platform_data; p->flags != 0; ++p) in ls1x_serial_set_uartclk() 59 p->uartclk = clk_get_rate(clk); in ls1x_serial_set_uartclk() 79 plat_dat = dev_get_platdata(&pdev->dev); in ls1x_eth_mux_init() 80 if (plat_dat->bus_id) { in ls1x_eth_mux_init() 83 switch (plat_dat->phy_interface) { in ls1x_eth_mux_init() [all …]
|
/linux-6.14.4/drivers/gpio/ |
D | gpio-loongson1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * GPIO Driver for Loongson 1 SoC 5 * Copyright (C) 2015-2023 Keguang Zhang <[email protected]> 9 #include <linux/gpio/driver.h> 13 /* Loongson 1 GPIO Register Definitions */ 29 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in ls1x_gpio_request() 30 __raw_writel(__raw_readl(ls1x_gc->reg_base + GPIO_CFG) | BIT(offset), in ls1x_gpio_request() 31 ls1x_gc->reg_base + GPIO_CFG); in ls1x_gpio_request() 32 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in ls1x_gpio_request() 42 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in ls1x_gpio_free() [all …]
|
/linux-6.14.4/drivers/irqchip/ |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_IRQCHIP) += irqchip.o 4 obj-$(CONFIG_AL_FIC) += irq-al-fic.o 5 obj-$(CONFIG_ALPINE_MSI) += irq-alpine-msi.o 6 obj-$(CONFIG_ATH79) += irq-ath79-cpu.o 7 obj-$(CONFIG_ATH79) += irq-ath79-misc.o 8 obj-$(CONFIG_ARCH_BCM2835) += irq-bcm2835.o 9 obj-$(CONFIG_ARCH_BCM2835) += irq-bcm2836.o 10 obj-$(CONFIG_ARCH_ACTIONS) += irq-owl-sirq.o 11 obj-$(CONFIG_DAVINCI_CP_INTC) += irq-davinci-cp-intc.o [all …]
|