From patchwork Fri Oct 5 16:58:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 10628481 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6C8551731 for ; Fri, 5 Oct 2018 17:03:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 57B9129AB0 for ; Fri, 5 Oct 2018 17:03:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4BA0029AB9; Fri, 5 Oct 2018 17:03:46 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 CA89429AB0 for ; Fri, 5 Oct 2018 17:03:45 +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=thCOvzi8mIsJWuVjwhVNUCqPAMEupjfqcPzTpnJqkks=; b=XN0+3vE1CJDs0oZEjsT6gGHbGV 4Jl/2GinCM7uyE5U3jJeerc/1fXJIwABVPMlLiS0PmTvvFp2mItRdh4K2VHUFDmUcGYko0q33WQEZ qrdrY937leRUDVu5LRca+qbCBrSYT4N5DMpaBJ/wBtUW7iC5taVAHjgDM4bTry1xix88icsxxHasf jp+6SMKqllDpzxPTtHXXTm8cm23dbS+dDJXn5RmLIB+k8YgxcxEteA/y1Q7bAFH1WfSonTm/LsTI9 YsK98BEEn84Q7dmKZk/sL/8ex1PqX7Vgmad0AJoK5p0SLNXMPpYxPIvkvaBRkkGBDGKfCoqR9ibPL q3cOPxVw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8TVt-0002Ln-F9; Fri, 05 Oct 2018 17:03:41 +0000 Received: from mail-ot1-f65.google.com ([209.85.210.65]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8TRQ-0007Zz-Ic; Fri, 05 Oct 2018 16:59:21 +0000 Received: by mail-ot1-f65.google.com with SMTP id l1so28626otj.5; Fri, 05 Oct 2018 09:58:54 -0700 (PDT) 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=nWJ/W+jar+UdXjg1HaxmR9q3z8+XxFV2Te6InmR2rr4=; b=hOXWZw/WHOuRwJXD8xBZI+JUEDlmvz1asTNjdVub+M7EPyhd66veSnd5ihBv+raz2F l4iv/4f082KteG2n5z5Q2/zZq5yTQWDwBR24GGeXXjMQ04m/gAwjKGqY3vBzpAO7+ULY GM64ysNXI2XoSsNwB3EUfFAp2lF9Hn3EulL9gxA9UAMclWQAg5dUPdQK0KRScSYzOfUm s7SVszvla6ydN6w7LlxtJvI6+szFEkOgbWNdgo/GRiKC1b5Nq8v64vLlwIH1aq3mRIxW e7Y7blJL8QmzTOM9bNw5yJwe4JG7owxmOA8E4UcZ0BiaZhqYSW7TunwROsui0qSu2V67 qO9Q== X-Gm-Message-State: ABuFfoiCjAPOfCN8gIVyOy/hANKmxmjaJNQoQzp9NTz425XyZJNr6tkv MED/WoSDav3HF15BrUzIIA== X-Google-Smtp-Source: ACcGV60lHex6VH59xUBqeaWpiCR5GUCzV7Jfb0gC6BzRfdvaYewShZLZJcerAuZH8nrmMaEEH60rTA== X-Received: by 2002:a9d:76d:: with SMTP id 100mr7220736ote.153.1538758733044; Fri, 05 Oct 2018 09:58:53 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id u63-v6sm2904328ota.75.2018.10.05.09.58.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:58:52 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 02/36] dt-bindings: arm: amlogic: Move 'amlogic, meson-gx-ao-secure' binding to its own file Date: Fri, 5 Oct 2018 11:58:14 -0500 Message-Id: <20181005165848.3474-3-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181005165848.3474-1-robh@kernel.org> References: <20181005165848.3474-1-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181005_095904_621017_4D2E10FC X-CRM114-Status: GOOD ( 13.63 ) 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: Mark Rutland , Tom Rini , Kumar Gala , Grant Likely , Arnd Bergmann , Kevin Hilman , Linus Walleij , Pantelis Antoniou , Bjorn Andersson , Carlo Caione , Mark Brown , Geert Uytterhoeven , Olof Johansson , linux-amlogic@lists.infradead.org, Frank Rowand , Jonathan Cameron 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 It is best practice to have 1 binding per file, so board level bindings should be separate for various misc SoC bindings. Cc: Mark Rutland Cc: Carlo Caione Cc: Kevin Hilman Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-amlogic@lists.infradead.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/amlogic.txt | 29 ------------------- .../amlogic/amlogic,meson-gx-ao-secure.txt | 28 ++++++++++++++++++ 2 files changed, 28 insertions(+), 29 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.txt diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt index b5c2b5c35766..2f2d01a00c54 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.txt +++ b/Documentation/devicetree/bindings/arm/amlogic.txt @@ -100,32 +100,3 @@ Board compatible values (alphabetically, grouped by SoC): - "tronsmart,vega-s96" (Meson gxm s912) - "amlogic,s400" (Meson axg a113d) - -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: - - amlogic,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>; - amlogic,has-chip-id; -}; diff --git a/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.txt b/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.txt new file mode 100644 index 000000000000..c67d9f48fb91 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.txt @@ -0,0 +1,28 @@ +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: + - amlogic,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>; + amlogic,has-chip-id; +};