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: 10427049 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6D5CE6053B for ; Fri, 25 May 2018 10:36:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B90D291B4 for ; Fri, 25 May 2018 10:36:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3FE91295E0; Fri, 25 May 2018 10:36:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7F4AA291B4 for ; Fri, 25 May 2018 10:36:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=qxEaKv7hcFmfjPma6v3YmDU8uIsGMZQafQjVUHMZOpY=; b=To6Xr5DZ7PPqukyjvAslL/lXOE fFyMWwebSvQXinntYXANfjxkZWviat4IrsPpn6N73e53cxtTI7srIlk67GeNRqx1P4ye+1uuMeEFN aTxl06NHoGLYpWKWYnX4L1vMCcxl1Fi9/3TfpqTmTJok9hg3vQVG7jd49+002iyuN/5MyhaKk+KdL IGdE+0YZWFzBIguQsinhSSc+C/ymvfrMR3f9056QV1iBZXZLe9JZlRsHVBpU/mnOb8Of/x4piu3Dv 9lkM3sTUOX6vuJvngVxUJvBGZESQYMYHHv5wW6Nvs6luVXg+eHL4GY21GfsIp8JYAPGfruYCKDkkH H9Jt4HPQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fMA4f-0005QO-Kp; Fri, 25 May 2018 10:35:53 +0000 Received: from mail-pl0-x243.google.com ([2607:f8b0:400e:c01::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fMA1x-0002h0-9X for linux-arm-kernel@lists.infradead.org; Fri, 25 May 2018 10:33:22 +0000 Received: by mail-pl0-x243.google.com with SMTP id i5-v6so2927339plt.2 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=q3IP7Bh818+DNxD+kOeWgToJxIe27xDh4dp4AA0s+TTDUXdgJ/jDfy71p5dA617S9c dF7qcT5kK0/ra6TO30tA4hnnsUhNIYAfhiGguAmjMy8I/+0Kq/fB9ovN4PbRKIl1kYR5 611beNalFjmh2X8c4ESmBXYbJ4yqc6IaEh+e3XySPe1bXObLPXnIkQRRUNGtA14+5vTJ zAyqPmNPgnY9TgLqZ2/0k20ncJ2S8t4j6m0q0DUi8Z/9WNxp2kAwrRq+Qnqq/MyheiIk l7iVjVIxL9b5JUMZuzYWuh8sC0WLR3RU+qXnV29pcGb0nIA/OQC66/ReP8kfN21uTeCn UOCA== X-Gm-Message-State: ALKqPwft+JGdE+f076ZrWmLWXv7M3l8e43NbREBNTZG/J6OInl7AM78n zI0/X8aSFRSsHBqRbw8Neb7MTQ== X-Google-Smtp-Source: AB8JxZrh4malOx0E30qefiFkrsxa3gzuVB3VkppsFFWrpfSzt2EJ+TL1n+vqb4Uq3jrjVkzQ3kjUtQ== 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 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180525_033305_363049_03842AFD X-CRM114-Status: GOOD ( 12.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Vincent Guittot , Viresh Kumar , Daniel Lezcano , linux-kernel@vger.kernel.org, chris.redpath@arm.com, ionela.voinescu@arm.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Rob Herring --- 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>; }; };