From patchwork Fri May 25 10:31:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 136835 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3398285lji; Fri, 25 May 2018 03:34:24 -0700 (PDT) X-Google-Smtp-Source: AB8JxZovG+SHeTWFFnLQT+/xvCelSYAcoUDwKPZuGPBWsmBDzozpkThKztpA3YvvQl/zeywyn0wg X-Received: by 2002:a63:4202:: with SMTP id p2-v6mr1538975pga.137.1527244464774; Fri, 25 May 2018 03:34:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527244464; cv=none; d=google.com; s=arc-20160816; b=GIeuldVrxPdS9kqdR/j625R01avGSHPC/UY7NFOeEsg2UV9CGdYvGs4HwEVe8wmsPw bdekPfal5RgFEDF3H6OLMO976rcV5GflarBBpo59LxeexoGKFS5ufs2jUN3/Xz8e/CRV CU0r9l4bqb6JcVmYX169bHjHpTLZsrweKEib319c/kIc384OI6yTP2p6lqbYv5d7sgbf JcUTxD0qP9fS+2p2//pn5CcD8wPsgoHwdSwvpojA5TKMlrgTtcDjaoCAvs5HBoJkLE1w nEbQ1fEDvG+2hi4C4YyEojEPPLPf1JoOY5cy2Jvhtt7LWIqZF1bjGiZvQ+82Zx6uM+BA y0tQ== 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 f9-v6si9575702pgp.224.2018.05.25.03.34.24; Fri, 25 May 2018 03:34:24 -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 S966479AbeEYKeW (ORCPT + 30 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(+) -- 2.15.0.194.g9af6a3dea062 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>; }; };