Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3311953imm; Fri, 25 May 2018 03:36:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoeKMoHidZ/QuFfOANSIrgYodvIPJY77FmRhBAQREv7ii8tNXAXT/85NnKpLafx9YH7xTcH X-Received: by 2002:a63:6d05:: with SMTP id i5-v6mr1539149pgc.321.1527244581858; Fri, 25 May 2018 03:36:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527244581; cv=none; d=google.com; s=arc-20160816; b=oP95K3TVRv9Ee+1HjNjCDDO/+giF6JUmLMOT59gCYfqB+J4oHsfP2oyRPPvWovsIi6 9vm/z9ApVPNN4z1hBaV5KLcf+gubsF0kCwuo1JTns799CMiLJBYT3azAKBkwrlMaTIOZ m3aEgDnORgpTfdsLq3LHLK3cHfrzpjLiEJoUqpkzN4S87Hwa7V0Yk6ZFFkxk6H2uzovn hdvJpQLyvj0lYy/ZTwPWGnYHY5pVIFu70JqjfIjNxnqK81sFCNPXEmXblnUYWVBfCHEI jb6edQon0GGoit/xO+z7fApzsKXT1eWGjIAlkPXZlFpsMb+UO6DWem2Xvc+WrJx8MhUj Xuzg== 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=uP4pMZmamkJtAAzxp+d9DWsQGUwFr/33Qn2cNR6x8Fo=; b=EhodXLe4umgjJgS8xEPq7LmjBr+wvM7mlIBA4TYzZ4vFZOe8Hz1S8cPWSIIz2tb/NF UC6PVrBSYSyxA7ZVMS3Wu3m6plO8lc7FcXVvkI5JAQkfuZ8BYX6FqzvQpTF54uK7Y5+l /bLllQCSkFbJRyVHjRReeWpVEeX5SyH2TGOkyCbLD6rHg6iiSpHlyDmoxhJ7FzrBrg6p 9umZnZFvpWLowJzFDDfDMmeC0rKykf6vYCylB8TWX11vC4RwnkJwkArg91lqQpQfBWaj a41IVzzMlZjmFylbg03imbyQ/1ukK8767gJzSI7SkhLjOhf2ie5D+lfC+WMCgHrMatej YUYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IwIm0Pg6; 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 73-v6si13597277pgc.535.2018.05.25.03.36.07; Fri, 25 May 2018 03:36:21 -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=IwIm0Pg6; 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 S966403AbeEYKeW (ORCPT + 99 others); Fri, 25 May 2018 06:34:22 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:42845 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966302AbeEYKcy (ORCPT ); Fri, 25 May 2018 06:32:54 -0400 Received: by mail-pl0-f66.google.com with SMTP id u6-v6so2920463pls.9 for ; Fri, 25 May 2018 03:32:54 -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=uP4pMZmamkJtAAzxp+d9DWsQGUwFr/33Qn2cNR6x8Fo=; b=IwIm0Pg6XXqiqViz2uxIpR3VXA6dHElM6tcBrZ6vq4t9HwlpfO1HQdOXKVfx72TFMr YmaQhVeVDQwK7MLyY3pvxx4s5v8Ezb+fBAslnb7vO1c264LuoydGyTqp53iJ7Ibx57ZN 5tZHCHOWqUUl1NDdA0/p7AnvoSS31D7XVHq7w= 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=uP4pMZmamkJtAAzxp+d9DWsQGUwFr/33Qn2cNR6x8Fo=; b=e8c20pBKUG7WI52y/TcCrjjlj0YisBlkkDlnbdjCdngnsFLsGQ47ZEu7iQHSTp5zOM Qu1n0IRWcfmtJayInPaajjh1f9ml43mP8pR1sjclw/fh4bqtJ1VlEDcSBNDu5Q4w4keO xUNd/FKwTKc/7qI/OfgduoMWPrIUKclaz9LYR9oFUGb/CDJu0ZiI8tv9QzHcOjkxFCSj RgcD1eAchbYR3lf55hBChBbKmVb/PuX3Bks2kW1aOO41kQr7HPRWZBVuwXrFVMrXL2tf T0grTFQwq6iwdUI3vvh8p6QL70nY0V5Y0YsC/YmRnDmWwJdKMiExKjwbLDalcMUAF6RS CqqQ== X-Gm-Message-State: ALKqPwcjlsw1op7Ysx6P0e1Xa2SdICMkaXvuNFxhyJKF4oRKpJ9jPcrN H/TdYjRFsBdok/cy/SY/lMW/xhknak0= X-Received: by 2002:a17:902:8a87:: with SMTP id p7-v6mr1999274plo.278.1527244373792; Fri, 25 May 2018 03:32:53 -0700 (PDT) Received: from localhost ([122.172.112.176]) by smtp.gmail.com with ESMTPSA id 76-v6sm55103277pfm.178.2018.05.25.03.32.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 03:32:53 -0700 (PDT) From: Viresh Kumar To: arm@kernel.org, Rob Herring , Mark Rutland Cc: Viresh Kumar , Vincent Guittot , ionela.voinescu@arm.com, Daniel Lezcano , chris.redpath@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 12/15] arm: dts: highbank: Add missing OPP properties for CPUs Date: Fri, 25 May 2018 16:01:58 +0530 Message-Id: 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/highbank.dts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/highbank.dts b/arch/arm/boot/dts/highbank.dts index ed14aeac0566..50278715de76 100644 --- a/arch/arm/boot/dts/highbank.dts +++ b/arch/arm/boot/dts/highbank.dts @@ -56,6 +56,16 @@ next-level-cache = <&L2>; clocks = <&a9pll>; clock-names = "cpu"; + operating-points = < + /* kHz ignored */ + 1300000 1000000 + 1200000 1000000 + 1100000 1000000 + 800000 1000000 + 400000 1000000 + 200000 1000000 + >; + clock-latency = <100000>; }; cpu@902 { @@ -65,6 +75,16 @@ next-level-cache = <&L2>; clocks = <&a9pll>; clock-names = "cpu"; + operating-points = < + /* kHz ignored */ + 1300000 1000000 + 1200000 1000000 + 1100000 1000000 + 800000 1000000 + 400000 1000000 + 200000 1000000 + >; + clock-latency = <100000>; }; cpu@903 { @@ -74,6 +94,16 @@ next-level-cache = <&L2>; clocks = <&a9pll>; clock-names = "cpu"; + operating-points = < + /* kHz ignored */ + 1300000 1000000 + 1200000 1000000 + 1100000 1000000 + 800000 1000000 + 400000 1000000 + 200000 1000000 + >; + clock-latency = <100000>; }; }; -- 2.15.0.194.g9af6a3dea062