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: 184845 Delivered-To: patches@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp1687834ile; Thu, 26 Mar 2020 03:39:39 -0700 (PDT) X-Received: by 2002:a19:c304:: with SMTP id t4mr5413143lff.177.1585219178835; Thu, 26 Mar 2020 03:39:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585219178; cv=none; d=google.com; s=arc-20160816; b=qjMoohhLJrwx9QK20ZTfpS8f0k0VKWMGSQ6JtzhWftHtBYU+lnFCYgQQzt3zkXhIKQ FdPqbLqdag7q2Lc3shuEIXukWYRpycNq7oObsk+/igzz8WB/BYuNcPA/TKvv8d8CaQZf nr0gUrU20IM5Jxya/9vTVhba00XkkaE8LiOaau3znBOFzkqP3o071aIsloYa1Pl9g5fK Pn1IeSixPYLH/0bVt/IEu7KNYCHgN1t2vLIENqdJelheW57peIbFk8A6iLOB9BUayuxr Y0/yv/dIphqFhBShsT5jgL9d3Q9s6kB5o9Z5pGy724JvTfAhjY3wsdM9hzkZAiwu9q1B ZIRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=C1nvTnoCdWzSt0oHKZjHPnc/m+ldEqWok6iLJxV16c8=; b=OX0Qll8+xOg12akXe9evY+kMVnCzRtU6zcfHU96fgOXN/OZW6HwOtcCJAJrk8Bye+4 4ALRODBcsVmbwMCdsg+KvknBWhFBmYpHkOuVNGiA/93rv7zwyVFEZw9iWw6thZ9OJo3J rKXNctNUn0tKCs8d3UrGTfVWqZCJwmRt1ROWvEYdBy0dP7jYKO5LcNd+zd5P3fdvtsHu qrXZwSQo6EvufVi96lJkpKD0W0lnFjri5wGLgYnUoGntf3IQfxv/XI9ck5v8NjKLX1fi bD5pczVTNwuRKvoFhwQ3+GKHYK8My0Xqt5x6ZK0cWGIreq1aZ/Vat/RTNFCcaehRFIS3 AI0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jtuxyn2R; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id m15sor713014lfl.39.2020.03.26.03.39.38 for (Google Transport Security); Thu, 26 Mar 2020 03:39:38 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jtuxyn2R; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=YJ0iNael4UCq4wUzFzXXsmjg6S8Gpub+cGYxJRK7h/DinYSfVsgQmShLHBg3KfFIMc WUDT4eX2LS77Js06NGKcFBTmdYMPgfcxGCfdDSgAGbgbz+C3m3qh2ywcK6FULWey5z2Z wKdJG/scvKISyAhugsafhrzG7lc0vRb+h8HEdyXzoJezL5vgre8RjbjbZ4cmFGFwbn08 WLZx4XpfP83KdGlKEFm4YrkDejKDPL3J22ow88FkPGoYKneZrbjlX8AV630g5I05Of11 E7EubO1OQogDXdNshG+u5EH9B1Z876OURxP8Lrl60KXqQp8t3NcX8O2WWfHZ0JO5Ypgf 3oVw== X-Gm-Message-State: AGi0PubBW8BDeVnyxy2O8jmCCeW1WDzCjvI1hDqv3WfBDsCRwnNHCwFJ RVv/pvIYbSqyZKEqHe9qeXjmCZuB 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) Return-Path: 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 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(+) -- 2.20.1 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: 184846 Delivered-To: patches@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp1687846ile; Thu, 26 Mar 2020 03:39:40 -0700 (PDT) X-Received: by 2002:a2e:8e2a:: with SMTP id r10mr4758365ljk.276.1585219179914; Thu, 26 Mar 2020 03:39:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585219179; cv=none; d=google.com; s=arc-20160816; b=nqkHMgycIRdnP5Kfp0rM26H47HTKsfAwWtqmcZckvz93stB/DmR4MAXZYWp4s0tyIf X9QZpC9gdlknKxvrMJp/QeJl+KDiaJuj63AlrNv2MGsn/1f5hbJ58+PU3M8dVUmPw978 N7LW1IoA6dkrUfC3CsZxzDE4d6IlYPSHeY/kpJMwOXmY3QgE0RD078OHI/nahetXjUHy RPYBpc6nfhmzsOnzfXF1QlFCZHFa5Kd7Uw4NDgK7+lZGKWuZjrCCyoaK7M2hgIZtWFSb 5Rrlrox+om5klXoLQ/DaqtpehPT/t9CnX5bgcDBLSPKEqBHpBI9gQ8RTsFds4ZHon1N2 0J1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ltvILhWw+Z8JxlENYP0mAF8OSEMClYvL/9bIL1S5Kpk=; b=MwVFT0QvO0cE4XsXLgmvSJ/REZIUAkd2EqLRTVE8L+jMd2OQd7ZKJowplxxvhwbPJO d0lW8pOwbQNvAVwhu3ZXiwAN0V528sOOsVC1HMpApQLcMOGVcJaOlYa2vAuj9oyZYvUl oaAysZNVzA93U0ajtzuFP6ecJqtbmdSnIIZHv4/qncrBswT30tGNjj6bhurOBCRCcg0K B0YrHN6wurbD/PxV33OEhuhu/3Uou/Vbqg3yeuO8C32mP1HckBdyEKD8BCAKllPxsAPo JvVvzB1EsXlxFjdjWeFZkWlldwQ+PyEUOgEgzv890Z0kq+mcugeUK64Gk/cQq6CA5f6n 3ytw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gNM9owfX; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id k11sor1245377ljg.23.2020.03.26.03.39.39 for (Google Transport Security); Thu, 26 Mar 2020 03:39:39 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gNM9owfX; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=baHO9OJamTJmUKcdKZm34trLVFyMHebLIWY+LFRGfmD+Xf/BB1J/bN7fShnwvQYrIm Ytech3CapY15X+FFMG/Ubq9Di75eGJLUHXABBx3EbCZiLeIzWVcSZj0z9tpyTvFXfna0 JWpEIhQy/iWalL9xem5pxLFV16SKy1x5SbMnrMrnHJ0VscQk2T8wgjfjRLRfaE6YLOso nXXtLdquSHu2bU/In9c3iWabXgA/bLR7qxdQLY8CQKlshBzkc/18CDt5OzbrWbqX9eaI bg+jT+A1tAEvHHu0wYNDmTqhPJnZ/3MDWZ6OTM6+cyL3RiGCuQRF4Qfn/dGaAPmnxdGw /IqA== X-Gm-Message-State: ANhLgQ3k75At+eWFDVha6wF+rlU1zpiHUvpG+TPrkqeIcXiwbP5Od/MW J2rMT8sqyTeBabjgDIK0n95oiX6W 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) Return-Path: 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 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(-) -- 2.20.1 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>; };