All of lore.kernel.org
 help / color / mirror / Atom feed
* devicetree in arm
@ 2010-03-18 12:04 Mark Ryden
  2010-03-18 13:14 ` Grant Likely
  0 siblings, 1 reply; 11+ messages in thread
From: Mark Ryden @ 2010-03-18 12:04 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,
According to :
http://lwn.net/Articles/375296/
Some patches that add basic ARM device tree support
were sent,

In the link above, there is a link to a git tree here:
git://git.secretlab.ca/git/linux-2.6 test-devicetree

I git-cloned this tree, and I don't have arch/arm/kernel/devtree.c

Am I missing something ?

Rgs,
Mark

^ permalink raw reply	[flat|nested] 11+ messages in thread

* devicetree in arm
  2010-03-18 12:04 devicetree in arm Mark Ryden
@ 2010-03-18 13:14 ` Grant Likely
  2010-03-18 13:23   ` Russell King - ARM Linux
  0 siblings, 1 reply; 11+ messages in thread
From: Grant Likely @ 2010-03-18 13:14 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Mar 18, 2010 at 6:04 AM, Mark Ryden <markryde@gmail.com> wrote:
> Hello,
> According to :
> http://lwn.net/Articles/375296/
> Some patches that add basic ARM device tree support
> were sent,
>
> In the link above, there is a link to a git tree here:
> git://git.secretlab.ca/git/linux-2.6 test-devicetree
>
> I git-cloned this tree, and I don't have arch/arm/kernel/devtree.c
>
> Am I missing something ?

ARM device tree support is very much in flux, and that particular
branch gets rebased a lot as device tree code from Sparc, Microblaze
and Powerpc is merged into drivers/of.  I may have ended up pushing
out to test-devicetree without the ARM patches applied.  I'll look at
it today, make sure the ARM stuff is all there, and then push it out
again.

Note however that this is only very basic support.  It doesn't yet
have the code needed to register devices and drivers from device tree
data.  That will be coming real-soon-now.

g.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* devicetree in arm
  2010-03-18 13:14 ` Grant Likely
@ 2010-03-18 13:23   ` Russell King - ARM Linux
  2010-03-18 13:45     ` Armando VISCONTI
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Russell King - ARM Linux @ 2010-03-18 13:23 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Mar 18, 2010 at 07:14:05AM -0600, Grant Likely wrote:
> ARM device tree support is very much in flux, and that particular
> branch gets rebased a lot as device tree code from Sparc, Microblaze
> and Powerpc is merged into drivers/of.  I may have ended up pushing
> out to test-devicetree without the ARM patches applied.  I'll look at
> it today, make sure the ARM stuff is all there, and then push it out
> again.
> 
> Note however that this is only very basic support.  It doesn't yet
> have the code needed to register devices and drivers from device tree
> data.  That will be coming real-soon-now.

Is someone going to do a device tree example port to a 'real' platform
rather than simple the ARM evaluation boards?

As I've said previously, I'm not going to accept device tree stuff until
I see a working implementation on a set of real platforms.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* devicetree in arm
  2010-03-18 13:23   ` Russell King - ARM Linux
@ 2010-03-18 13:45     ` Armando VISCONTI
  2010-03-18 13:54     ` Grant Likely
  2010-03-18 20:24     ` Bill Gatliff
  2 siblings, 0 replies; 11+ messages in thread
From: Armando VISCONTI @ 2010-03-18 13:45 UTC (permalink / raw)
  To: linux-arm-kernel

Russell,


>> ARM device tree support is very much in flux, and that particular
>> branch gets rebased a lot as device tree code from Sparc, Microblaze
>> and Powerpc is merged into drivers/of.  I may have ended up pushing
>> out to test-devicetree without the ARM patches applied.  I'll look at
>> it today, make sure the ARM stuff is all there, and then push it out
>> again.
>>
>> Note however that this is only very basic support.  It doesn't yet
>> have the code needed to register devices and drivers from device tree
>> data.  That will be coming real-soon-now.
>>     
>
> Is someone going to do a device tree example port to a 'real' platform
> rather than simple the ARM evaluation boards?
>   
As part of the discussion we had recently with you guys I can tell you
that we are of course interested into this devicetree info passed
as booting option.

We are currently in the process of submitting on this mailing list
the patch V2 for SPEAr family architectures for reviewing.

