lkml.org 
[lkml]   [2013]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager
* Pantelis Antoniou <panto@antoniou-consulting.com> [130107 12:29]:
> On Jan 7, 2013, at 10:23 PM, Tony Lindgren wrote:
> >
> > Well how about split it to an eeprom driver, and Linux generic
> > device loader parts?
> >
>
> All that's left is the eeprom driver (accessor) and calls to the
> generic DT overlay constructs.
>
> If you caught on the previous patchset about DT overlays it should be
> clear.
>
> So it is split along those lines already.

Hmm I was thinking something like this:

drivers/base/device-loader.c
drivers/misc/eeprom/beaglebone-cape.c

Then you may be able to just load the configuration for it
from a .dts file and maybe no hardware specific glue is even
needed.

Regards,

Tony


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