From patchwork Wed May 26 18:28:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 448212 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5476251jac; Wed, 26 May 2021 11:28:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHF4CPqiGMPnB+7CqIpwK45fbbZxhcW+dKFmV/W3HNcNiGY7Jkz1QAgopX9JIWXDdkcfJ3 X-Received: by 2002:a5d:9804:: with SMTP id a4mr27340781iol.164.1622053696722; Wed, 26 May 2021 11:28:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622053696; cv=none; d=google.com; s=arc-20160816; b=C/cRGYFwdtGdVK4yfmMUpajwKXIw3iqZKW50wbVScKR+YeA6tRvE52ryjPOK/oxngf T81E2+YmtwkvWrjvcHh7RzrG5K4ycremfHVftLHrWZN3ulG0t90qzFuOqobKnb44WeNP isQTiavjik8Z227QqMeM4wtWXRfGdlPGHHzQeVZNNHPoXOLTStdcHPGL1BmmjQl2/kwy ks8K7YHIzrc2ea/g2DTyCfFLd5iIKG3SAKGiKOyGMm9sME23iVF1lsP1LSTns1ATsSr4 70+Dl/MyDYGMww5lDD3XOEwUuTmVI++t+GQTU92j+Nfrvh1Xcu+rBp/A0wc3swRcs/Rb MnWg== 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=8xGGRMWSUmIXRc3g7rCaGNqJOT2Gb6dpWAylSpBDmWg=; b=UPULwyzI566PIGjACAbIhHfbgOR1AfS2lU1YkzULzcfulaS1MAnWZVheZceYLTHQgT ac+aAT7NPozGm+CEj/f5HOkptCHBZb7AKOUkV+SHRILRhQ9OEzTIFMkgujKtAwu3vEOb ibJiJgiORNevyxTzywEnPjMDw27EOJyks29Il1q3j0hqO5K8oDNe/sG4raXUm+ptcDFp kvSnkTiFpI4gmBd+Zy/Csi8bfOBJPbOJ7rdsMq6+137A7IeA4PtH16e3ZZ/nFT5dWjYo 50MUgwd/rKzCcavbppVHaP+Bbn6DcdbwqtMbLWq2+uI4dAELD7tmp4xTulTsumfvKEWo T0vw== 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 n12si99222jat.1.2021.05.26.11.28.16; Wed, 26 May 2021 11:28:16 -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 S235493AbhEZS3r (ORCPT + 7 others); Wed, 26 May 2021 14:29:47 -0400 Received: from foss.arm.com ([217.140.110.172]:48480 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232262AbhEZS3r (ORCPT ); Wed, 26 May 2021 14:29:47 -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 8E3F0143B; Wed, 26 May 2021 11:28:15 -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 6FEFA3F73B; Wed, 26 May 2021 11:28:14 -0700 (PDT) From: Sudeep Holla To: devicetree@vger.kernel.org Cc: Sudeep Holla , linux-arm-kernel@lists.infradead.org, Rob Herring , Cristian Marussi , Kevin Hilman , Neil Armstrong , Jerome Brunet Subject: [PATCH 1/8] dt-bindings: firmware: arm, scpi: Move arm, scpi-shmem to json schema Date: Wed, 26 May 2021 19:28:00 +0100 Message-Id: <20210526182807.548118-2-sudeep.holla@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210526182807.548118-1-sudeep.holla@arm.com> References: <20210526182807.548118-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 SCPI 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: Kevin Hilman Cc: Neil Armstrong Cc: Jerome Brunet Signed-off-by: Sudeep Holla --- .../devicetree/bindings/arm/arm,scpi.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,scpi.txt b/Documentation/devicetree/bindings/arm/arm,scpi.txt index bcd6c3ec471e..bcb8b3d61e68 100644 --- a/Documentation/devicetree/bindings/arm/arm,scpi.txt +++ b/Documentation/devicetree/bindings/arm/arm,scpi.txt @@ -56,21 +56,6 @@ Sub-nodes node. It can be non linear and hence provide the mapping of identifiers into the clock-output-names array. -SRAM and Shared Memory for SCPI -------------------------------- - -A small area of SRAM is reserved for SCPI communication between application -processors and SCP. - -The properties should follow the generic mmio-sram description found in [3] - -Each sub-node represents the reserved area for SCPI. - -Required sub-node properties: -- reg : The base offset and size of the reserved area with the SRAM -- compatible : should be "arm,scp-shmem" for Non-secure SRAM based - shared memory - Sensor bindings for the sensors based on SCPI Message Protocol -------------------------------------------------------------- SCPI provides an API to access the various sensors on the SoC. diff --git a/Documentation/devicetree/bindings/sram/sram.yaml b/Documentation/devicetree/bindings/sram/sram.yaml index c1a5afa73cfe..e9946ed15964 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,scpi-shmem - renesas,smp-sram - rockchip,rk3066-smp-sram - samsung,exynos4210-sysram