lkml.org 
[lkml]   [2013]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/8] ARM: at91: move peripheral id definitions to dt-bindings include dir
Date
On Thursday 01 August 2013, Boris BREZILLON wrote:
>
> This patch moves peripheral id definitions from machine specific include
> dir (arch/arm/mach-at91/include/mach/'soc-name'.h) to dt-bindinds include
> dir (include/dt-bindings/at91/'soc-name'/peripherals.h).
>
> These definitions will be used inside dt to define interrupt ids and
> peripheral clk ids.
>
> Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>

This seems counterproductive, why would you do that?

There is no sharing of identifiers across SoCs here, you just move the
data around, and changing the .dts files to use the abstract macros would
just end up making them harder to understand, not easier, since you then
have to look up the numbers in another file.

Arnd


\
 
 \ /
  Last update: 2013-08-07 23:01    [W:0.197 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site