From patchwork Thu Jun 2 14:16:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 9150059 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 078D760751 for ; Thu, 2 Jun 2016 14:17:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC831282E8 for ; Thu, 2 Jun 2016 14:17:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E1412282EE; Thu, 2 Jun 2016 14:17:03 +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 A9B3E282E8 for ; Thu, 2 Jun 2016 14:17:03 +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 1b8TQk-0007h4-RX; Thu, 02 Jun 2016 14:17:02 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b8TQP-0007D2-Qz; Thu, 02 Jun 2016 14:16:44 +0000 Received: by mail-pf0-x243.google.com with SMTP id 62so8180497pfd.3; Thu, 02 Jun 2016 07:16:24 -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=HJkcEWF2YIRIkcI2Cjni7ZEb5ywSfyhyClUuDqwlif0=; b=tBmK98u3biwkQKTpORFRgdv5RUth7vu1NOHqz62T0f4z5ArTeKBlv/Y1rFLGZTbwmN zOa1XZRu+ASrcWP8DAIUfaRntjCb1qFsVvR2OigA9x0dGoCRKOH0ePb+63X/VHbPZwyS Q203ufuGq4JmruC2lqrVAoy6LD84aq9cn30c96DgcbW2v1LmT1bdP72Uv6w2iYkFMF1u PVGfYRFnCOPzeprh96HXIKc53flQs5cZYzMsOrgszQdaQ3go8B5HQ2CN1ORF8LthyHiP ip+A11uRP78v/+65g7y4UjdSXsFEIUxnMAzU+WFaU6xPzCTtwZPo2JfmZW7qNASrsMXL 4lYQ== 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=HJkcEWF2YIRIkcI2Cjni7ZEb5ywSfyhyClUuDqwlif0=; b=k/LHdj0KGdUeOI/fs2iIn+vlC3W/hQybdJ/LEznWVqWqmdbS6n2CSPNNLY5ASL+rpz LJN/xi/jTgKsfUfUdB2PPXllf9ekCpO+K5v+hcZSmOQefASIgDy7P6ZZvU0mBxvyKGAK 7NIhCkZyI9XZO4NFcFLjjU4J9ptRT9ZKmsqe/qHsqnooAL3nBdpHhjTMRrRWp2Re5JEo qRK+q3uY/7dJI3a52wVfgQKYD82Xt6ax8FV4l9s0rPfrDxh1SaRX9s4a5VsW4Uu3ekws YiY/wSWIq4ZEPLa4abAfnHfk5PMkxC1BqUBNcONn1EGonL2vFlmOHZsED9xt+7D367d1 Dx2g== X-Gm-Message-State: ALyK8tJGzYaaJEj7u0Io2ebo0z4geCObOq/GjcKeKn+0EMY58/+rQn3BAsAd9BDKHaG8Rg== X-Received: by 10.98.69.197 with SMTP id n66mr4949661pfi.75.1464876984509; Thu, 02 Jun 2016 07:16:24 -0700 (PDT) Received: from mephisto.endlessm-sf.com (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by smtp.gmail.com with ESMTPSA id t77sm1292347pfa.71.2016.06.02.07.16.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Jun 2016 07:16:23 -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 v6 2/3] documentation: Add secure monitor binding documentation Date: Thu, 2 Jun 2016 16:16:03 +0200 Message-Id: <1464876964-13001-3-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1464876964-13001-1-git-send-email-carlo@caione.org> References: <1464876964-13001-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160602_071641_947171_94BC9053 X-CRM114-Status: GOOD ( 11.74 ) 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 | 29 ++++++++++++++++++++++ 1 file changed, 29 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..2d8f29d --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/meson/meson_sm.txt @@ -0,0 +1,29 @@ +* 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: + + efuse: efuse { + compatible = "amlogic,meson-gxbb-efuse"; + secure-monitor = <&sm>; + #address-cells = <1>; + #size-cells = <1>; + + ... + }; +