From patchwork Fri May 17 15:27:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 164419 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2304297ili; Fri, 17 May 2019 08:27:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMIDpy+E5zxg3ZRG3XLa13QptHrRBx2exrp1fRJ31p12wUwIwW8kZNbOLkYufpnEDW4jnJ X-Received: by 2002:aa7:8186:: with SMTP id g6mr62149270pfi.126.1558106850495; Fri, 17 May 2019 08:27:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558106850; cv=none; d=google.com; s=arc-20160816; b=RjhjY0DKOJOciBHhJ/FHuPOQjUgC+BJVM5LUWV4TB2gN/1TFmCOwrZq76O5desQA4J b/m2yFU5vx/RvvuQ81eBcVPwd43DZjqyLVWUyazqocwELcosUpTpJQOwp4jnzFg2kTdI dkbk/+AjiK/dS5rcg3PDLQCfZWMAj5zJ061rWUR+q8KmFbwaLifpra5mZ9k7tbetd17o a0tD7zeA8AlRVV2Xs3NCpjViIrrZbJ+WypaL4OFMrqSE7DrxsZZsmvITjgYgYGnHn9aa ZrJ+8qBoLAg6+Xl/9uFvCpxSWJg60JAwBcpMH0hxdHHeZ8gpUZtJUneXsnq8maFRVWZp uMQA== 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 :message-id:date:subject:cc:to:from; bh=ZXjo2WzK/l3uzu16XWx7AJkZlf1BIoz+FJUDL45vLwg=; b=f7Cx2NpwsnOT0YWMJ+Bhq3Jr4o5I2cOMeV45upCJH5fPRdRnpiWw58dywiI4H6RUz2 +/lTAEyjm3UMcsH+kmZNEq9HVrcZ4bBq7W0cUnOYYCvA3NyPyvYtFqVR3sJr4+CWNvZr FjsfMt3zYvY9Q1/FouKuzl9Oz9E3CUgyhIWo1absTDHBP0UZEXB7832s+d/Ff8tKL1+X dYYT/Y86dhjNR3MvDQObY8TkPRnokVK8yOkZfMmXgIYig/9/evcMYQg3F1cZtv1SLE6H IJd20apWnluLiDvqheG+vy8sNaVgjxNfkUv+7naR6Sauli7A5tBDeRfBGcGOvi32HC44 cFfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 31si8342056pli.242.2019.05.17.08.27.30; Fri, 17 May 2019 08:27:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1729244AbfEQP13 (ORCPT + 7 others); Fri, 17 May 2019 11:27:29 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:47007 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729264AbfEQP12 (ORCPT ); Fri, 17 May 2019 11:27:28 -0400 Received: by mail-ot1-f66.google.com with SMTP id j49so7029239otc.13; Fri, 17 May 2019 08:27:28 -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:mime-version :content-transfer-encoding; bh=ZXjo2WzK/l3uzu16XWx7AJkZlf1BIoz+FJUDL45vLwg=; b=IuZKKZaNgBzSw6omT9FJ3zwT7N04zjcywCHo6ifBYUZcTERMNFiF7WIQczfUyHNSY7 CcIdIOtihMZAZBJWRqa8vVPkyhPoov2T4aFBSIyEVFuMCcx9/TvRZ0gKMBCCItuGGti7 bV6dccW62uiMP6JlzrkQJuOYQYpxsZlM0xZFvL0gRMlIYL7etqFlKuJrkoElMRx2PyDj TT+zbIh5p+tYCwfmQPnzdGySAnQeQk80huXZxKLY3AqpCVlwRKcLNtFyrI1oo14OXMZ3 0kAl8fS+AXEK5uVHKAtjHuXtJQKIqIyDXRuLaUuVTEfjUpB7lYfnjGoRv0qlsXrgAos8 2MlA== X-Gm-Message-State: APjAAAUHa4eAj1mKA7OJEj2ZwPesMlKpi+5QygiUK90njs3bly879/CU 70iuaE1HE5X9BpUQu83peg== X-Received: by 2002:a9d:6856:: with SMTP id c22mr11882936oto.24.1558106845465; Fri, 17 May 2019 08:27:25 -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 i13sm2186859otl.27.2019.05.17.08.27.24 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 17 May 2019 08:27:24 -0700 (PDT) From: Rob Herring To: Kevin Hilman Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, Neil Armstrong , Mark Rutland , Carlo Caione , devicetree@vger.kernel.org Subject: [PATCH v3 1/2] dt-bindings: arm: amlogic: Move 'amlogic, meson-gx-ao-secure' binding to its own file Date: Fri, 17 May 2019 10:27:22 -0500 Message-Id: <20190517152723.28518-1-robh@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 --- It seems this one fell thru the cracks and didn't get applied. .../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.20.1 Acked-by: Kevin Hilman diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt index 061f7b98a07f..5f650248b18e 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.txt +++ b/Documentation/devicetree/bindings/arm/amlogic.txt @@ -111,32 +111,3 @@ Board compatible values (alphabetically, grouped by SoC): - "amlogic,u200" (Meson g12a s905d2) - "amediatech,x96-max" (Meson g12a s905x2) - "seirobotics,sei510" (Meson g12a s905x2) - -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; +};