From patchwork Thu Mar 26 10:39:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 11459781 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1DE461668 for ; Thu, 26 Mar 2020 10:39:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F377B20714 for ; Thu, 26 Mar 2020 10:39:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jtuxyn2R" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727936AbgCZKjl (ORCPT ); Thu, 26 Mar 2020 06:39:41 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:47075 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727939AbgCZKjk (ORCPT ); Thu, 26 Mar 2020 06:39:40 -0400 Received: by mail-lf1-f67.google.com with SMTP id q5so4346081lfb.13 for ; Thu, 26 Mar 2020 03:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=C1nvTnoCdWzSt0oHKZjHPnc/m+ldEqWok6iLJxV16c8=; b=jtuxyn2RGigj4WE+BY0Jr4pcVfFLWirXBwB3qOghvRq9f9cI9+t38QsTJ5tHrDcOlK 5Y+f63gauIUOiX2V0tuO/ZHHqt9nNiGNx0ZvuDYmrH+RCMljyZZ9XSAbBW3dPzhTaihs 8tYMK0EYSrJcEBdqzXyRXRv/T78p7xmX3pXe3muGOxLAw9VNu0V6BUu65SoWRtISazio WrwbZmq7elu9SWDPOgkt5Nfk5l4bMHVBe/tOp9STCBLPwJfJz1kBZwnfvkOZhVGr8SWf SBNwq2Bm2gejiWybDekvNug8Skdhuoqa3viZ4mW0T0pjU8eZyfZZUb5NxK4ez2pGakDU 9GxQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=C1nvTnoCdWzSt0oHKZjHPnc/m+ldEqWok6iLJxV16c8=; b=ajYkTnLVEe3b3P+zukkxy21FUvkDa92e7Szzfq3UyVu/hdKYX6NweCjAGDOQgdA/MH TmbgUgidONN49Ar0UrpQ2xHo1IHkYHFVOXqpJl1UrZ0WeXsQ1W0nQE7UNkeW+7ueNMzU 5SSUcHY6D7VPdFCxSuxe5SlD1SwpjRnG+VOaiPYMj2rKr2l/5yyfMVhbWBXvhwN4+iph qnwknDe86UTKggMRz3sTpF9iQ0STE5iBw6HEqHYlOXV4qqaWQ8FmS1rmeESIkOS8gna8 +m+fCQlfzAiA6W3YztswmBk3PzAhtPsfhzonZ9xxu4b+t6NnTrI7xmaLHBc3ZOLOoglK Nf6A== X-Gm-Message-State: AGi0PuZLwqwn+UAmskqUZydqvwiPtv3XvGOVd7B3KNurfWE6qPXxSTdW vfJH/9N8a9nnzwJYSQXfjWyVqQ== X-Google-Smtp-Source: APiQypKPRE2ON6aRzwMK+AUU7LYcWJMEfSh1WYF2TLyJKwBLHVzPo6b48DjcDDQ+Pxb87nT7P4Rg0Q== X-Received: by 2002:ac2:5edc:: with SMTP id d28mr750380lfq.59.1585219178402; Thu, 26 Mar 2020 03:39:38 -0700 (PDT) Received: from localhost.localdomain (h-158-174-22-210.NA.cust.bahnhof.se. [158.174.22.210]) by smtp.gmail.com with ESMTPSA id h3sm1304008lfk.30.2020.03.26.03.39.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2020 03:39:37 -0700 (PDT) From: Ulf Hansson To: Andy Gross , Bjorn Andersson Cc: Rob Herring , Ulf Hansson , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: msm8916: Conform to the domain-idle-state binding Date: Thu, 26 Mar 2020 11:39:31 +0100 Message-Id: <20200326103932.5809-2-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200326103932.5809-1-ulf.hansson@linaro.org> References: <20200326103932.5809-1-ulf.hansson@linaro.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org As the domain-idle-state DT binding got converted to the json-schema, a few minor changes were introduced. For example, the states needs to be specified within a separate node, named domain-idle-states. Let's conform to the updated binding. This also silence the below errors for msm8916 from of 'make dtbs_check': idle-states: cluster-retention:compatible:0: 'arm,idle-state' was expected idle-states: cluster-gdhs:compatible:0: 'arm,idle-state' was expected Signed-off-by: Ulf Hansson --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index a88a15f2352b..e7ff8701eed3 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -165,6 +165,9 @@ min-residency-us = <2000>; local-timer-stop; }; + }; + + domain-idle-states { CLUSTER_RET: cluster-retention { compatible = "domain-idle-state"; From patchwork Thu Mar 26 10:39:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 11459783 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 68B8015AB for ; Thu, 26 Mar 2020 10:39:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4954F20714 for ; Thu, 26 Mar 2020 10:39:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gNM9owfX" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728014AbgCZKjn (ORCPT ); Thu, 26 Mar 2020 06:39:43 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:33819 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727939AbgCZKjm (ORCPT ); Thu, 26 Mar 2020 06:39:42 -0400 Received: by mail-lj1-f196.google.com with SMTP id p10so5615679ljn.1 for ; Thu, 26 Mar 2020 03:39:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ltvILhWw+Z8JxlENYP0mAF8OSEMClYvL/9bIL1S5Kpk=; b=gNM9owfXJa+dSlXbbxty1r7WYn0Vre4U4J5MDJuANbo/DqAdHjITFd0aXd250+kgZa BBoWO6/eWsDTVUFSP/CbYcRysEhMRxz+SAH34DXnYRURMBuwtmqslM1+6iePBLm+NnpI VMk/rKREhpC+5kGl6T6i0CFgULvqeuk3T8xWx6XudqaneIM7NqJ3QFRVtsom69i88Lrf c+x/xZgFY6N2mSJbbFKPevX3hfN9H6HOHOS/yKCBYszcI2M9HrfHyBlZo8vNeKDzWlIP WurHB5jS3OKWqbRob4xVgl0PI2SCVzFfF5V+fZGxrn7geaztCIDWxd+6rHQk+THCqPv/ 6hIA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=ltvILhWw+Z8JxlENYP0mAF8OSEMClYvL/9bIL1S5Kpk=; b=k325X4ft+pO5qxGENuzgmv0jqbtOSiUF12hKwmexfhWby3uo7e1DAiheYAgnPZcys9 ADIY4BdUG/A+9H801aljzW58A4kJRZ48WxFAVroPquBDBzZzRyJTrDVcZiYo6YmTju8C t8lk2RKaGKO+X3MVJB3SjlaSgUje143UN/FqZnbu1i4XjmLdq1AWooJG+zXHr6/K/Do6 NHOD3tljnU8LE8JYHcou3UsUKCqYssmXz+T1RQ9WwLz047lQOKdyeuua4ZIcDIOtx1Lc UYsshA8QD16ReS6sPgy47RLn2qlKZe0auGpk9l8q8J+wzBph1mmHFmZus7RgjBheomJa y5wg== X-Gm-Message-State: ANhLgQ3mHGtR/01pvqVmdu5SIHtAOARBNesbDdpYMrVMXKQmT/sbW8Os LSlphj+GkKs8kkgcOZhdeRoajw== X-Google-Smtp-Source: ADFU+vsLtdkgRectxhYOVDyCqiOqGpq4Xqt+Wl7DV1FV/CF1VdSJqutewgZkRdbbmLZjLm73f0qT9A== X-Received: by 2002:a2e:99c9:: with SMTP id l9mr5092848ljj.79.1585219179500; Thu, 26 Mar 2020 03:39:39 -0700 (PDT) Received: from localhost.localdomain (h-158-174-22-210.NA.cust.bahnhof.se. [158.174.22.210]) by smtp.gmail.com with ESMTPSA id h3sm1304008lfk.30.2020.03.26.03.39.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2020 03:39:38 -0700 (PDT) From: Ulf Hansson To: Andy Gross , Bjorn Andersson Cc: Rob Herring , Ulf Hansson , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: msm8916: Conform to the nodename pattern PSCI subnodes Date: Thu, 26 Mar 2020 11:39:32 +0100 Message-Id: <20200326103932.5809-3-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200326103932.5809-1-ulf.hansson@linaro.org> References: <20200326103932.5809-1-ulf.hansson@linaro.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Subnodes for PSCI should start with "power-domain-", so let's adopt to this. Signed-off-by: Ulf Hansson --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index e7ff8701eed3..2fdc6aa61b83 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -191,31 +191,31 @@ compatible = "arm,psci-1.0"; method = "smc"; - CPU_PD0: cpu-pd0 { + CPU_PD0: power-domain-cpu0 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; domain-idle-states = <&CPU_SLEEP_0>; }; - CPU_PD1: cpu-pd1 { + CPU_PD1: power-domain-cpu1 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; domain-idle-states = <&CPU_SLEEP_0>; }; - CPU_PD2: cpu-pd2 { + CPU_PD2: power-domain-cpu2 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; domain-idle-states = <&CPU_SLEEP_0>; }; - CPU_PD3: cpu-pd3 { + CPU_PD3: power-domain-cpu3 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; domain-idle-states = <&CPU_SLEEP_0>; }; - CLUSTER_PD: cluster-pd { + CLUSTER_PD: power-domain-cluster { #power-domain-cells = <0>; domain-idle-states = <&CLUSTER_RET>, <&CLUSTER_PWRDN>; };