Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3310394imm; Fri, 25 May 2018 03:34:30 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrCNyePJMcNwdb2LrBT42YjmC8pYHjIToPgNKnLYVZXN27pQsORJSsfq0kInVaBQnLfk7md X-Received: by 2002:a62:b204:: with SMTP id x4-v6mr1977820pfe.21.1527244470311; Fri, 25 May 2018 03:34:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527244470; cv=none; d=google.com; s=arc-20160816; b=VjajjdSKoE9frTHjuMUYhAAfS2wztjVFgZJFD08v7nXz3QJuZEaiBOqHPeRb2LqWpa +y3miSih8fW0+rUktUHKeLrTKFYfSH0pN25cSg1Hts2yfR2q+pMHRDHDKM/e3M644UYs EikggQmle/E6ngPvjw5UIsDDRPmVQb2OBPPebwMVrrYh31O6mfP9WKTUKzBRafSJ4Gkm qGuMeWqqC+/sdo146breMW458KxTxsHbdi40sLALybwg9p+F/bciHb64lD3O2gqYefe0 tv8qH/OIsq9+gBaeTupekHoz4LOmjOruJYoUufIg3n8oWEuNJTlBgRcgGyi8CfiMUQL/ lsAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=rJp+yropy1eF0sfvz+/k1cGqjJEowTI9nCSxserKL5E=; b=bQ1rf+ykpsJjZaV85WkzkF02jlYGR721Q08FKskYS+vzQ+ktTxdlY92vjFSGSvh5n8 YeFQV6yVf7U+1TuO3ydUGihmYTCOLK9w+C+lZTKnnuacEf5LA2Pk0YyKTsCDl9KjYrc0 es//+HZRD4yQ7g00QFa4yDsqpH7VDZFRxeMB9n4Ph+k7so3hj1NKR0WrqXaPMCPlbd/u icMLJWbBrcWaSpEetXywZSTdD2ghF/tWMwfcIYxK/arLhUwpatYV0tWQeK3mXPnIEnVi VQeAL1fKKaWbG3snuYvIUxE8slSU2jGT/ZnX2yFX8MuhF25SSyvIqy1TBx06a8DpeZQA 2Fjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cjlO6qBS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1-v6si18825052pge.248.2018.05.25.03.34.14; Fri, 25 May 2018 03:34:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cjlO6qBS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966402AbeEYKdc (ORCPT + 99 others); Fri, 25 May 2018 06:33:32 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:40840 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966396AbeEYKc7 (ORCPT ); Fri, 25 May 2018 06:32:59 -0400 Received: by mail-pf0-f195.google.com with SMTP id f189-v6so2394487pfa.7 for ; Fri, 25 May 2018 03:32:59 -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 :in-reply-to:references; bh=rJp+yropy1eF0sfvz+/k1cGqjJEowTI9nCSxserKL5E=; b=cjlO6qBS1nzFM4MoJi/5mnnmnIShhHFqH/hlf5uudR1VFlKrlwGGAsDQ5Ua6SzsIFw V67kftt8wPgm8dwM9SIIERZL0hUh0n8VT4fXSI3bkvrJVVZ2mMf4NBhFJcICVBmuvWus J0kguova4eZD65IaUKqAJWqB6R4Q4NOIRznfU= 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:in-reply-to:references; bh=rJp+yropy1eF0sfvz+/k1cGqjJEowTI9nCSxserKL5E=; b=rmYl6R6GiCMCshWxSb38vrDlVi/oLYW/FpQh8KQWSbGG/y8Jt3wX8xbKm6JNsGVI6U aKhpt64i8F2i0AmG5qJJyEvSwrh/Gu1v77tN4+lQN3EFRuEqIXx0DVEX7wtQ6Tyop3t1 g3Yy0hi2z8WOKCEDaaBr5V+yoaln4JhB11tq0ATmqL81OjXBkxAbBhqOmzZq0BfNVZ4e uaiMTNrhJD4WwJti7PapJf2hQu78m3Vsy5HS9MwrHh0SYb+zKqG7+Tu8eb4+g6w/XcIK dExaA+7o1zWAv24j07uMDTcjXpnCzQZHQZtciJrGlirAijSQAdczPqKyDzYFfd3q0a3N dkSg== X-Gm-Message-State: ALKqPwfu6kBcf7ZskB0/9b/677jKyA4YeDakuXXdNUKQnxQ2QRwx9tIe HrRrSURtZrOlyR/5onII31wWzg== X-Received: by 2002:a62:ea1a:: with SMTP id t26-v6mr1968511pfh.117.1527244379428; Fri, 25 May 2018 03:32:59 -0700 (PDT) Received: from localhost ([122.172.112.176]) by smtp.gmail.com with ESMTPSA id e87-v6sm56969870pfl.65.2018.05.25.03.32.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 03:32:58 -0700 (PDT) From: Viresh Kumar To: arm@kernel.org, Andy Gross , David Brown , Rob Herring , Mark Rutland Cc: Viresh Kumar , Vincent Guittot , ionela.voinescu@arm.com, Daniel Lezcano , chris.redpath@arm.com, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 14/15] arm: dts: qcom: Add missing OPP properties for CPUs Date: Fri, 25 May 2018 16:02:00 +0530 Message-Id: <9f9cc23d1fd17503c9056d62f7757fb9c412d1f9.1527244201.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The OPP properties, like "operating-points", should either be present for all the CPUs of a cluster or none. If these are present only for a subset of CPUs of a cluster then things will start falling apart as soon as the CPUs are brought online in a different order. For example, this will happen because the operating system looks for such properties in the CPU node it is trying to bring up, so that it can create an OPP table. Add such missing properties. Fix other missing property (clock latency) as well to make it all work. Signed-off-by: Viresh Kumar --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index b25daf368012..8c202b359270 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -75,6 +75,14 @@ reg = <0x1>; clocks = <&gcc GCC_APPS_CLK_SRC>; clock-frequency = <0>; + operating-points = < + /* kHz uV (fixed) */ + 48000 1100000 + 200000 1100000 + 500000 1100000 + 666000 1100000 + >; + clock-latency = <256000>; }; cpu@2 { @@ -86,6 +94,14 @@ reg = <0x2>; clocks = <&gcc GCC_APPS_CLK_SRC>; clock-frequency = <0>; + operating-points = < + /* kHz uV (fixed) */ + 48000 1100000 + 200000 1100000 + 500000 1100000 + 666000 1100000 + >; + clock-latency = <256000>; }; cpu@3 { @@ -97,6 +113,14 @@ reg = <0x3>; clocks = <&gcc GCC_APPS_CLK_SRC>; clock-frequency = <0>; + operating-points = < + /* kHz uV (fixed) */ + 48000 1100000 + 200000 1100000 + 500000 1100000 + 666000 1100000 + >; + clock-latency = <256000>; }; }; -- 2.15.0.194.g9af6a3dea062