Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7478151imu; Mon, 3 Dec 2018 13:37:44 -0800 (PST) X-Google-Smtp-Source: AFSGD/XW3SrZNd378TRRtR6LMHOr5rW+QCcreJ0YUVhc/bluQG58mzdSBUwMiP/CrtM13b97Tru4 X-Received: by 2002:a63:554b:: with SMTP id f11mr15028734pgm.37.1543873064533; Mon, 03 Dec 2018 13:37:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543873064; cv=none; d=google.com; s=arc-20160816; b=wdkdSMbyxPMYFgQcpeJgrfxkSvbHLGcoNZFZxHls8J206H2Gh/QMogCVJOHKAaDP/C Em5ListEsEG/SpjdBnwVUHs7Fpaw+B6DyNuA6of+9UEQexujUhH1UcbEQeOyLYwVi/Lh sGyyXGa8+nY7lvMinY91tvUb9zZNhf85V2BWy+ssyZqzLMfc7MVHyHjzieLDRCFPQjBr NpWpPL7XjpUOOClqXSbtqxGURe6uZpQquu2ulRZeoNpI/zrlBYhY0ySn2F3/L2QP9PAf oVJ8Arj/ISkERbxLb27We93e+qGkvc70L0AfPrXz0UkFbv9pfHdTD6+9DO9s6qJlkBEZ c1rw== 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 q5si12618953pgb.245.2018.12.03.13.37.30; Mon, 03 Dec 2018 13:37:44 -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 S1725946AbeLCVco (ORCPT + 99 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 Content-Transfer-Encoding: 8bit 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 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; +}; -- 2.19.1