[PATCH] powerpc: mpc8xxx MDS board RTC fixes

Kim Phillips kim.phillips at freescale.com
Fri Nov 9 07:33:23 EST 2007


On Thu, 8 Nov 2007 13:57:59 -0600
Kumar Gala <galak at kernel.crashing.org> wrote:

> 
> On Nov 8, 2007, at 1:37 PM, Kim Phillips wrote:
> 
> > Now the rtc class ds1374 driver has been added,
> > remove the old rtc driver hookup code, add rtc node
> > to device trees, and turn on the new driver in the defconfigs.
> >
> > Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
> > ---
> >  arch/powerpc/boot/dts/mpc832x_mds.dts      |    7 ++++
> >  arch/powerpc/boot/dts/mpc834x_mds.dts      |    9 +++++
> >  arch/powerpc/boot/dts/mpc836x_mds.dts      |    9 +++++
> >  arch/powerpc/configs/mpc832x_mds_defconfig |   48 +++++++++++++++++ 
> > ++++++++++-
> >  arch/powerpc/configs/mpc834x_mds_defconfig |   48 +++++++++++++++++ 
> > ++++++++++-
> >  arch/powerpc/configs/mpc836x_mds_defconfig |   48 +++++++++++++++++ 
> > ++++++++++-
> >  arch/powerpc/configs/mpc8568mds_defconfig  |   48 +++++++++++++++++ 
> > ++++++++++-
> >  arch/powerpc/platforms/83xx/mpc832x_mds.c  |   24 --------------
> >  arch/powerpc/platforms/83xx/mpc834x_mds.c  |   24 --------------
> >  arch/powerpc/platforms/83xx/mpc836x_mds.c  |   24 --------------
> >  10 files changed, 213 insertions(+), 76 deletions(-)
> 
> should the mpc8568mds.dts be updated?

it already has the rtc node.

> Also, what code is parsing the device tree for the rtc node?
> 
the i2c code in fsl_soc.c.

Kim



More information about the Linuxppc-dev mailing list