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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx)


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux