lkml.org 
[lkml]   [2011]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv2 00/15] Consolidate Orion platform information setup.
On Sun, 15 May 2011, Andrew Lunn wrote:

> This patchset consolidates some of the code used for creating
> platform data for various orion based SoC, namely Dove, Loki, Kirkwood,
> mv78xx0 and Orion5x. Where possible, this code has been put into the
> orion platform, with the mach-*/common.c calling the common platform
> code.
>
> Additionally the setup of the multi purpose pins has been consolidated.
> Kirkwood and mv78xx0 had identical code, which has been generalized and
> put into the platform. Orion5x and Dove mpp code has been re-written to
> use the consolidated method.
>
> Tested on a Kirkwood device, otherwise compile tested.
>
> Changes since last version:
>
> - Typos found by Saeed Bishara fixed
> - All ethernets reserve the same size
> - Add Kirkwood RTC interrupt as a seperate patch
> - Rather than drop the dove mpp code, refactor to use the platform code.

This looks great. Thanks for this work. That will certainly make any
transition to device tree much simpler.

Some further consolidation could be achieved by dynamically allocating
the platform device structures as needed and having a single function
for each class of devices. But that can be done in a subsequent series.


Nicolas


\
 
 \ /
  Last update: 2011-05-16 22:33    [W:0.063 / U:11.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site