linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: lee.jones@linaro.org (Lee Jones)
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 17:16:24 +0000	[thread overview]
Message-ID: <4F2038E8.8090209@linaro.org> (raw)
In-Reply-To: <201201251501.42304.arnd@arndb.de>

On 25/01/12 15:01, Arnd Bergmann wrote:
> 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.

Okay, so this sounds promising. Which route are the patches likely to
take? Will they go up through your SoC tree Arnd?

Kind regards,
Lee

  reply	other threads:[~2012-01-25 17:16 UTC|newest]

Thread overview: 26+ 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
2012-01-25 17:16       ` Lee Jones [this message]
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

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=4F2038E8.8090209@linaro.org \
    --to=lee.jones@linaro.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).