From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754387Ab3AGUf5 (ORCPT ); Mon, 7 Jan 2013 15:35:57 -0500 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:29442 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753321Ab3AGUfy (ORCPT ); Mon, 7 Jan 2013 15:35:54 -0500 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 50.131.214.131 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19EpOwXeMXfyHbLkOaYeEFc Date: Mon, 7 Jan 2013 12:35:30 -0800 From: Tony Lindgren To: Pantelis Antoniou Cc: Grant Likely , Rob Herring , Rob Landley , Jon Loeliger , Stephen Warren , David Gibson , Benoit Cousson , Mitch Bradley , Alan Tull , Arnd Bergmann , Greg Kroah-Hartman , linux-omap@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Matt Porter , Russ Dill , Koen Kooi , Joel A Fernandes , Rob Clark , Jason Kridner , Matt Ranostay Subject: Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager Message-ID: <20130107203529.GI14149@atomide.com> References: <1357584666-17374-1-git-send-email-panto@antoniou-consulting.com> <1357584666-17374-2-git-send-email-panto@antoniou-consulting.com> <20130107200945.GF14149@atomide.com> <379B16EC-BFAA-4C27-8321-E7133C03368D@antoniou-consulting.com> <20130107202306.GH14149@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Pantelis Antoniou [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