Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964840AbcLTTGN (ORCPT ); Tue, 20 Dec 2016 14:06:13 -0500 Received: from mout.gmx.net ([212.227.15.18]:59879 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936202AbcLTTFw (ORCPT ); Tue, 20 Dec 2016 14:05:52 -0500 From: Heinrich Schuchardt To: Pantelis Antoniou , Rob Herring , Mark Rutland , Frank Rowand Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Heinrich Schuchardt Subject: [PATCH 3/4 v2] of/overlay: documentation for sysfs ABI Date: Tue, 20 Dec 2016 20:04:54 +0100 Message-Id: <20161220190455.25115-4-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20161220190455.25115-1-xypron.glpk@gmx.de> References: <20161220190455.25115-1-xypron.glpk@gmx.de> X-Provags-ID: V03:K0:Yicq0lLICqXG9a+9yEsyJavDs2AxvPTyeBWFPLhomQGT9TTNFD9 Wq1GRKltzZ4uLBZ1Ibd2cPA38poq09zCA8bUG9wzqo4JtvxiMQ47PvAvJEKYMh8V0LTGW96 KKKJSs7+MAlT5yvWiykzYCxKIgr+pW/UZ6W+5Muk8WroeN7mnxUV+Ci/yWCVNbY/aG7WRC0 WhwqOiavoeoWHCYEWen3g== X-UI-Out-Filterresults: notjunk:1;V01:K0:mUHyvzdx7Tc=:pHgCKYyj1dOGiI6Ew9IzNT Q8FtMxQa2LrS9ya9pdM613ZoLN+CzWULHkNyG0SEtoFCRdPzJO2qhvfBY/gk/3uTWSkXJcuKd jPHRoQXuZa2KN3zPvaOH2X6PmT9vpcjDm+72neempuACGcj5S01pbUoSWQdReaXDyInQGfd8T X3TadwWuy67tXq52FSLk+SVzvmQqUcuWlyNBU6hHIMZzbuxXL5I4Sku71z2Yp/vIsnYBa2ktA Q1zF0kEpwLVUtPLnXqLnDHpmIIl6WK/4thc7Bcz7yPP83V1RA9t/xJE+6chQ2eMKau6wA37vq L/m+Ur1zdkg0rVHIMMbeo4VcD3N+1AdGkWOwH1RZnazbDhCd2pSL5SUMOkUNE2CH+AoZy4oWr tbH069kiipE2R54PTekrJASH90kcZJrQ5atkrgjINI24tMJrukFzDpfxwp/WvH26+4KJSKtK5 vdScnw463YAMSuNfTInPR7pzmmRxM7zPvRDlNxXgip0FlCzV1YNm35r8YW3QWn87pjOsoGB00 pACgNaAAPp2T7VLcx+dqiCK5f8fkbj/qmM9oZxiX2H9z0/vX1yyskpkrusA76uJk8hJpMweiG wZBtK8cgPg32qKRB/RNA4up45Yr4niWG89ZcDow/QuTPVoJ/F/rIPTf5PUbGBBpH89FrcNITN un8cKIF/3h+XnWlp7+DemiGKKXoOi3M23dJFGUc+Qr/AzqreHxZq5+WeFh7x2XNYzb8DzCyyg OSjBQwrCFbbPBTCKoiGOs+rPCwZQC+t9WCotQKY0oLL+UQyM6Tmz69052c0= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1558 Lines: 46 The sysfs filesystem ABI to load and unload device tree overlays is decribed. Signed-off-by: Heinrich Schuchardt --- v2: Change sysfs path to /sys/firmware/devicetree/overlays .../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 0000000..bda0001 --- /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.10.2