diff options
| author | Benoît Monin <[email protected]> | 2025-11-07 11:46:57 +0100 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-11-10 13:41:53 +0530 |
| commit | 5de1d3240f9163de95bc6803fb4100a77d65ab6b (patch) | |
| tree | 0bac4da1c4d8e8c6a8f94a8c3c72eb5bb1a68226 /include | |
| parent | 38a6106b1099646f25657bba53cefb80886721a7 (diff) | |
lib: utils/timer: mtimer: Select the reference mtimer from a DT property
The current selection of the reference MTIMER may fail in some setup.
In a multi-cluster configuration, there is one MTIMER per cluster, each
associated with the HARTS of the cluster. So we do not have a MTIMER
with no associated HARTs to use as our reference.
To be able to select a reference MTIMER in that case, look up an optional
device tree property named "riscv,reference-mtimer" that indicate which
MTIMER is the reference.
Signed-off-by: Benoît Monin <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
