> > 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/ |