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: 148230 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp688782lji; Fri, 5 Oct 2018 09:58:57 -0700 (PDT) X-Google-Smtp-Source: ACcGV606fyFzpDs87tSp1g2bSN3zi+Fa+5Rlb7gECHD8okHSyNByK8xoPY9MiiU7lv1L2WnS/+Pu X-Received: by 2002:a63:fe13:: with SMTP id p19-v6mr10976847pgh.265.1538758737032; Fri, 05 Oct 2018 09:58:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758737; cv=none; d=google.com; s=arc-20160816; b=VKvfEj3RgWXg4NVQLC0TNWD/HzQ24cKrisnSlr8Py2ZPw73AI/AEpHo6jeILfnw7De 6IMi3orYUURB3W3Pv3PsrkLLZHPPwdF6sxXoWvt4oMjpM8dSdotxRCDHUNKinuune5B3 Uv77JEYkMFun3czCksMJ6B68FqIqEATsmfwQLTxnMXzPqs80nxu0jSY74/HQF9cVi1gx th1iyuUGHwhQneLkffEiPVTGQ4dVZPdiqleuIlrgdeWfSl/8erBInZXDZfCyQ+CLfgiQ 9yXxXOauB9vV17F00vhqhWOTLYmk9RyJC/6NQToCl64nfwb6/SfOdo6SLOWinZQ46Phe h7uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=nWJ/W+jar+UdXjg1HaxmR9q3z8+XxFV2Te6InmR2rr4=; b=Pr2kuR/KFV4zZJ4JcXi3qpuWh9qh0wl89qUB+YwMEzOxMaT4tOJb4PkS6eVp1eFrSL 4rdsVL1B+YhO/sDrszDAnHRySAhedLGHMDtAtXux5TBuboPdS142Cgv9bN3RTOCE4FzC F+Xn9d9OJmEJowUXXwh4nTHq0uaBivu14zOp0Y+TjAYsk+dgXBsimB25AeNFbDfmL2l5 FsmCLfzGaEg6sTGNFishdCF1J6hvZEPHfWXI9lFZ53rtguoqyv2TLIkaRWM//3pWMFHH 5dQ+EL6wU7lp3dVXIjEAY8SNdPrLF3p0ZuOjB6c1v4x5sx/RI0LQEIWOSGp2OdpdRm0z 7A2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q185-v6si9792546pfb.277.2018.10.05.09.58.56; Fri, 05 Oct 2018 09:58:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728819AbeJEX62 (ORCPT + 32 others); Fri, 5 Oct 2018 19:58:28 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:42893 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728770AbeJEX62 (ORCPT ); Fri, 5 Oct 2018 19:58:28 -0400 Received: by mail-ot1-f68.google.com with SMTP id h26-v6so13359764otl.9; Fri, 05 Oct 2018 09:58:53 -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=d44uhtnv3WJRolJCk5WkGnfLR8+RItiUlq62aVLgCGODzfkyKooPQrKqLl4kxYjr/S yeULEgxfdULuSp8yz4WFmOal5cWzSeKZaiKTpLzZYxOPtBhH5cx+qe7CSzzsnZlVfrwn ku3F0VxOemJdvHutIDVZJXPUs0723HPp5mwdY1qnJLxVVS1gXsyEv+IffR2YFWNcT1Kd haOObEyAuibc/8F407eE3DM8Xq8D8t4+Kw8sKpoPIi899xjygm9rtqcDubiDDKQp4FE5 GzYN/vBhfE+OvIIDoF14b+BtLIp6DzcrnOP5OAfqnMq9CvaREtXKR8aMDv7OfpquijVo J5aA== X-Gm-Message-State: ABuFfogyJW4Xg6i56ud6nra5uoo06M/jyWgbWtor/cb7z41Of4DfjyM3 yvhkEatXzDqrIj+vGtoClngYerK2JQ== 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 Cc: Grant Likely , Kumar Gala , Frank Rowand , Mark Rutland , Linus Walleij , Olof Johansson , Arnd Bergmann , Mark Brown , Tom Rini , Pantelis Antoniou , Geert Uytterhoeven , Jonathan Cameron , Bjorn Andersson , Carlo Caione , Kevin Hilman , linux-amlogic@lists.infradead.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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.17.1 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; +};