From patchwork Fri Jun 10 19:44:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 9170315 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9B48B6048C for ; Fri, 10 Jun 2016 19:46:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 89E422824F for ; Fri, 10 Jun 2016 19:46:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7E8C628325; Fri, 10 Jun 2016 19:46:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2EC3F2824F for ; Fri, 10 Jun 2016 19:46:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1bBSMW-0002QJ-GF; Fri, 10 Jun 2016 19:45:00 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bBSMC-0002Ja-IV; Fri, 10 Jun 2016 19:44:43 +0000 Received: by mail-wm0-x241.google.com with SMTP id r5so940255wmr.0; Fri, 10 Jun 2016 12:44:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=xGghx/T4DDJNUViYN/jmzyjDIf6tkiXUedhPhQxQ03c=; b=RM2+6qm4+kjt3tl0TQCeDc7hmZ2F2qAfwIbDT9ofoXjPWXyhAEpcNsiUozyqNDSHqh j1fLAwkl7vVFj9eBdALhMB2siAwi9o4yldJZszLnN4w/7iewJNdiHy1vSzrSPcd5UpHd RHbw3/0DGLPqEGeb6744VqpQagAiWyBP8JfJDelPE7XWkmPL5fm8Uu43xOH3jXW8kvoF IfGU/DX6gEh3F6RoyZCzI1nNaJVvdeaFyhIA+IIQ0RyTV05zEXAUdocc1t2tZuuG93tz GLg2RMkXOGNAxEtimWDfKsL9VnyN4vGh/fzFA+eGXjBw7iBHk35f/QztHzR6SdknTOej BfYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=xGghx/T4DDJNUViYN/jmzyjDIf6tkiXUedhPhQxQ03c=; b=DrE5gFhMOBv3tW+hbxpeVSM97d/xdQz9dZclVen6fpe7TnYgMjP85d3V4ywjLPCGoW oCN8z2gGuNfk1PbIndsu4iBjgdtKMFPfqv6xWvn/PHi2ADxNqfquAb6zbi8bPkzaMybg GARUbixTasC7RzSD5f7CcrTA/taxPT56bsw6F1wHpMNErb1oFUi3ahY15AGnOXLYOLGW M5jJyp72bnc9D4XBh5KCim1QlU2nPHiXv0h0tHdQfJ4mPADr/2oivoiVluJPvbBG7+RV 5Cp7tuIY4GYtqklNIdAUq37euXjE02SEXgwSWo/Ft/N4tLFC3J0YglLHjzHMHznD5Wta +B/g== X-Gm-Message-State: ALyK8tL5wbJsrJXgM0xGPlUrlltrWpetUdb1OBf2Q1TyKn1eYI0dkfsM146u6wj9ERu2dQ== X-Received: by 10.28.29.7 with SMTP id d7mr606701wmd.27.1465587859064; Fri, 10 Jun 2016 12:44:19 -0700 (PDT) Received: from localhost.localdomain (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by smtp.gmail.com with ESMTPSA id dj4sm13820365wjc.13.2016.06.10.12.44.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Jun 2016 12:44:18 -0700 (PDT) From: Carlo Caione To: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux@endlessm.com, devicetree@vger.kernel.org, khilman@baylibre.com, mark.rutland@arm.com, robh+dt@kernel.org, matthias.bgg@gmail.com, narmstrong@baylibre.com, bjdooks@googlemail.com Subject: [PATCH v7 2/3] documentation: Add secure monitor binding documentation Date: Fri, 10 Jun 2016 21:44:10 +0200 Message-Id: <1465587851-24184-3-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1465587851-24184-1-git-send-email-carlo@caione.org> References: <1465587851-24184-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160610_124440_763929_3828C355 X-CRM114-Status: GOOD ( 11.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlo Caione MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Carlo Caione Add the binding documentation for the Amlogic secure monitor driver. Signed-off-by: Carlo Caione Acked-by: Rob Herring --- .../bindings/firmware/meson/meson_sm.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/firmware/meson/meson_sm.txt diff --git a/Documentation/devicetree/bindings/firmware/meson/meson_sm.txt b/Documentation/devicetree/bindings/firmware/meson/meson_sm.txt new file mode 100644 index 0000000..d017675 --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/meson/meson_sm.txt @@ -0,0 +1,27 @@ +* Amlogic Secure Monitor + +In the Amlogic SoCs the Secure Monitor code is used to provide access to the +NVMEM, enable JTAG, set USB boot, etc... + +Required properties for the secure monitor node: +- compatible: Should be "amlogic,meson-gxbb-sm" + +Example: + + firmware { + sm: secure-monitor { + compatible = "amlogic,meson-gxbb-sm"; + }; + }; + +Example of the node using the secure monitor: + + efuse: efuse { + compatible = "amlogic,meson-gxbb-efuse"; + secure-monitor = <&sm>; + #address-cells = <1>; + #size-cells = <1>; + + ... + }; +