大原則 研讀 spec 與 code 的 心得

最近在研究 stm32f429i-disc0 的 device tree source code,
並且 參造 Devicetree Specification Release 0.1,

在 dts source code 中發現有一個 #clock-cells property,
但在 dts spec 中都找不到定義,
我竟然沒有去 google 查尋,
導致繞了許久,
蠢點 1,
查到後發現,相關說明在 kernel folder 下的 Documents
當發現查不到定義時,
第一時間竟然不去查 kernel 下的 Documents,
蠢點 2,
竟然沒有意識到,
source code 和 spec 不一定會同步,
有時 spec 會比較慢更新,
蠢點 3。

原文地址:https://www.cnblogs.com/youchihwang/p/7061991.html