From patchwork Fri May 25 10:31:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 136832 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3397130lji; Fri, 25 May 2018 03:33:08 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo3PwUA2fFgU7c+/BQ1ZrM9JLYHAi5d5F0owjq8+0x5f51oYE+NeslBTeiZuyc0/U+GHGyE X-Received: by 2002:a17:902:bc4a:: with SMTP id t10-v6mr2008446plz.133.1527244387863; Fri, 25 May 2018 03:33:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527244387; cv=none; d=google.com; s=arc-20160816; b=Vnmp8bRa65Hgl2FcabNKFW+eHKMdcoHng2eoNCu/T6wmw14nxwS3qNfdFPwCV8W1v3 UDPVTmTtuVXw9YEXgcWSmUCnZL2fHrFV1JcnOSZz57sYc0tinmzGxLms4yZGnDLokpFa NL9Qqgn1Xj6K1mrVNezz1DOmOmKDB8tlTZTFELw63JGKudArWLNHZR6YdhP90vQcrO9i F9CxzJK9f1IcOVJYZCpATJuGIWbmuVpPAQYzOxrWKZM9ynOkjWtLOvZkyrFhUjeNYNJ6 NcWIoj2+Zyd5uJJchtmA7tYXiccMuVY924nAKVWS3GNGV2N8QO3VmWD8jIgXiCusUrXo Uiyg== 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=ZTzit+RJqXhsgv9R1EzagSi8rZVUX4GmJLkh6MF+hNw=; b=Frrb2BbTkVxabMkgWdhXdGk6Nwwmr3QAsq/52BzvVL8qgwpZ4YspNFJGaIYNB45SKi infEG08Y7Nw6bijbamaWjchIN6cNj+xV3KlHxMlY645BOhDNsLHoXo26OnJ9UdprvZEw 7XCMzBJYb1aQTJHtfU5hZ9GCkR95i4dcLzcAYozXO5Q95LWJ32cSg3wQt2vJDH6nEfpq tV/YdspmWX/scOduASOs3ovgUQDgrP/FH3SLsYcYlG7ASmzV1NwpLqn/smDYZuWxs2Dv GV1pLclOZUqKdrk+0zE9gsF3wAWUUDDefw70E9KeoYyojjWOPZSZ27VcLCfqdGZEgdGX Ktdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VA4WqeZO; 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 j11-v6si739293pgn.129.2018.05.25.03.33.07; Fri, 25 May 2018 03:33:07 -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=VA4WqeZO; 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 S966425AbeEYKdD (ORCPT + 30 others); Fri, 25 May 2018 06:33:03 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:41155 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966373AbeEYKc5 (ORCPT ); Fri, 25 May 2018 06:32:57 -0400 Received: by mail-pf0-f194.google.com with SMTP id v63-v6so2391048pfk.8 for ; Fri, 25 May 2018 03:32:57 -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=ZTzit+RJqXhsgv9R1EzagSi8rZVUX4GmJLkh6MF+hNw=; b=VA4WqeZOJ145n9PRaurI6ri9SgSRVwbncYri2Ln/ey4l6ZZfc/bvpRRhBx/AabutXy UwxfnLFGhoUO+UR4n+QSTgsltrE+Evs6Y3oJ4KamtaupxKnD5b4zIQyK8ZJGRlsL6+ma QyGzCAA5/knPuut/49nIkmMDxnUQ5HmehOl0s= 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=ZTzit+RJqXhsgv9R1EzagSi8rZVUX4GmJLkh6MF+hNw=; b=MWQV4D6KmLBUUTY5iWRSGx7Fgr3EVSlFl0pVLgklSvGzwLzS4ji4sZ/s5PL/GAv7xT caVU9g6hH+MsTHEfNt6Yex1v67F4LzfBDNgxtkNjhQhDQGghMrotu84xQMdikiaSEhq8 rT+nS/NTQsB+ZqGPpMSgonro0GZpRKbitaeF2mcOqP4nzBjbvcOnL5uek+pO3lqsrnZE /FDE0pTqtohO3VeGB7yhhBxTmvu2bs44CmuPlmJFtepvKmzlysEnZeIwSufPBo2z3wNg eJKVD9Gv7SaZymPvebuyeIhC9xl1IosP075d0qRWTVUHjgF5A+G3Mro4A88zQHtYQUaA oyEQ== X-Gm-Message-State: ALKqPwc8Xm1mLVwFdR/eIpRwyzt8uaGJquNuYw3be1vppIym1OsITCdD iS7X0v78BPXyQPzE2PoL6eJBpA== X-Received: by 2002:a63:714e:: with SMTP id b14-v6mr529149pgn.73.1527244376572; Fri, 25 May 2018 03:32:56 -0700 (PDT) Received: from localhost ([122.172.112.176]) by smtp.gmail.com with ESMTPSA id c87-v6sm46430454pfd.78.2018.05.25.03.32.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 03:32:56 -0700 (PDT) From: Viresh Kumar To: arm@kernel.org, Simon Horman , Magnus Damm , Rob Herring , Mark Rutland Cc: Viresh Kumar , Vincent Guittot , ionela.voinescu@arm.com, Daniel Lezcano , chris.redpath@arm.com, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 13/15] arm: dts: r8a7743: Add missing OPP properties for CPUs Date: Fri, 25 May 2018 16:01:59 +0530 Message-Id: <5821a6dbe413b5a217ca1e24ddf8ebfa63ba6ef0.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/r8a7743.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.15.0.194.g9af6a3dea062 diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi index 142949d7066f..e4fb31c4f0ee 100644 --- a/arch/arm/boot/dts/r8a7743.dtsi +++ b/arch/arm/boot/dts/r8a7743.dtsi @@ -98,8 +98,17 @@ reg = <1>; clock-frequency = <1500000000>; clocks = <&cpg CPG_CORE R8A7743_CLK_Z>; + clock-latency = <300000>; /* 300 us */ power-domains = <&sysc R8A7743_PD_CA15_CPU1>; next-level-cache = <&L2_CA15>; + + /* kHz - uV - OPPs unknown yet */ + operating-points = <1500000 1000000>, + <1312500 1000000>, + <1125000 1000000>, + < 937500 1000000>, + < 750000 1000000>, + < 375000 1000000>; }; L2_CA15: cache-controller-0 {