Commit graph

6 commits

Author SHA1 Message Date
Yong Cong Sin
cd0ef1ad27 tests: drivers: build_all: intc: add a common build-only test
Add a generic build-only test for:
 - intc_nxp_irqsteer
 - intc_cavs
 - intc_rv32m1_intmux
 - intc_dw_ace
 - intc_dw

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2024-05-25 11:24:32 +03:00
Yong Cong Sin
8f6be9661e tests: build_all: plic: add test for PLIC_SHELL build
Add a build-only test for the `PLIC_SHELL` configuration.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2024-01-08 12:35:52 +01:00
Yong Cong Sin
efd1073ceb tests: build_all: plic: multi instance
Add PLIC multi-instance build-only test.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2023-11-09 18:20:43 +01:00
Yong Cong Sin
8db1a5add2 drivers: intc: plic: support trigger type by default and hardcode offset
Removing the edge-trigger Kconfig as it is supported by default
in the RISCV PLIC specifications.

Define the edge-trigger register offset in the driver instead
of retrieving the value from devicetree as it is not something
configurable. The value 0x1080 is defined in Andes & Telink
datasheets.

Updated build_all testcase.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2023-10-04 09:06:28 -04:00
Yong Cong Sin
f5fbaa18a3 tests: build_all: plic: relocate and cleanup
The test is for intc_plic only, so move them into the
intc_plic folder.

Also cleaned up the testcase.yaml a bit while I'm at it

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2023-09-29 01:26:52 -04:00
Yong Cong Sin
9b7c2cba3a tests: add intc_plic build_all test
Add an interrupt_controller build_all test for intc_plic.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2023-09-18 20:35:22 +02:00