Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966915AbbDXJpv (ORCPT ); Fri, 24 Apr 2015 05:45:51 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:35678 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966893AbbDXJpt (ORCPT ); Fri, 24 Apr 2015 05:45:49 -0400 From: Pantelis Antoniou To: Rob Herring Cc: Grant Likely , Andrew Morton , Matt Porter , Koen Kooi , Guenter Roeck , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, Pantelis Antoniou , Pantelis Antoniou Subject: [PATCH v3 0/4] of: overlay: kobject & sysfs'ation Date: Fri, 24 Apr 2015 12:45:40 +0300 Message-Id: <1429868744-19863-1-git-send-email-pantelis.antoniou@konsulko.com> X-Mailer: git-send-email 1.7.12 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1559 Lines: 43 The first patch puts the overlays as objects in the sysfs in /sys/firmware/devicetree/overlays. The next adds a master overlay enable switch (that once is set to disabled can't be re-enabled), while the one after that introduces a number of default per overlay attributes. The patchset is against linus's tree as of today. The last patch updates the ABI docs for the sysfs entries. Changes since v2: * Removed the unittest patch. * Split the sysfs attribute patch to a global and a per-overlay patch. * Dropped binary attributes using textual kobj_attributes instead. Changes since v1: * Maintainer requested changes. * Documented the sysfs entries * Per overlay sysfs attributes. Pantelis Antoniou (4): of: overlay: kobjectify overlay objects of: overlay: global sysfs enable attribute of: overlay: add per overlay sysfs attributes Documentation: ABI: /sys/firmware/devicetree/overlays .../ABI/testing/sysfs-firmware-devicetree-overlays | 23 ++++ drivers/of/base.c | 5 + drivers/of/of_private.h | 9 ++ drivers/of/overlay.c | 148 ++++++++++++++++++++- 4 files changed, 183 insertions(+), 2 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-firmware-devicetree-overlays -- 1.7.12 -- 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/