Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755072AbbFOOCj (ORCPT ); Mon, 15 Jun 2015 10:02:39 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:33962 "EHLO mail-wg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753292AbbFOOCa convert rfc822-to-8bit (ORCPT ); Mon, 15 Jun 2015 10:02:30 -0400 Subject: Re: [PATCH v4 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: text/plain; charset=utf-8 From: Pantelis Antoniou In-Reply-To: Date: Mon, 15 Jun 2015 17:02:24 +0300 Cc: Grant Likely , Andrew Morton , Matt Porter , Koen Kooi , Guenter Roeck , Greg Kroah-Hartman , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-api@vger.kernel.org" Content-Transfer-Encoding: 8BIT Message-Id: <8C477D79-68E9-4B10-BFC0-D967F257ED34@konsulko.com> References: <1434137896-13806-1-git-send-email-pantelis.antoniou@konsulko.com> <1434137896-13806-5-git-send-email-pantelis.antoniou@konsulko.com> To: Rob Herring X-Mailer: Apple Mail (2.2098) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2502 Lines: 72 Hi Rob, > On Jun 15, 2015, at 16:42 , Rob Herring wrote: > > On Mon, Jun 15, 2015 at 8:26 AM, Pantelis Antoniou > wrote: >> Hi Rob, >> >>> On Jun 15, 2015, at 16:24 , Rob Herring wrote: >>> >>> On Fri, Jun 12, 2015 at 2:38 PM, Pantelis Antoniou >>> wrote: >>>> Documentation ABI entry for overlays sysfs entries. >>>> >>>> Signed-off-by: Pantelis Antoniou >>>> --- >>>> .../ABI/testing/sysfs-firmware-devicetree-overlays | 35 ++++++++++++++++++++++ >>>> 1 file changed, 35 insertions(+) >>>> create mode 100644 Documentation/ABI/testing/sysfs-firmware-devicetree-overlays >>>> >>>> diff --git a/Documentation/ABI/testing/sysfs-firmware-devicetree-overlays b/Documentation/ABI/testing/sysfs-firmware-devicetree-overlays >>>> new file mode 100644 >>>> index 0000000..be2d28b >>>> --- /dev/null >>>> +++ b/Documentation/ABI/testing/sysfs-firmware-devicetree-overlays >>>> @@ -0,0 +1,35 @@ > > [...] > >>>> + >>>> + targets: A file containing the list of targets of each overlay >>>> + with each line containing a target. >>> >>> We have OF nodes in sysfs now. Would it be more useful if we created >>> links to the target nodes instead of having a list of names? >>> >> >> Probably, this interface is merely informational; things get complicated by >> the fact that there can be more than one target in each overlay. > > Right, you would need 'targetN' or perhaps '' (with a '.N' > for duplicates) as the link names. > > If it is informational, then perhaps debugfs should be used instead? > I’d rather not pull in debugfs here. It’s informational, but not only for debugging. I’ll see what I can do with the targets. > What else if anything do you envision adding here? > As far as generic infrastructure properties, I hope nothing else. However I do intend to use the kobj directory to make the overlay users ‘hang’ properties relevant to their use. For instance the beaglebone capemanager could put there the compatible and the resource declaration properties. But that’s going to come later. > Rob > — Regards — Pantelis -- 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/