zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.96k stars 6.67k forks source link

soc: intel_adsp: cavs: /soc/timer missing or empty reg/ranges property #64831

Open ycsin opened 1 year ago

ycsin commented 1 year ago

Is your enhancement proposal related to a problem? Please describe. Compiling the intel_adsp_cavs* boards might generated the following warnings:

/home/ycsin/zephyrproject/build/zephyr/zephyr.dts:116.16-119.5: Warning (simple_bus_reg): /soc/timer: missing or empty reg/ranges property

https://github.com/zephyrproject-rtos/zephyr/blob/d5a1a8bf04c9a4a1f7b9c73f2426368e93844143/dts/xtensa/intel/intel_adsp_cavs25.dtsi#L141-L144

Describe the solution you'd like Compiling those boards shouldn't produce any warnings in the terminal.

Describe alternatives you've considered Ignore the issue.

marc-hb commented 1 year ago

Thanks for filing this! You can see DT warnings every day at https://github.com/thesofproject/sof/actions/workflows/daily-tests.yml Recent example: https://github.com/thesofproject/sof/actions/runs/6764790187/job/18383560016

@nashif , @tejlmand , @mbolivar-ampere, @galak,... is there a build option to make Device Tree warnings fatal in SOF CI? We already use --cmake-args= for the compiler, could it be used for Device Tree too? https://github.com/thesofproject/sof/commit/f97183a8c496

Github Actions doesn't have anything to surface warnings; it does not have the concept.