mirror-linux/include/linux/soc
Yu Chien Peter Lin f4cc33e78b irqchip/riscv-intc: Introduce Andes hart-level interrupt controller
Add support for the Andes hart-level interrupt controller. This
controller provides interrupt mask/unmask functions to access the
custom register (SLIE) where the non-standard S-mode local interrupt
enable bits are located. The base of custom interrupt number is set
to 256.

To share the riscv_intc_domain_map() with the generic RISC-V INTC and
ACPI, add a chip parameter to riscv_intc_init_common(), so it can be
passed to the irq_domain_set_info() as a private data.

Andes hart-level interrupt controller requires the "andestech,cpu-intc"
compatible string to be present in interrupt-controller of cpu node to
enable the use of custom local interrupt source.
e.g.,

  cpu0: cpu@0 {
      compatible = "andestech,ax45mp", "riscv";
      ...
      cpu0-intc: interrupt-controller {
          #interrupt-cells = <0x01>;
          compatible = "andestech,cpu-intc", "riscv,cpu-intc";
          interrupt-controller;
      };
  };

Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Randolph <randolph@andestech.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20240222083946.3977135-4-peterlin@andestech.com
2024-02-23 09:57:42 +01:00
..
actions
amlogic
andes irqchip/riscv-intc: Introduce Andes hart-level interrupt controller 2024-02-23 09:57:42 +01:00
apple soc: apple: rtkit: Get rid of apple_rtkit_send_message_wait 2023-11-23 19:09:24 +09:00
brcmstb
cirrus
dove
ixp4xx
marvell/octeontx2
mediatek soc: mediatek: Support MT8188 VDOSYS1 Padding in mtk-mmsys 2023-12-11 11:36:12 +01:00
mmp
nxp
pxa ARM: pxa: fix missing-prototypes warnings 2023-05-26 13:33:05 +02:00
qcom soc: qcom: llcc: Updating the macro name 2023-09-19 19:57:53 -07:00
renesas
samsung
sunxi
ti