From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/6] ux500: Export SoC information and some platform clean-up
Date: Wed, 25 Jan 2012 15:01:42 +0000 [thread overview]
Message-ID: <201201251501.42304.arnd@arndb.de> (raw)
In-Reply-To: <CACRpkdaAJ+tr3yUWtv-eZEppiGWP92wTPMQsmcxnpBOkoB9jAg@mail.gmail.com>
On Tuesday 24 January 2012, Linus Walleij wrote:
> On Mon, Jan 23, 2012 at 4:58 PM, Arnd Bergmann <arnd@arndb.de> wrote:
>
> > Linus, does this fit with your plans for migrating to only
> > device-tree based probing for ux500?
>
> Well the SoC registatration (I guess in mach-*/* someplace)
> needs to be DT compliant by parsing some node too, but
> that should be some minor thing.
>
> I'm not smart enough to tell whether DT will automagically
> arrange parenthood between struct device * nodes or if
> that needs a lot of custom code to work?
Right now, of_platform_populate takes a struct device that is
used as the parent for all buses that get probed from the
OF device tree. This would need to be integrated with the
soc_dev probing in some way, either by letting
of_platform_populate call soc_device_register internally
and gaining an extra struct soc_device_attribute
argument, or by calling of_platform_populate from a
platform specific function and passing a device node
below the soc_dev into it.
> > I guess if this goes in
> > first, you will have to make a few changes so that it keeps working
> > when the devices are put into the dts.
>
> Oh well, that is a bit ahead in time anyway. We need DT support
> in a plethora of drivers before we're getting anywhere on that.
> Niklas is the right one to ask I guess...
Are there really so many driver changes required for this? We would
not do it for the on-chip devices at first, so it basically comes
down to the the i2c, sdi, spi and uart devices, all of which have
bus bindings already. The hardest thing might be the pinmux
configuration, but you already know more about the state of that
than I do.
> > Everyone else, who is planning to use the infrastructure besides ux500?
>
> I can easily see this being used in the ARM reference designs
> (Integrator, Versatile, RealView and Versatile Express) some of them
> I can possibly patch myself even. OMAP has expressed interest
> in "some way of getting the SoC ID out", and I guess this is
> the means to that end.
Ah, good. Once these patches are merged, we can easily refer anyone
to this infrastructure if they try to add a different way of finding
a SoC ID.
Arnd
next prev parent reply other threads:[~2012-01-25 15:01 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-21 17:08 [PATCH 0/6] ux500: Export SoC information and some platform clean-up Lee Jones
2012-01-21 17:08 ` [PATCH 1/6] mach-ux500: pass parent pointer to each platform device Lee Jones
2012-01-21 17:08 ` [PATCH 2/6] drivers/base: add bus for System-on-Chip devices Lee Jones
2012-01-28 1:05 ` Greg KH
2012-01-30 17:58 ` Arnd Bergmann
2012-01-30 18:34 ` Greg KH
2012-01-21 17:08 ` [PATCH 3/6] Documentation: add information for new sysfs soc bus functionality Lee Jones
2012-01-21 17:08 ` [PATCH 4/6] mach-ux500: export System-on-Chip information ux500 via sysfs Lee Jones
2012-01-21 17:08 ` [PATCH 5/6] mach-ux500: move top level platform devices in sysfs to /sys/devices/socX Lee Jones
2012-01-21 17:08 ` [PATCH 6/6] mach-ux500: remove intermediary add_platform_device* functions Lee Jones
2012-01-23 15:58 ` [PATCH 0/6] ux500: Export SoC information and some platform clean-up Arnd Bergmann
2012-01-23 16:03 ` Arnd Bergmann
2012-01-24 22:53 ` Linus Walleij
2012-01-25 15:01 ` Arnd Bergmann [this message]
2012-01-25 17:16 ` Lee Jones
2012-01-26 15:20 ` Arnd Bergmann
2012-01-27 0:56 ` Greg KH
2012-01-27 14:00 ` Linus Walleij
-- strict thread matches above, loose matches on Subject: below --
2012-02-06 19:22 Lee Jones
2012-02-06 19:33 ` Linus Walleij
2012-02-10 19:43 ` Greg KH
2012-02-13 6:28 ` Arnd Bergmann
2012-02-13 19:54 ` Linus Walleij
2012-02-01 9:23 Lee Jones
2012-01-20 16:10 Lee Jones
2011-10-17 11:52 Lee Jones
2011-10-17 11:52 ` Lee Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201201251501.42304.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.