Clocks in Zephyr: A Practical Guide for BSP Developers...
summary
Replaces vendor HAL with a new Zephyr clock driver that models the SoC clock topology in DTS, describing muxes/dividers under a static clock tree and using phandle-array clock cells so peripherals only call clock_control_on()/clock_control_off() and get_rate(); build-time script (west -T) prints the generated tree and a shell command reports runtime rates and on/off state. The rewrite removes redundant HAL state, is working for bring-up and observability, but per-device runtime constraints and notifications for power management remain unresolved; PR changes ≈4,000 LOC.
AI-written summary · about
