From patchwork Fri May 25 10:31:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 136829 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3396742lji; Fri, 25 May 2018 03:32:46 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq83HkI62s3vAC2F/xnWmPChineanABYr2k5fqSdjr5xne4b47Pod5Bhm/AJp2TSQG9GG35 X-Received: by 2002:a62:49d7:: with SMTP id r84-v6mr1980948pfi.146.1527244366749; Fri, 25 May 2018 03:32:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527244366; cv=none; d=google.com; s=arc-20160816; b=jTZ7eJzqpzPAIjwSSM8NdL4w/w5CNtDzLq5/S/CZgKz4I5DlSKgNz+73sSYTOxYSVb fZ83yAoniQXPFrSPUFMGAB20TQ7EJ4sTj6yNCQwqknyoWKlpfitOsyevV3kwktyAk3CV JXDj5qzmwb/FHXwzYZlUXY6hTYCXOMz7vRIrF5EP8zpgshKwylsWgWlY7i0U+0di58JA du+I1CTmeSjt2VwqDHFwmQbO5msB+UNQWZvEa8Jf4zGu0cTAnH1IYY61L1y16IhutleU /tHk9qAyOVKLxi0nA2JF6D2cHmO0QP8ybFIP4yYAld+XfHCGCdbdAqz+9yrbFg3zQ0UP u5dw== 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=bbgN1H2frIEvA7Gs2HBnkH2p1oQm1y4Yv75vn4pTKUw=; b=BjosBtqfIcwvsmY0AtulV1yC4Uno/5PVUTHbLHqpOjFU7g4tUXnP6+59XFr1NCD/gf 4DEiHEMZaAygzVISvnANzPxU4utrVwuv1QlTBepvUcIdZ/ftZgqs/ew9oa9YZqup5+Bd MiCr19l5Os2MWO76UBikN5ekAiuhkS3vzMzdwmyLgt/kWVk991/bT7d1wddGT19KAvzK zhVnwEffUm1rw80DybpHya7Fd4GrsyYZQ4fPz69PzNRf2xlAbl8TdzAcq6GQZf63Bhv+ GrjQr2eJO9EGhgWYEvypDTbhjar6FXL8vzKXwoOQG7sC1tkp+s68UxjdDI77ioJrwKqb nlfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FXyhO/2a; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (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 a87-v6si23021839pfl.165.2018.05.25.03.32.46; Fri, 25 May 2018 03:32:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FXyhO/2a; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966081AbeEYKcp (ORCPT + 5 others); Fri, 25 May 2018 06:32:45 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:36869 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966258AbeEYKcm (ORCPT ); Fri, 25 May 2018 06:32:42 -0400 Received: by mail-pl0-f65.google.com with SMTP id w19-v6so2921213plq.4 for ; Fri, 25 May 2018 03:32:42 -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=x1wUHZDBCZ+YFLiFQTI7ToUIj0W2yT3QlH1LX957kTM=; b=FXyhO/2aGteDUwOEvvyM5cLW6jc5UcQy+SsnWe1BhPgSTgxlYCCAs3i8LtlRQiqz8H /Af1rzVfPWsLoLK9U+sjQt7rE3/cAKZrBInMQt6vSWqTARwYfN1B/e4wZXB+oYGfnQMc W1MujLY9N488BnnEqbxWwKw7u60ZOfbxKJJO0= 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=x1wUHZDBCZ+YFLiFQTI7ToUIj0W2yT3QlH1LX957kTM=; b=mEuEgMh4VqYLQqxfxohtJUnwEubzpPJn4Vj0qjByHGmdheOvq17Q2osLLaQuqGyYtR foZIVMnwacby4LCtrAm8BATIFqKfvGF2+8ohoS4zDLlRmxWydjrTKQrr1feHlmSHOUYi W7LdU25OMl6Xb+vSWGU+6+/74ecIY9ECjId8xndnt7SHM+Y8reZhOKIaZYUvR0EXOuSk 7eW4fNCv+JiycHNxwXLzYI/jXxip8UzHcMXAuD85EhfO2qxAVcJVk05EPNPOAjxvwqaO Y6oSSrcADYiA/nPwr3IozcPhaUFrIOgR+3yiJvUxDeM/2SZqmfhumcBk0Q2oxv+66Vld djmQ== X-Gm-Message-State: ALKqPwdLVdE4LT+nrqBLtq1+8S4vIjt1VEUKfrrFFswInsezgVtUTjxE s8VmtR57W9kKoHOjcMiJh/DD0A== X-Received: by 2002:a17:902:bb0b:: with SMTP id l11-v6mr2079691pls.190.1527244362426; Fri, 25 May 2018 03:32:42 -0700 (PDT) Received: from localhost ([122.172.112.176]) by smtp.gmail.com with ESMTPSA id x124-v6sm40910885pfx.72.2018.05.25.03.32.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 03:32:41 -0700 (PDT) From: Viresh Kumar To: arm@kernel.org, =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring , Mark Rutland Cc: Viresh Kumar , Vincent Guittot , ionela.voinescu@arm.com, Daniel Lezcano , chris.redpath@arm.com, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/15] arm: dts: dra74x: Add missing cooling device properties for CPUs Date: Fri, 25 May 2018 16:01:54 +0530 Message-Id: <4860aab6e550b91ecc5c37c80cbffa6a6a70a4c9.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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The cooling device properties, like "#cooling-cells" and "dynamic-power-coefficient", 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 register a cooling device. Add such missing properties. Fix other missing properties (clocks, supply, clock latency) as well to make it all work. Signed-off-by: Viresh Kumar --- arch/arm/boot/dts/dra74x.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.15.0.194.g9af6a3dea062 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/dra74x.dtsi b/arch/arm/boot/dts/dra74x.dtsi index 91e93ab588ca..8f9df09155d8 100644 --- a/arch/arm/boot/dts/dra74x.dtsi +++ b/arch/arm/boot/dts/dra74x.dtsi @@ -18,6 +18,16 @@ compatible = "arm,cortex-a15"; reg = <1>; operating-points-v2 = <&cpu0_opp_table>; + + clocks = <&dpll_mpu_ck>; + clock-names = "cpu"; + + clock-latency = <300000>; /* From omap-cpufreq driver */ + + /* cooling options */ + #cooling-cells = <2>; /* min followed by max */ + + vbb-supply = <&abb_mpu>; }; };