> As I've said previously, I'm not going to accept device tree stuff until
> I see a working implementation on a set of real platforms.
>   
Just after submitting patch V2 we might take a look to this patch and 
try it out
on our SPEAr platforms. It might take long as it is not exactly
our first priority.

We will keep you informed on this.

Regards,
Arm

^ permalink raw reply	[flat|nested] 11+ messages in thread

* devicetree in arm
  2010-03-18 13:23   ` Russell King - ARM Linux
  2010-03-18 13:45     ` Armando VISCONTI
@ 2010-03-18 13:54     ` Grant Likely
  2010-03-18 14:10       ` Jason McMullan
  2010-03-18 20:24     ` Bill Gatliff
  2 siblings, 1 reply; 11+ messages in thread
From: Grant Likely @ 2010-03-18 13:54 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Mar 18, 2010 at 7:23 AM, Russell King - ARM Linux
<linux@arm.linux.org.uk> wrote:
> On Thu, Mar 18, 2010 at 07:14:05AM -0600, Grant Likely wrote:
>> ARM device tree support is very much in flux, and that particular
>> branch gets rebased a lot as device tree code from Sparc, Microblaze
>> and Powerpc is merged into drivers/of. ?I may have ended up pushing
>> out to test-devicetree without the ARM patches applied. ?I'll look at
>> it today, make sure the ARM stuff is all there, and then push it out
>> again.
>>
>> Note however that this is only very basic support. ?It doesn't yet
>> have the code needed to register devices and drivers from device tree
>> data. ?That will be coming real-soon-now.
>
> Is someone going to do a device tree example port to a 'real' platform
> rather than simple the ARM evaluation boards?

I'm working on OMAP and others, and Jeremy is working on i.MX51
targeting real product.  Visible progress has been slow since there is
a lot more back end infrastructure work than I was expecting to get
the ppc, sparc and microblaze code merged into a common code base and
to move away from the whole of_platform bus stuff (so that regular
platform drivers work).  The alternative would be to add yet another
duplicate copy of device tree code to ARM which I will not do, and I
know you wouldn't accept anyway.  :-)

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* devicetree in arm
  2010-03-18 13:54     ` Grant Likely
@ 2010-03-18 14:10       ` Jason McMullan
  0 siblings, 0 replies; 11+ messages in thread
From: Jason McMullan @ 2010-03-18 14:10 UTC (permalink / raw)
  To: linux-arm-kernel

I'm also interested in the Device Tree for ARM.

We're planning on having several devices with the same basic
layout, but several stuffing options. It would be preferable
to have a Device Tree blob that the bootloader can pass to
a generic kernel, instead of allocating several ARM Machine
IDs, one for each layout.

I've been watching these threads, and am eager to start
using the combined infrastructure once it becomes widely
available.

--
Jason McMullan
Netronome Systems

^ permalink raw reply	[flat|nested] 11+ messages in thread

* devicetree in arm
  2010-03-18 13:23   ` Russell King - ARM Linux
  2010-03-18 13:45     ` Armando VISCONTI
  2010-03-18 13:54     ` Grant Likely
@ 2010-03-18 20:24     ` Bill Gatliff
  2010-04-08  6:31       ` Grant Likely
  2 siblings, 1 reply; 11+ messages in thread
From: Bill Gatliff @ 2010-03-18 20:24 UTC (permalink / raw)
  To: linux-arm-kernel

Russell King - ARM Linux wrote:
> On Thu, Mar 18, 2010 at 07:14:05AM -0600, Grant Likely wrote:
>   
>> ARM device tree support is very much in flux, and that particular
>> branch gets rebased a lot as device tree code from Sparc, Microblaze
>> and Powerpc is merged into drivers/of.  I may have ended up pushing
>> out to test-devicetree without the ARM patches applied.  I'll look at
>> it today, make sure the ARM stuff is all there, and then push it out
>> again.
>>
>> Note however that this is only very basic support.  It doesn't yet
>> have the code needed to register devices and drivers from device tree
>> data.  That will be coming real-soon-now.
>>     
>
> Is someone going to do a device tree example port to a 'real' platform
> rather than simple the ARM evaluation boards?
>
> As I've said previously, I'm not going to accept device tree stuff until
> I see a working implementation on a set of real platforms.
>   

I can give it a spin on a couple of the boards I have here.  I'm already
using device trees on my PPC platforms.


b.g.

