From patchwork Tue Jun 1 22:48:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 451435 Delivered-To: patch@linaro.org Received: by 2002:a02:c735:0:0:0:0:0 with SMTP id h21csp29166jao; Tue, 1 Jun 2021 15:49:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgLEkMNHiHc0k6Onv6UjyN0UOR1hPsTpZekxVGgZaEIjsKqqbVc/uoVPcQtRz3USz59WfY X-Received: by 2002:a17:906:7d0:: with SMTP id m16mr4612343ejc.319.1622587757566; 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=iI0buQ+YnRMN+Expqobl9ZSgDlhnfiu4XA2P+LZmc/zpAKyKXZMH7KQk33OKDxuv3K RoHV/0g5IUcr6Sd4etB6Or/KCTCq/iEPFQoalZZtEr3fKAE42yOXKl8nMrA+L1uJ9iB0 nBViaCsO3I+imORrs4D7oannpVxmQwMeY5poSn3dINSovBf9iG0l5u5bmUu9rwzUU7Pg nUpjqdeXVgszSp1scd1nK5QX3L5pUU7dInj7lE8EILgmOY9QuEYckSWSZXgVSgd/h/5g Q8mVTCOV70AqdSLxRIfANiO2b7Wm1f0Nh05cub0+DJwGR8AC+SKQH4AV1ZqnLN/nROBd zohw== 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=D2ELwfIc+Vki4/Nv4SnPiZUUSmmvcc3bGf3FPenr/5w=; b=MZDeT8+XKUaHAbThOs1vRFZr1QzfL43oTcJwpVoLRJiTPk4jFJi0dq+mkbc+deVRA7 RKGCAT1fAvzu+sl60IGFRd5Z/p/SbGs1idjz9bJRxJTq9Vfy/vu1+m9zTRnV7301TcZz x3yXbYRFbB/9R+VOUNqAp1k0kdwFIReA1qK5H3dxC35hjDO9DaNAF6o6RFPQCEBoAzYG ETYVS+MSvdtMYXmHrt7miYxJCanho7ifoHZhqY9vaMmvqaHX29xWh9cpYslRWQ9EmLL0 LhB3s3wApwiNy/4Qygr0Zc8qhaHUjSGvfdU769mylsGstoaiUVdIQK9t+kYCbNweMAfP fGrg== 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 S235003AbhFAWuy (ORCPT + 7 others); Tue, 1 Jun 2021 18:50:54 -0400 Received: from foss.arm.com ([217.140.110.172]:59750 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234998AbhFAWuy (ORCPT ); Tue, 1 Jun 2021 18:50:54 -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 F00A61042; Tue, 1 Jun 2021 15:49:11 -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 D4BF93F719; Tue, 1 Jun 2021 15:49:10 -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 v2 1/8] dt-bindings: firmware: arm, scpi: Move arm, scp-shmem to json schema Date: Tue, 1 Jun 2021 23:48:57 +0100 Message-Id: <20210601224904.917990-2-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 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..7fc208692a7a 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,scp-shmem - renesas,smp-sram - rockchip,rk3066-smp-sram - samsung,exynos4210-sysram