[rtc-linux] Re: [PATCH] Add support for pt7c4338 (rtc device) in rtc-ds1307 driver
Wolfram Sang
w.sang at pengutronix.de
Tue May 31 00:50:34 EST 2011
> > 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 = "dallas,ds1307";
>
> And that's it.
I'd also suggest to add a comment to the id_table in rtc-ds1307.c, so
the chip name can be grepped for.
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20110530/2091faea/attachment.pgp>
More information about the Linuxppc-dev
mailing list