Skip to contentSkip to conversation

orion/kirkwood and device tree support

DISCUSSION Michael Walle 3 participants 3 messages Oct 9, 2011 – Oct 10, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Dear orion/kirkwood maintainers,

I submitted a patch to support the Buffalo LS-XHL three months ago, which was rejected because no more old fashioned board setup patches will be merged.

Are there any plans or even ongoing developments to convert these platforms to support device trees?

What is the best way to convert the {orion,kirkwood}_*_init() calls to DT? Make each device use a device_driver structure for initialization?

Signature · 1 line
Michael
#2 lore raw
In reply to a message not in the archive

Michael,

Quoted 2 lines · Michael Walle

I submitted a patch to support the Buffalo LS-XHL three months ago, which was rejected because no more old fashioned board setup patches will be merged.

We have the same situation with the dreamplug (kirkwood based).

Quoted 2 lines

Are there any plans or even ongoing developments to convert these platforms to support device trees?

I'm attempting to, but that requires my learning devicetree. Which is fine in and of itself, but it also means I'm learning how Linux supports arm SoCs. Which is taking some time. My current thought process is this:

1.) add arch/arm/mach-kirkwood/board-dt.c, arch/arm/boot/dts/kirkwood.dtsi,
and arch/arm/boot/dts/kirkwood-dreamplug.dts
2.) fill it in with replacements of calls in common.c and irq.c 3.) get it working cleanly.
4.) add in calls from mpp.c, pcie.c, and cpuidle.c
5.) build arch/arm/boot/dts/kirkwood-*.dts for other boards.

I'd be happy to coordinate and test, although I have no buffalo gear. And I sure would appreciate some help. ;-)

thx,

Jason.

#3 lore raw
In reply to Michael Walle

Resend, messed up my email alias. I'm a dork. :-( Apologies.

Michael,

Quoted 2 lines · Michael Walle

I submitted a patch to support the Buffalo LS-XHL three months ago, which was rejected because no more old fashioned board setup patches will be merged.

We have the same situation with the dreamplug (kirkwood based).

Quoted 2 lines

Are there any plans or even ongoing developments to convert these platforms to support device trees?

I'm attempting to, but that requires my learning devicetree. Which is fine in and of itself, but it also means I'm learning how Linux supports arm SoCs. Which is taking some time. My current thought process is this:

1.) add arch/arm/mach-kirkwood/board-dt.c, arch/arm/boot/dts/kirkwood.dtsi,
and arch/arm/boot/dts/kirkwood-dreamplug.dts
2.) fill it in with replacements of calls in common.c and irq.c 3.) get it working cleanly.
4.) add in calls from mpp.c, pcie.c, and cpuidle.c
5.) build arch/arm/boot/dts/kirkwood-*.dts for other boards.

I'd be happy to coordinate and test, although I have no buffalo gear. And I sure would appreciate some help. ;-)

thx,

Jason.