From patchwork Tue Jun 1 22:48:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 451436 Delivered-To: patch@linaro.org Received: by 2002:a02:c735:0:0:0:0:0 with SMTP id h21csp29170jao; Tue, 1 Jun 2021 15:49:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5F36yf5g6Xj8DCMqS1U4/1gx3WgpBsrj9kfdrOUndqs94z68P8iHblYHKWv1PuVowpCzD X-Received: by 2002:a17:906:f298:: with SMTP id gu24mr12984347ejb.452.1622587757920; Tue, 01 Jun 2021 15:49:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622587757; cv=none; d=google.com; s=arc-20160816; b=HRbRE2AFWVQ4pxcvoCwLZtLuziPrnhyzI4ZP2Zu8MeeujBxYVJRGwHS31qrPQ8I9jC i4f9WeGAOXdRYViXUtmW36LhYd3HUrkpYQd6RtroOP20G7AUagFE8lqI4SEEUYhh2gV/ 17bQltRzptgnKFnr/zMXRpcDnackQMSvK7xBJl3CPtEzqPG149XPQw9EcecCczW+CyRD SeId9oemR1fbuVXICrfEVZsgjmVDeL8pQ0aoLhJXKDoQ02aMirZ88sNN//lqft69NsJO br7oSzKAJ3PeM67UKNFGLUnRr+3ecXZXK8b1chETAap6v/QG93iAcl7crGyBiw+UutaL 7PYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=FqCa2D4IQM47QviYWvKh2W9EGdSU1PcefVVusi8ShPk=; b=PHZTGPaEAX8SGWdAQwCTCks9Q3vuqC4CwoHMaR0uXWVLTWXKga1YDthPT135O+A87Y WYmS9p4RYh/KumFpU63eVODsJ+nGFUaxZNHKZ17SDzmESN+Bu4eYKiYjLsaTvXcxkrOr GJAYQkHgd1jC/u4Qv7J56mJOXAV9X6dVitGMdECdas+rT0AyQ2XdZYXdxZUtptiPqH5N +ZehJ94j8HdKl47WynCjNmuWkxKPMOVHCSAXxWXb6E5LdQyJ9NtFXGeLnD1Dmch8uQ7t XDusalxJ07QWYX28P54WL06ZYakrz2dFB7CvOW4q9YIpGp2SXgtsf+dr3TciCDFMkzxW X/Jw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w20si9934713ejb.430.2021.06.01.15.49.17; Tue, 01 Jun 2021 15:49:17 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234998AbhFAWuz (ORCPT + 7 others); Tue, 1 Jun 2021 18:50:55 -0400 Received: from foss.arm.com ([217.140.110.172]:59758 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235007AbhFAWuz (ORCPT ); Tue, 1 Jun 2021 18:50:55 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 14AD611B3; Tue, 1 Jun 2021 15:49:13 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2EC3E3F719; Tue, 1 Jun 2021 15:49:12 -0700 (PDT) From: Sudeep Holla To: devicetree@vger.kernel.org Cc: Sudeep Holla , linux-arm-kernel@lists.infradead.org, Rob Herring , Cristian Marussi , Florian Fainelli Subject: [PATCH v2 2/8] dt-bindings: firmware: arm, scmi: Move arm, scmi-shmem to json schema Date: Tue, 1 Jun 2021 23:48:58 +0100 Message-Id: <20210601224904.917990-3-sudeep.holla@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210601224904.917990-1-sudeep.holla@arm.com> References: <20210601224904.917990-1-sudeep.holla@arm.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Move the SRAM and shared memory binding for SCMI into the existing Generic on-chip SRAM. We just need to update the compatible list and there-by remove the whole old text format binding for the same. Cc: Rob Herring Cc: Cristian Marussi Cc: Florian Fainelli Signed-off-by: Sudeep Holla --- .../devicetree/bindings/arm/arm,scmi.txt | 15 --------------- Documentation/devicetree/bindings/sram/sram.yaml | 1 + 2 files changed, 1 insertion(+), 15 deletions(-) -- 2.25.1 diff --git a/Documentation/devicetree/bindings/arm/arm,scmi.txt b/Documentation/devicetree/bindings/arm/arm,scmi.txt index 667d58e0a659..b7be2000afcb 100644 --- a/Documentation/devicetree/bindings/arm/arm,scmi.txt +++ b/Documentation/devicetree/bindings/arm/arm,scmi.txt @@ -106,21 +106,6 @@ signal binding[5]. - #reset-cells : Should be 1. Contains the reset domain ID value used by SCMI commands. -SRAM and Shared Memory for SCMI -------------------------------- - -A small area of SRAM is reserved for SCMI communication between application -processors and SCP. - -The properties should follow the generic mmio-sram description found in [4] - -Each sub-node represents the reserved area for SCMI. - -Required sub-node properties: -- reg : The base offset and size of the reserved area with the SRAM -- compatible : should be "arm,scmi-shmem" for Non-secure SRAM based - shared memory - [0] http://infocenter.arm.com/help/topic/com.arm.doc.den0056a/index.html [1] Documentation/devicetree/bindings/clock/clock-bindings.txt [2] Documentation/devicetree/bindings/power/power-domain.yaml diff --git a/Documentation/devicetree/bindings/sram/sram.yaml b/Documentation/devicetree/bindings/sram/sram.yaml index 7fc208692a7a..543aa400fbdf 100644 --- a/Documentation/devicetree/bindings/sram/sram.yaml +++ b/Documentation/devicetree/bindings/sram/sram.yaml @@ -80,6 +80,7 @@ description: |+ - amlogic,meson8b-smp-sram - amlogic,meson-gxbb-scp-shmem - amlogic,meson-axg-scp-shmem + - arm,scmi-shmem - arm,scp-shmem - renesas,smp-sram - rockchip,rk3066-smp-sram