Hello Stephen,
.
quoted
I think we should use parent device's node, not the paren node in DT,
right? But I agree, we should only look "one level up in the chain".
Are these two things different? I'm suggesting looking at
device_node::parent and trying to find a #clock-cells property.
I thought that MFD sub-devices may completely lack the DT node but I will verify this tomorrow. BTW, I already did the patch version 6 which checks the dev->parent->of_node if #clock-cells is not found from device's own node or if own node is NULL.
Br. Matti Vaittinen
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel