[PATCH] ARM: AM33XX: clock: Add dcan clock aliases for device-tree

From
Hiremath, Vaibhav <hidden>
Date
2012-08-27 18:02:53
Also in
linux-devicetree, linux-omap, lkml
Reply to
Paul Walmsley, 2012-08-27
On Mon, Aug 27, 2012 at 22:50:12, Paul Walmsley wrote:
Hi

On Mon, 27 Aug 2012, Vaibhav Hiremath wrote:
quoted
Currently, the device names for the dcan module follows the
format "dcan.X", where 'X' is the dcan instance number.
On other side, driver may request for clock with/without con_id
and dev_id, and it is expected that platform should respect this
request and return the requested clock handle.

Now, when using device tree, the format of the device name created
by OF layer is different, "<reg-address>.<device-name>",
assuming that the device-tree "reg" property is specified.
This causes the look-up failure for clock node in dcan driver

To fix this add new dcan clock alias for using device-tree.
Is the dcan driver present in v3.6-rc kernels?  
Multiple versions have been submitted already, I have validated using them.
Irrespective of this, it is independent change and required for the driver.

Thanks,
Vaibhav
Thread (5 messages) 5 messages, 2 authors, last reply 2012-08-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help