Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932949AbaKRPSx (ORCPT ); Tue, 18 Nov 2014 10:18:53 -0500 Received: from mail-ig0-f181.google.com ([209.85.213.181]:53736 "EHLO mail-ig0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932865AbaKRPSu (ORCPT ); Tue, 18 Nov 2014 10:18:50 -0500 MIME-Version: 1.0 In-Reply-To: References: <1415342031.4925.27.camel@kernel.crashing.org> <1415342117.4925.29.camel@kernel.crashing.org> <1415596626.5769.14.camel@kernel.crashing.org> From: Grant Likely Date: Tue, 18 Nov 2014 15:18:29 +0000 X-Google-Sender-Auth: n-SpaRPY4tbkD7qZbtEWUg2HKtI Message-ID: Subject: Re: [RFC] Add of_path property for all devices with a node To: Rob Herring Cc: Benjamin Herrenschmidt , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Arnd Bergmann , Olof Johansson 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 On Mon, Nov 10, 2014 at 2:06 PM, Rob Herring wrote: > Adding Grant. > > On Sun, Nov 9, 2014 at 11:17 PM, Benjamin Herrenschmidt > wrote: >> On Fri, 2014-11-07 at 17:35 +1100, Benjamin Herrenschmidt wrote: >>> On Fri, 2014-11-07 at 17:33 +1100, Benjamin Herrenschmidt wrote: >>> >>> > So I came up with this patch, >>> >>> And here is the actual patch, which might help :-) It's pretty trivial >>> and small... >> >> So not much reactions here .. a bit more on IRC, where Olof suggested >> that rather than a file containing a path, we could use a symlink since >> the devtree is now in sysfs, so we can do relative links. > > +1 on this. That was part of the motivation to move DT into sysfs. > > Rob I had a patch that did exactly that. I wonder what happened to it... But regardless, as Frank said in his reply, this data is already in the uevent file for every device. 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/