How to use OF-style driver w/o dtd (ARM s3c24xx rtc driver)

Woody Wu narkewoody at gmail.com
Mon Mar 7 04:35:27 EST 2016


Hi,

As I understood from the source code (4.4.3), the Samsung RTC driver
rtc-s3c.c is an OF or DT style driver. It means probably that I cannot use
it by simply defining a platform device in my board file. Actually, I found
out this after I did that and then didn't see the RTC drive's probe method
got called as I expected. Then my question comes, how can I use the RTC
driver to active the RTC device w/o involving the complexity of DTD loading
at this moment? Since I cannot change the boot loader, so I have no an
easier way to load DTD to the kernel as that usually suggested in the
documents I googled. Can I use a statically defined device node in my board
file? I only concern the RTC device at this moment, so I think this is the
easiest way to go for my situation.

Would someone please give out suggestions and even a simple how-to?

Best Regards,
-woody


-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

woody
public key at http://subkeys.pgp.net:11371 (narkewoody at gmail.com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160307/50fc372d/attachment.html 


More information about the Kernelnewbies mailing list