Thread (8 messages) 8 messages, 6 authors, 2011-06-03

Re: [rtc-linux] Re: [PATCH] Add support for pt7c4338 (rtc device) in rtc-ds1307 driver

From: Tabi Timur-B04825 <hidden>
Date: 2011-05-30 14:30:06

On Mon, May 30, 2011 at 3:24 AM, Wolfram Sang [off-list ref] wrote=
:
The first place where this should be mentioned is the datasheet of the
pt-chip, so you might ask the producer to add this information (don't
expect much to happen, though).
It's true that the data sheet does not mention that it's identical to
the DS1307, but that's still no excuse for not noticing it and writing
a whole driver for it.  :-(
IIRC I asked you explicitly for the differences between the chips. If
there are none, you can use the driver directly, right? :)
Yes.  The device tree node for the PT7C4338 device should just say

   /* The board has a PT7C4338, which is compatible with the DS1307 */
   compatible =3D "dallas,ds1307";

And that's it.

--=20
Timur Tabi
Linux kernel developer at Freescale=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help