Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755939Ab2KIUeK (ORCPT ); Fri, 9 Nov 2012 15:34:10 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:32939 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755388Ab2KIUeI (ORCPT ); Fri, 9 Nov 2012 15:34:08 -0500 MIME-Version: 1.0 In-Reply-To: References: <02FF5400-9F97-4B8A-AEF0-267B01C8099F@antoniou-consulting.com> <5ED17D42-07B8-4D4F-B54F-82B4CC60584C@antoniou-consulting.com> <509A3595.7050600@ti.com> From: Grant Likely Date: Fri, 9 Nov 2012 20:33:47 +0000 X-Google-Sender-Auth: XqNIaZnyNNT8FpcJxCv8HRQrHog Message-ID: Subject: Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2) To: Pantelis Antoniou Cc: Benoit Cousson , Rob Herring , Deepak Saxena , Benjamin Herrenschmidt , Scott Wood , Tony Lindgren , Russ Dill , Felipe Balbi , linux-kernel , Koen Kooi , Matt Porter , linux-omap@vger.kernel.org, Kevin Hilman , Paul Walmsley , devicetree-discuss@lists.ozlabs.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1054 Lines: 23 On Wed, Nov 7, 2012 at 11:02 AM, Pantelis Antoniou wrote: > On Nov 7, 2012, at 11:19 AM, Benoit Cousson wrote: >> Maybe some extra version match table can just be passed during the board machine_init >> >> of_platform_populate(NULL, omap_dt_match_table, NULL, NULL, panda_version_match_table); >> > > Would we need explicit of_platform_populate calls if we have node modification notifiers? > In that case the notifier would pick it up automatically, and can do the per > version matching internally. There still needs to be something to register "everything below this node is interesting" which is exactly what of_platform_populate() does now. I see the notifiers being used by the of_platform_populate backend to know when nodes have been created (or destroyed). g. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/