commit | 76a7b3cf1c4bdf90836fa060dea73dec172b4fc4 | [log] [tgz] |
---|---|---|
author | Yong Cong Sin <ycsin@meta.com> | Thu Sep 21 15:48:21 2023 +0800 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Nov 09 18:20:43 2023 +0100 |
tree | 8d6742bf66881d719e917a6a5cb259ffb29727ac | |
parent | b72e5c1f3d56c31734ccb5e69ee4e3a9ad28ce8a [diff] |
drivers: intc: plic: initial refactor for multi-instance support Use a config struct to store per-instance device config during init and connect the IRQ based on the devicetree instead of hardcoded value and instance number. The `get_plic_dev_from_irq` is still a placeholder for now and always return the first instance. Signed-off-by: Yong Cong Sin <ycsin@meta.com>