rtc/spear: add Device Tree probing capability
authorViresh Kumar <viresh.kumar@st.com>
Tue, 29 May 2012 22:07:35 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 May 2012 23:22:33 +0000 (16:22 -0700)
commit0108c4ff62a0ee324c58175ff6b7000865023498
treee25434c28edbd078b9f70a3f154e7f0981e22306
parent7c20342230ff370c397fc4a9c4c1e7a91964bb66
rtc/spear: add Device Tree probing capability

SPEAr platforms now support DT and so must convert all drivers support DT.
This patch adds DT probing support for rtc and updates its documentation
too.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Cc: Rob Herring <robherring2@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/devicetree/bindings/rtc/spear-rtc.txt [new file with mode: 0644]
drivers/rtc/rtc-spear.c