Searched +full:ls1x +full:- +full:intc (Results 1 – 4 of 4) sorted by relevance
| /linux/arch/mips/boot/dts/loongson/ |
| H A D | loongson1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2023-2025 Keguang Zhang <keguang.zhang@gmail.com> 6 /dts-v1/; 8 #include <dt-bindings/clock/loongson,ls1x-clk.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 16 compatible = "fixed-clock"; 17 clock-output-names = "xtal"; 18 #clock-cells = <0>; [all …]
|
| H A D | loongson1c.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2023-2025 Keguang Zhang <keguang.zhang@gmail.com> 6 /dts-v1/; 10 clkc: clock-controller@1fe78030 { 11 compatible = "loongson,ls1c-clk"; 14 #clock-cells = <1>; 20 compatible = "loongson,ls1c-syscon", "syscon"; 24 intc4: interrupt-controller@10a0 { 25 compatible = "loongson,ls1x-intc"; 27 interrupt-controller; [all …]
|
| /linux/Documentation/devicetree/bindings/interrupt-controller/ |
| H A D | loongson,ls1x-intc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/loongson,ls1x-intc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Loongson-1 Interrupt Controller 10 - Keguang Zhang <keguang.zhang@gmail.com> 13 Loongson-1 interrupt controller is connected to the MIPS core interrupt 18 const: loongson,ls1x-intc 23 interrupt-controller: true 25 '#interrupt-cells': [all …]
|
| /linux/drivers/irqchip/ |
| H A D | irq-ls1x.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Loongson-1 platform IRQ support 26 * struct ls1x_intc_priv - private ls1x-intc data. 28 * @intc_base: IO Base of intc registers. 44 pending = readl(priv->intc_base + LS_REG_INTC_STATUS) & in ls1x_chained_handle_irq() 45 readl(priv->intc_base + LS_REG_INTC_EN); in ls1x_chained_handle_irq() 53 generic_handle_domain_irq(priv->domain, bit); in ls1x_chained_handle_irq() 65 writel(readl(gc->reg_base + offset) | mask, in ls_intc_set_bit() 66 gc->reg_base + offset); in ls_intc_set_bit() 68 writel(readl(gc->reg_base + offset) & ~mask, in ls_intc_set_bit() [all …]
|