From patchwork Sun May 29 11:12:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 9139739 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 4D39460221 for ; Sun, 29 May 2016 11:13:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3BC2B20202 for ; Sun, 29 May 2016 11:13:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2DDA727F17; Sun, 29 May 2016 11:13:15 +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 BD02A20202 for ; Sun, 29 May 2016 11:13:14 +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 1b6yef-0006XE-Ve; Sun, 29 May 2016 11:13:13 +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 1b6yeG-0006R5-6k; Sun, 29 May 2016 11:12:50 +0000 Received: by mail-wm0-x241.google.com with SMTP id e3so13702700wme.2; Sun, 29 May 2016 04:12:27 -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=1R/uvHqI1QY+OSyRUiBNTmURndgLL6fBswnznurakGs=; b=hTV4zu5bzuPj7FMe4Q/TKRkjD75NNvKOSqVy2NnfWxLg281Ec5uETE4EK+njSulCMD EtmU9XB8mmOaRzVSpzKLgdeWZM+beT3B78qCN2sNJBn6o3ZKq1UgM9YxKuiFreB0X7Pg xwcGI1WYsxf9boDYhXytW6HmmJdCbp2N/7mEqo0x2Hg4mfyzqhWuR82e0aW1E5h5I4hG 8zHt0TQI9ttse8l9VSgtxay4Jt3u3Fu4N+et9aicqxjQoZVtzAiGfusMn37pgoxbTwyb sgeNA97BDhsxPSh8Vt+nDdjhjgyNuGdnSydni1yVxDbexLS+Elns91QbrnuGnUtUZ2FP byKA== 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=1R/uvHqI1QY+OSyRUiBNTmURndgLL6fBswnznurakGs=; b=j1qcJqWcuHBGnbiyQGiKzVdMBNT20h50SIS/KE++NF0cjf12XEPihLnvNndravgCNr 2SVsr0KljmKF0ZAKWK68p/PfuhTiMFYMmGpfbHhpVbwHZOMKIe2GzM+YQGPmevTS5QLV S/8BOWtlZv/xQJN8oHkXj57VKHjGOJwbR1EGjcMHINWevo6CZvguXoWWvTzhJJA/a5Ch gWlGWtrbUwCJGaPiuRMtqEGDz/DyAv/qO3nT50gn8pCQRio95TKUcoSa1EgYQr8mC927 I5oCwP4tgc0nSm49qdnG5Y4KYNXKlCMWVgKwbsnKF+IDsJExxMEWpyf1AFx5nzDSe0Z5 cE2Q== X-Gm-Message-State: ALyK8tLQ08SyP73PBDfRJy41lcoNvZPwnS5B6QbgmxXchVke+r+XW/5LS5Tly2yoSW9ATQ== X-Received: by 10.28.10.10 with SMTP id 10mr6822888wmk.102.1464520346666; Sun, 29 May 2016 04:12:26 -0700 (PDT) Received: from localhost.localdomain (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by smtp.gmail.com with ESMTPSA id h2sm6107095wjv.15.2016.05.29.04.12.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 29 May 2016 04:12:25 -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 Subject: [PATCH v5 2/3] documentation: Add secure monitor binding documentation Date: Sun, 29 May 2016 13:12:02 +0200 Message-Id: <1464520323-19531-3-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1464520323-19531-1-git-send-email-carlo@caione.org> References: <1464520323-19531-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160529_041248_398323_D895EF7B X-CRM114-Status: GOOD ( 11.96 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=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 --- .../bindings/firmware/meson/meson_sm.txt | 33 ++++++++++++++++++++++ 1 file changed, 33 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..6f0b5bc --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/meson/meson_sm.txt @@ -0,0 +1,33 @@ +* 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 { + compatible = "simple-bus"; + + sm: secure-monitor { + compatible = "amlogic,meson-gxbb-sm"; + }; + }; + +Example of the node using the secure monitor: + + #include + + ... + + efuse: efuse { + compatible = "amlogic,meson-gxbb-efuse"; + secure-monitor = <&sm>; + #address-cells = <1>; + #size-cells = <1>; + + ... + }; +