-- 
Bill Gatliff
bgat at billgatliff.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* devicetree in arm
  2010-03-18 20:24     ` Bill Gatliff
@ 2010-04-08  6:31       ` Grant Likely
  2010-04-08  6:41         ` Bryan Wu
  0 siblings, 1 reply; 11+ messages in thread
From: Grant Likely @ 2010-04-08  6:31 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Mar 18, 2010 at 2:24 PM, Bill Gatliff <bgat@billgatliff.com> wrote:
> Russell King - ARM Linux wrote:
>> On Thu, Mar 18, 2010 at 07:14:05AM -0600, Grant Likely wrote:
>>
>>> ARM device tree support is very much in flux, and that particular
>>> branch gets rebased a lot as device tree code from Sparc, Microblaze
>>> and Powerpc is merged into drivers/of. ?I may have ended up pushing
>>> out to test-devicetree without the ARM patches applied. ?I'll look at
>>> it today, make sure the ARM stuff is all there, and then push it out
>>> again.
>>>
>>> Note however that this is only very basic support. ?It doesn't yet
>>> have the code needed to register devices and drivers from device tree
>>> data. ?That will be coming real-soon-now.
>>>
>>
>> Is someone going to do a device tree example port to a 'real' platform
>> rather than simple the ARM evaluation boards?
>>
>> As I've said previously, I'm not going to accept device tree stuff until
>> I see a working implementation on a set of real platforms.
>>
>
> I can give it a spin on a couple of the boards I have here. ?I'm already
> using device trees on my PPC platforms.

Hi Bill.  I've just pushed out my tree with a bit of the device tree
probing working on the versatile platform.  It works with the QEMU
branch that Jeremy Kerr is maintaining.  Here are the git trees, and
the web page that describes how to build it:

git://git.secretlab.ca/git/linux-2.6 test-devicetree
git://git://kernel.ubuntu.com/jk/dt/qemu.git
https://wiki.ubuntu.com/KernelTeam/ARMDeviceTrees

I've got stuff working on real hardware too, but it's not fully baked
yet.  Right now qemu is the least trouble.

g.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* devicetree in arm
  2010-04-08  6:31       ` Grant Likely
@ 2010-04-08  6:41         ` Bryan Wu
  2010-04-08  6:58           ` Grant Likely
  2010-04-08  7:23           ` Jeremy Kerr
  0 siblings, 2 replies; 11+ messages in thread
From: Bryan Wu @ 2010-04-08  6:41 UTC (permalink / raw)
  To: linux-arm-kernel

Grant Likely wrote:
> On Thu, Mar 18, 2010 at 2:24 PM, Bill Gatliff <bgat@billgatliff.com> wrote:
>   
>> Russell King - ARM Linux wrote:
>>     
>>> On Thu, Mar 18, 2010 at 07:14:05AM -0600, Grant Likely wrote:
>>>
>>>       
>>>> ARM device tree support is very much in flux, and that particular
>>>> branch gets rebased a lot as device tree code from Sparc, Microblaze
>>>> and Powerpc is merged into drivers/of.  I may have ended up pushing
>>>> out to test-devicetree without the ARM patches applied.  I'll look at
>>>> it today, make sure the ARM stuff is all there, and then push it out
>>>> again.
>>>>
>>>> Note however that this is only very basic support.  It doesn't yet
>>>> have the code needed to register devices and drivers from device tree
>>>> data.  That will be coming real-soon-now.
>>>>
>>>>         
>>> Is someone going to do a device tree example port to a 'real' platform
>>> rather than simple the ARM evaluation boards?
>>>
>>> As I've said previously, I'm not going to accept device tree stuff until
>>> I see a working implementation on a set of real platforms.
>>>
>>>       
>> I can give it a spin on a couple of the boards I have here.  I'm already
>> using device trees on my PPC platforms.
>>     
>
> Hi Bill.  I've just pushed out my tree with a bit of the device tree
> probing working on the versatile platform.  It works with the QEMU
> branch that Jeremy Kerr is maintaining.  Here are the git trees, and
> the web page that describes how to build it:
>
> git://git.secretlab.ca/git/linux-2.6 test-devicetree
> git://git://kernel.ubuntu.com/jk/dt/qemu.git
> https://wiki.ubuntu.com/KernelTeam/ARMDeviceTrees
>
> I've got stuff working on real hardware too, but it's not fully baked
> yet.  Right now qemu is the least trouble.
>
> g.
>
>   

Grant and Jeremy,

I'm very happy to try that on my real Freescale i.MX51 board. Any hints 
about that?

Cheers,
-Bryan

^ permalink raw reply	[flat|nested] 11+ messages in thread

* devicetree in arm
  2010-04-08  6:41         ` Bryan Wu
