From patchwork Wed Jun 14 12:05:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9786173 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 9774F60325 for ; Wed, 14 Jun 2017 12:06:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C49127E63 for ; Wed, 14 Jun 2017 12:06:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7125F285E3; Wed, 14 Jun 2017 12:06:37 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 28C7C27E63 for ; Wed, 14 Jun 2017 12:06:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=aX7g9iR/O7584ZXcGJwJur9ARH+bgS1yUCxgZXaWi5w=; b=kkxaX6Kw2f+hTr+WCt/IA22OZK 1NLT9ZfAF2IfDMF5aJyJ4cWkdSiyAuo1gxjkSJo1YK7vCn0Kh9gUMIGs+6Ey7F9HtG3Hj/zISHyk3 mly+X4HwdH3XHBiqC9nNreNVLGr/pgn/ffPbNCcpiVemcvFmhwZV3LPzNYzSXUYN+dw/IpzdltuVo mvME76+7T/p4w0efki5OUD39B9KmxapMPCsZ5LUlOSXJB82Df2sR477oL1kYR/iiiwwez6R15muX7 Fm2bysMJsljlXq1Kscsql+6Av7zKqsNQ9RpMFPR4tG3WKCJjAiH6QOY6m+brMyhtT1KC6T02bNNxr hW8l/RSg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dL749-0008WH-MU; Wed, 14 Jun 2017 12:06:29 +0000 Received: from mail-wr0-x236.google.com ([2a00:1450:400c:c0c::236]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dL73u-0008CU-Pi for linux-amlogic@lists.infradead.org; Wed, 14 Jun 2017 12:06:16 +0000 Received: by mail-wr0-x236.google.com with SMTP id v104so174728715wrb.0 for ; Wed, 14 Jun 2017 05:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yELBvpGbYP+bQVxNiXi3cGXahIwxGszRBlm7o25w6RI=; b=MLKovdVW87qF6pOLq5krlL5EcHLQc85gAD2P31geTd85tlaePz4KoemaAQBf0+frjH e2kBU+0J+uMToOSyKTE3Y7HwZ7rF5DyWTRN6qoLJmSyguZNcw8rtYkPBq0Nqd+FECeNb t1VeCoGEgofZCQj5d1JWPjjwiuUh2grzihGzPu1tSEjVQVnaQ7+jeFbLENCE4+3bzX6W bc0t8hNFraBfzdS5iwaKs+ywWoQnGMu2rQv8Lc9VsiGzKEYQG/6xW/cgRshCu+fE4Xg6 lPodJMG5+fVsk9dW4pYTsn/G/TeMxoiEojxgTpGWldwjm/KZVQ56dUPZJlRUZ+NhBjeq spBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yELBvpGbYP+bQVxNiXi3cGXahIwxGszRBlm7o25w6RI=; b=qPQBV+bUyq5ExBh4jJsFUiEJ12R4SAIuqweVWqU8OII5vCnqVztDa0HFk94N5z/0ag G2FQQ38Hs+Pf9uS6p+rJYJAgfZxcHp8PjRQNnzBquZNybZbGzkyZuXv0MU6qMsh1hS0K qMnWDDkUEV4PL7QPvcfEA9eRnhefrxWB5TmTff43uI/2sgcmHAj2nPcdfA9ShNIJx+7B HlfXam0C/nmEHnnLm2QrIWjI40ipVLW1y9iKI8sF75gaKRtUCdUYIRvMPJj3/E3jFTRL BsvMKj7HPCQZQ5VasQxvEKG9aMmYwYcg/uD7kVOkMqTl6ulhoTFyskmvx2HqSJxnYK3n Lnrw== X-Gm-Message-State: AKS2vOwirr1IlwVbtrGMeur/eJUOE2AMCEKub3E75GCWLj9+j0OA5wD6 AeasUy1t+9kASw33 X-Received: by 10.28.181.201 with SMTP id e192mr848512wmf.48.1497441951740; Wed, 14 Jun 2017 05:05:51 -0700 (PDT) Received: from localhost.localdomain (home.amouriers.starnux.net. [82.228.250.61]) by smtp.gmail.com with ESMTPSA id p99sm1229732wrb.6.2017.06.14.05.05.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Jun 2017 05:05:51 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com, carlo@caione.org Subject: [PATCH v3 1/3] dt-bindings: arm: amlogic: Add SoC information bindings Date: Wed, 14 Jun 2017 14:05:44 +0200 Message-Id: <1497441946-24379-2-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1497441946-24379-1-git-send-email-narmstrong@baylibre.com> References: <1497441946-24379-1-git-send-email-narmstrong@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170614_050615_010960_B52A392D X-CRM114-Status: UNSURE ( 7.09 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong 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 Add bindings for the SoC information register of the Amlogic SoCs. Signed-off-by: Neil Armstrong Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/amlogic.txt | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt index 5c01e65..a6d8754 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.txt +++ b/Documentation/devicetree/bindings/arm/amlogic.txt @@ -60,3 +60,32 @@ Board compatible values (alphabetically, grouped by SoC): - "amlogic,q201" (Meson gxm s912) - "kingnovel,r-box-pro" (Meson gxm S912) - "nexbox,a1" (Meson gxm s912) + +Amlogic Meson Firmware registers Interface +------------------------------------------ + +The Meson SoCs have a register bank with status and data shared with the +secure firmware. + +Required properties: + - compatible: For Meson GX SoCs, must be "amlogic,meson-gx-ao-secure", "syscon" + +Properties should indentify components of this register interface : + +Meson GX SoC Information +------------------------ +A firmware register encodes the SoC type, package and revision information on +the Meson GX SoCs. +If present, the following property should be added : + +Optional properties: + - has-chip-id: If present, the interface gives the current SoC version. + +Example +------- + +ao-secure@140 { + compatible = "amlogic,meson-gx-ao-secure", "syscon"; + reg = <0x0 0x140 0x0 0x140>; + has-chip-id; +};