Re: [patch 3/3] mpc8349emitx.dts: Add ds1339 RTC
From: Peter Korsgaard <jacmet@sunsite.dk>
Date: 2007-09-25 05:33:23
From: Peter Korsgaard <jacmet@sunsite.dk>
Date: 2007-09-25 05:33:23
quoted
quoted
quoted
quoted
"David" == David Gibson [off-list ref] writes:
Hi, >> The Linux driver for the chip (rtc-1307.c) doesn't expose the NVRAM >> bytes either. David> Incidentally how are you planning on instantiating the driver? AFAIK David> all the rtc-* drivers are platform drivers rather than of_platform David> drivers. I had been thinking of an rtc helper function that would go David> through the tree instantiating platform devices for any RTCs based on David> a compatible -> platform device name table. Please see patch #2 in the series: http://ozlabs.org/pipermail/linuxppc-dev/2007-September/042896.html That helper function more or less already exists in fsl_soc.c. -- Bye, Peter Korsgaard