@ 2010-04-08  6:58           ` Grant Likely
  2010-04-08  7:23           ` Jeremy Kerr
  1 sibling, 0 replies; 11+ messages in thread
From: Grant Likely @ 2010-04-08  6:58 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Apr 8, 2010 at 12:41 AM, Bryan Wu <bryan.wu@canonical.com> wrote:
> Grant Likely wrote:
>>
>> On Thu, Mar 18, 2010 at 2:24 PM, Bill Gatliff <bgat@billgatliff.com>
>> wrote:
>>
>>>
>>> Russell King - ARM Linux wrote:
>>>
>>>>
>>>> On Thu, Mar 18, 2010 at 07:14:05AM -0600, Grant Likely wrote:
>>>>
>>>>
>>>>>
>>>>> ARM device tree support is very much in flux, and that particular
>>>>> branch gets rebased a lot as device tree code from Sparc, Microblaze
>>>>> and Powerpc is merged into drivers/of. ?I may have ended up pushing
>>>>> out to test-devicetree without the ARM patches applied. ?I'll look at
>>>>> it today, make sure the ARM stuff is all there, and then push it out
>>>>> again.
>>>>>
>>>>> Note however that this is only very basic support. ?It doesn't yet
>>>>> have the code needed to register devices and drivers from device tree
>>>>> data. ?That will be coming real-soon-now.
>>>>>
>>>>>
>>>>
>>>> Is someone going to do a device tree example port to a 'real' platform
>>>> rather than simple the ARM evaluation boards?
>>>>
>>>> As I've said previously, I'm not going to accept device tree stuff until
>>>> I see a working implementation on a set of real platforms.
>>>>
>>>>
>>>
>>> I can give it a spin on a couple of the boards I have here. ?I'm already
>>> using device trees on my PPC platforms.
>>>
>>
>> Hi Bill. ?I've just pushed out my tree with a bit of the device tree
>> probing working on the versatile platform. ?It works with the QEMU
>> branch that Jeremy Kerr is maintaining. ?Here are the git trees, and
>> the web page that describes how to build it:
>>
>> git://git.secretlab.ca/git/linux-2.6 test-devicetree
>> git://git://kernel.ubuntu.com/jk/dt/qemu.git
>> https://wiki.ubuntu.com/KernelTeam/ARMDeviceTrees
>>
>> I've got stuff working on real hardware too, but it's not fully baked
>> yet. ?Right now qemu is the least trouble.
>
> Grant and Jeremy,
>
> I'm very happy to try that on my real Freescale i.MX51 board. Any hints
> about that?

Look at Jeremy's tree.  He's got a bunch of i.MX51 patches based on
top of my tree.  Here's the git url:

git://kernel.ubuntu.com/jk/dt/linux-2.6.git

g.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* devicetree in arm
  2010-04-08  6:41         ` Bryan Wu
  2010-04-08  6:58           ` Grant Likely
@ 2010-04-08  7:23           ` Jeremy Kerr
  1 sibling, 0 replies; 11+ messages in thread
From: Jeremy Kerr @ 2010-04-08  7:23 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Bryan,

> I'm very happy to try that on my real Freescale i.MX51 board. Any hints
> about that?

Support for imx51 is a work-in-progress. As Grant has said, I have some 
patches (in my mx51 branch), but they're mostly experimental at the moment.

I'm in the middle of reviewing & merging some new patches from Rob Herring, 
which add DT support to imx51 - I'll update the wiki page when we have things 
working on hardware :)

Cheers,


Jeremy

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-04-08  7:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-18 12:04 devicetree in arm Mark Ryden
2010-03-18 13:14 ` Grant Likely
2010-03-18 13:23   ` Russell King - ARM Linux
2010-03-18 13:45     ` Armando VISCONTI
2010-03-18 13:54     ` Grant Likely
2010-03-18 14:10       ` Jason McMullan
2010-03-18 20:24     ` Bill Gatliff
2010-04-08  6:31       ` Grant Likely
2010-04-08  6:41         ` Bryan Wu
2010-04-08  6:58           ` Grant Likely
2010-04-08  7:23           ` Jeremy Kerr

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.