[PATCH 3/5] [POWERPC] 8xx: platform-related changes to the fsl_soc.c
Vitaly Bordug
vbordug at ru.mvista.com
Tue Nov 14 23:48:41 EST 2006
On Tue, 14 Nov 2006 13:21:14 +1100
Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:
> On Tue, 2006-11-14 at 04:28 +0300, Vitaly Bordug wrote:
> > Added 8xx SoC peripherials: fec for Ethernet and smc for UARTs.
> > Ordinary routines to extract values from the device tree and insert respective
> > platform devices
>
> Note that imho, that's at best a temporary thing. It would be much
> better to have these drivers register as of_platform_driver's and have
> the platform code publish of_platform_device's for all SoC nodes.
>
The platform device way will persist until we haven't care about arch/ppc stuff anymore.
As for now, I'm trying to keep both powerpc and ppc approaches sane.
Hence it is temporary, but it is the way of merge. of_platform_device rework is not a big deal - we'll do
it later.
--
Sincerely,
Vitaly
More information about the Linuxppc-dev
mailing list