From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753808AbcLSBNT (ORCPT ); Sun, 18 Dec 2016 20:13:19 -0500 Received: from mout.gmx.net ([212.227.15.18]:60593 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752144AbcLSBLH (ORCPT ); Sun, 18 Dec 2016 20:11:07 -0500 From: Heinrich Schuchardt To: Rob Herring , Mark Rutland , Frank Rowand Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Heinrich Schuchardt Subject: [PATCH 3/3] of/overlay: documentation for sysfs ABI Date: Mon, 19 Dec 2016 02:10:35 +0100 Message-Id: <1482109835-9000-4-git-send-email-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1482109835-9000-1-git-send-email-xypron.glpk@gmx.de> References: <1482109835-9000-1-git-send-email-xypron.glpk@gmx.de> X-Provags-ID: V03:K0:SkR7S6xLmNatyxvju0of+ri9K7PYHTJ6T8AaGhE65Fnk/fLSRIZ fKNliqkrMItzgwMybPtTBXztkQt5l6E62v7ZXAHjKL5AWgNA8UXpr7bdsZc7WL8YxbOIdB8 rdjzJF6+FpNvBjDxgEet04s2xgI+Ahh9ctXRt+Ih8L4g5twp+TyILo9B5lZa5ZDGhJSp2UW O+42Y1ykH44v2eAw/G6TA== X-UI-Out-Filterresults: notjunk:1;V01:K0:dHTAgrCHCck=:6fRAnV0vcl8KdadpMR1dEU M+5H6psKRZVofiO2SrqanJxeFGCY0D3TYhr0YZkMI2Sa37FJZIEEN0EOxyplUEpVj+KeULPwe BK63GvdBUuyvRXb4lk6EMEviU6CwY34Bsh1rxHjyMX95GGeWGaWmqnRObvZ+EH7xAbNJHnPNy 7BBXMnkybOXnXeReqZ2Q2jdaBtYcCwpk5hSuZ2Kjz29VWRH6laOJ6l4lhSdpaZR9t289wcDaW retoGg2PEeAEY9G7Sgq2IpAig++SJ8RhlWV26Nd3hUts6Iv094Itd27+UKODN7csufom3wtTC py3vbA3G1jE7O22p/2uroTGLuPJAKGP29mHDbu2hhFNy1dVkq3BlJTn+fpc1xw0KBxNcmk0ud +t809P2RnPmIhQpfKD6KSA1wyBW/sA8PBWzfscu5hv41XlSk8uUIADhpL9UDxlkQpufP3TLVg 9kBrShwMsDaV2Mi1nK8VfD096E6Kntsz5o5/VM1R7yadrn4qNNXhGkdcwICp7LO7tXIVGuKmx LAL7BBIPag5zAK8YQ4onmzjshOfbweb2AM92nizUSONdHlIbgMHVuih/PJGOK8+wv0Yuau4pf SOss6Jb9wGQGa4uRlNhs88UD8JkwEQCXrql4rHDzfI57Dh4MsZCx+lqModbjdrP50hzIKifHu T6wZo3sowROLesPyxeGkDZXY03uUcQ4vIAheahs2ZiHSO3vxY4VEN83R23H2t/DCzDi32mW7/ fUZUKayYLmxLP8cgeye5AcmarluBw4weYAWP7O5eXosRdKtlKg/wWItiSKc= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The sysfs filesystem ABI to load and unload devicetree overlays is decribed. Signed-off-by: Heinrich Schuchardt --- .../ABI/testing/sysfs-firmware-devicetree-overlays | 24 ++++++++++++++++++++++ 1 file changed, 24 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 000000000000..ce25b637028c --- /dev/null +++ b/Documentation/ABI/testing/sysfs-firmware-devicetree-overlays @@ -0,0 +1,24 @@ +What: /sys/firmware/devicetree-overlays +Date: Dec 2016 +KernelVersion: 4.11 +Contact: Heinrich Schuchardt +Description: Devicetree overlays can be used to update the devicetree + while the system is running. For details see + Documentation/devicetree/overlay-notes.txt. + + The following attributes are provided: + + load: This is a write only file. + A string written to it is interpreted as the path to a + flattened device tree overlay file. It is used to create + and apply the contained overlays. + + loaded: This is a read only file. + It provides the count of loaded overlays as a decimal + number. + + unload: This is a write only file. + If a positive number n is wrtten to this file the n + most recent overlays are destroyed. + If a negative number is written to this file all + overlays are destroyed. -- 2.11.0