Skip to content

Conversation

visitorckw
Copy link
Contributor

Fix the device tree configuration by removing the interrupt-controller property from the clint node. The clint only handles timer and software interrupts, and should not be configured as an interrupt controller. Only the plic should be marked as an interrupt-controller as it manages external interrupts.

This change resolves the following dtc warnings about missing proper configuration of interrupt handling:

:31.31-37.11: Warning (interrupt_provider): /soc@F0000000/clint@4300000: Missing #interrupt-cells in interrupt provider
:31.31-37.11: Warning (interrupt_provider): /soc@F0000000/clint@4300000: Missing #address-cells in interrupt provider

Fix the device tree configuration by removing the interrupt-controller
property from the clint node. The clint only handles timer and software
interrupts, and should not be configured as an interrupt controller.
Only the plic should be marked as an interrupt-controller as it manages
external interrupts.

This change resolves the following dtc warnings about missing
proper configuration of interrupt handling:

<stdin>:31.31-37.11: Warning (interrupt_provider): /soc@F0000000/clint@4300000: Missing #interrupt-cells in interrupt provider
<stdin>:31.31-37.11: Warning (interrupt_provider): /soc@F0000000/clint@4300000: Missing #address-cells in interrupt provider
@visitorckw

This comment was marked as duplicate.

@jserv jserv requested review from ChinYikMing and ranvd September 1, 2024 00:49
@jserv jserv merged commit 78e0011 into sysprog21:master Sep 1, 2024
2 checks passed
@jserv
Copy link
Collaborator

jserv commented Sep 1, 2024

Thank @visitorckw for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants