From patchwork Mon Dec 3 21:32:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 152752 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7318005ljp; Mon, 3 Dec 2018 13:32:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/VUSBelhlcJNA6CBmiybfDxS8Y+sRd+F9GAME0zTmKJbPad/7RVPwjLa3w5dZGDJVutx6yM X-Received: by 2002:a65:6447:: with SMTP id s7mr14515382pgv.226.1543872767063; Mon, 03 Dec 2018 13:32:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543872767; cv=none; d=google.com; s=arc-20160816; b=tzctx7b2ShvXSgNqLN/C06YBSLnxqd/HodBAsI25lrDIc+357wzppgst4yQgeXBwzM TLGCN4Cww5i8NyYRQ2FZ9gV2LlRrl6JeA2cHYkYZlD8ZB07VQeIbHvCdc4V1vR12y4Lt fTGM2dNqxH3gK5i8VRq7u7rKKr0yWkFtos8sRRC3ngVEl896i0aDpZKmpha3aycwhZHh Ge2PPqsKNuyNbadJzTjC1ne0KWo2mk4XtY8FhhUt0bUENm5yyPbtdButoVmDuXwWJXtY fHC6L8po3ZcV6LWEVvr1FIivNtnLgYd34MzpSvgx3CjmceAoRJtEUJt8U2mg2NYQ2+Bk mkuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=4IIdvslIkKvyI14uCjPFuiKDQb0ro77CNIToQQS9yUU=; b=HkYlwQQmxZ4lsYBsC9YV4LOm8MgJbbG7uK7elJlZaTPo6/7cB3DDNUT8XOzfyB6k4O ABomgpXa7rLK4j4GCapsOXeHbRZIZdgFwCEutedxqsl6uO1esAVHEXrezebJ1dg1fupa Wa2j+QXVtWquGADhX0xL23rlNN5VKT+y9cWK+T4qI65W0zhQv7SvLlipUO4rUNql5IIV Rz5M9cbTfEcttlOW4S8E9Y2aOxjqyRGqCDYM+z6BH7KpVFwEVQDHZQ8IEDu16vIdcaDB sv42dv04zQryPeMTW3BV7lVPWrL5vhGVaYdOtVqACpRyvS0qbNDv/jvSwM8qQvm4j+as 6MUQ== 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 bc7si14925106plb.120.2018.12.03.13.32.46; Mon, 03 Dec 2018 13:32:47 -0800 (PST) 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 S1726155AbeLCVco (ORCPT + 32 others); Mon, 3 Dec 2018 16:32:44 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:45000 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726131AbeLCVcm (ORCPT ); Mon, 3 Dec 2018 16:32:42 -0500 Received: by mail-oi1-f193.google.com with SMTP id m6so12331007oig.11; Mon, 03 Dec 2018 13:32:41 -0800 (PST) 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:mime-version:content-transfer-encoding; bh=4IIdvslIkKvyI14uCjPFuiKDQb0ro77CNIToQQS9yUU=; b=U3IFA7Q6qz6ZpgK29vnfBOgVamfdTBZKrZr798txtveRujMEVBvOQHu9Ft3TszixGM 6mlPYxutunUhqtO/MfIfSZB5KziJYSdJbHiroiwHYis1D8g4INjdIVARr61feKAw9tLd 5Sd8xIx7dblS5+SxB7HdoCmODIaS2TpPIdVHzlaPENmOcIplDBsE1nLTWg080aulxozU 7nUnFWVSUWRm78tdVUEym9bsZwUaC6ugeeWPzlr14+Y+I93SPQQ9AngoL/CwqFJ+zsDb muQQts+Jk9kV3sZE8PhheDTLqzUIXL8Xx4iQunM6KOvKRcjmRNiwksX1KoZfKNlusd+h e8sA== X-Gm-Message-State: AA+aEWbPhLcBOwsUAFLbx9Bf773/9FO3jgUZ5LFAsYwf5a+WC98mSzZC /L1PBhcnqC4tTeEeaGTU1Cxd0Z0= X-Received: by 2002:aca:ad53:: with SMTP id w80mr10278765oie.148.1543872761266; Mon, 03 Dec 2018 13:32:41 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id c78sm8545501oig.30.2018.12.03.13.32.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 13:32:40 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sean Hudson , Frank Rowand , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Grant Likely , Kumar Gala , arm@kernel.org, Mark Rutland , Carlo Caione , Kevin Hilman , linux-amlogic@lists.infradead.org Subject: [PATCH v2 13/34] dt-bindings: arm: amlogic: Move 'amlogic, meson-gx-ao-secure' binding to its own file Date: Mon, 3 Dec 2018 15:32:02 -0600 Message-Id: <20181203213223.16986-14-robh@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181203213223.16986-1-robh@kernel.org> References: <20181203213223.16986-1-robh@kernel.org> MIME-Version: 1.0 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.19.1 Acked-by: Kevin Hilman diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt index 4498292b833d..f5c8d50a3506 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.txt +++ b/Documentation/devicetree/bindings/arm/amlogic.txt @@ -107,32 +107,3 @@ Board compatible values (alphabetically, grouped by SoC): - "amlogic,s400" (Meson axg a113d) - "amlogic,u200" (Meson g12a s905d2) - -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; +};