From patchwork Fri Aug 9 14:40:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 170930 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp10099236ile; Fri, 9 Aug 2019 07:40:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqyakECGdat9xuLKs2qs4TFjLbqtHF6A28n6FafSyJJm+3Ny3cfCGGMPMeqw6p5r1MfFwk+g X-Received: by 2002:a63:5402:: with SMTP id i2mr17829496pgb.414.1565361635516; Fri, 09 Aug 2019 07:40:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565361635; cv=none; d=google.com; s=arc-20160816; b=BQOzT14jDrapn7sxHMDPiZ7TFixxH8ZfbihEedDvp5Ab21Z/U+yWBdL7sYrX4j6yW/ l+8JDp25ObV4JxxTepDOIFUpikiK/Nw23WEBg6DU1cYBUwmxAS2/QgX/HACXSi8lMvRE m6LxZNiZ3RHL1g/U0AS0pplXk7XfmyPocgXhVF8uMx0Zk5re3Enxjt0T7cKH1pTWu5Tl 5tFxcQ/+R6PeKUwZRQ9QiJVVXHy7Sp8th+CA0KSJXuDo7iTt4ogBNx1XDcBtBoAnMcYf dN4TpeSAc45nKJzybFNz9STb7I/xCDfs56q3d6If+t4SlJYVnxwfyi6JHoZbVA7welnD 44Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=u0jqRhwWYkVKvV9bYSGjGTEbAdsDRi+hxrlWZiP3RyE=; b=dL4Mj8H3+mC7I6esTjagrcFmFnjAWBaS/F7+AiPRZToD1BeKSf/D3Rox8xbVs2P6zq 1h0+m9F6uBKurMVXcHffOhR5PXETaENMLCulTNfMn2EK7b0SpPCPDwMP1n2qTGxRXzhI E30Fcq2TzHaIdv4BnmGusQZ7JslLeNMo7mCbCUbZ2KTdwDHlnRvw8IYd7kW3NMn4ADkq VFOPJ7ZX83pNIjo9Bjvl+UPPYQ0l+PiPkR6EdPPfqSKVbn+axB4lE/ZWvbZbs2bkukZA el+FqViykivnQCHcWIOJ3f88bxFPX/RzEerfftn16OllZJ55rMoFlzT99mqA87RmSOOX j5yw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c189si68287966pfa.110.2019.08.09.07.40.35; Fri, 09 Aug 2019 07:40:35 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726157AbfHIOke (ORCPT + 8 others); Fri, 9 Aug 2019 10:40:34 -0400 Received: from foss.arm.com ([217.140.110.172]:48090 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbfHIOke (ORCPT ); Fri, 9 Aug 2019 10:40:34 -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 218CC15A2; Fri, 9 Aug 2019 07:40:34 -0700 (PDT) Received: from usa.arm.com (e107155-lin.cambridge.arm.com [10.1.196.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 700D33F706; Fri, 9 Aug 2019 07:40:33 -0700 (PDT) From: Sudeep Holla To: devicetree@vger.kernel.org, Rob Herring Cc: Sudeep Holla , linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: arm: Extend SCMI to support new reset protocol Date: Fri, 9 Aug 2019 15:40:27 +0100 Message-Id: <20190809144027.20912-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.17.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org SCMIv2.0 adds a new Reset Management Protocol to manage various reset states a given device or domain can enter. Extend the existing SCMI bindings to add reset protocol support by re-using the reset bindings for both reset providers and consumers. Cc: Philipp Zabel Cc: Rob Herring Signed-off-by: Sudeep Holla --- .../devicetree/bindings/arm/arm,scmi.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) Hi Rob, I am posting this separately to avoid reposting the driver patches that are already reviewed/asked. I need your ack to take the changes for v5.4 I might have messed up something that it got missed from your patchworks Full series @[1] Regards, Sudeep [1] https://lore.kernel.org/lkml/20190806170208.6787-4-sudeep.holla@arm.com/ -- 2.17.1 diff --git a/Documentation/devicetree/bindings/arm/arm,scmi.txt b/Documentation/devicetree/bindings/arm/arm,scmi.txt index 317a2fc3667a..083dbf96ee00 100644 --- a/Documentation/devicetree/bindings/arm/arm,scmi.txt +++ b/Documentation/devicetree/bindings/arm/arm,scmi.txt @@ -73,6 +73,16 @@ SCMI provides an API to access the various sensors on the SoC. as used by the firmware. Refer to platform details for your implementation for the IDs to use. +Reset signal bindings for the reset domains based on SCMI Message Protocol +------------------------------------------------------------ + +This binding for the SCMI reset domain providers uses the generic reset +signal binding[5]. + +Required properties: + - #reset-cells : Should be 1. Contains the reset domain ID value used + by SCMI commands. + SRAM and Shared Memory for SCMI ------------------------------- @@ -93,6 +103,7 @@ Each sub-node represents the reserved area for SCMI. [2] Documentation/devicetree/bindings/power/power_domain.txt [3] Documentation/devicetree/bindings/thermal/thermal.txt [4] Documentation/devicetree/bindings/sram/sram.txt +[5] Documentation/devicetree/bindings/reset/reset.txt Example: @@ -152,6 +163,11 @@ firmware { reg = <0x15>; #thermal-sensor-cells = <1>; }; + + scmi_reset: protocol@16 { + reg = <0x16>; + #reset-cells = <1>; + }; }; }; @@ -166,6 +182,7 @@ hdlcd@7ff60000 { reg = <0 0x7ff60000 0 0x1000>; clocks = <&scmi_clk 4>; power-domains = <&scmi_devpd 1>; + resets = <&scmi_reset 10>; }; thermal-zones {