Received: by 10.223.176.5 with SMTP id f5csp164980wra; Tue, 6 Feb 2018 19:35:03 -0800 (PST) X-Google-Smtp-Source: AH8x225nXPGBV96+zZcmMz3bqX8s+DG/Jy3y7K9xiYvRivP1gN126eoTBwCaAFP8gBwJSOTeF6Uu X-Received: by 10.98.102.212 with SMTP id s81mr4472114pfj.209.1517974503772; Tue, 06 Feb 2018 19:35:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517974503; cv=none; d=google.com; s=arc-20160816; b=pY8DFGRqzbekQqxDHtf09oCwXMNo0gbZdob4FbwTlzVcdFZziwnZXT4X66qvpTJotk T/O5ihtrvbEEtn0GPbdQLxl0wckjffy1eFvq5GGNKYyB2o4v1zetdHg1eT8Wgy/Rpvl+ MvpVUCUTZTm+0CwjHPoKQr4gzP8hmf/vccnofNirPhZcaRSMn2L7Xfd/tYChH4Sag9QR vJDa4fFOkq63+JRfxGLeahfNBqvSzZsgy5SBqd/bsvsWGe8Jd79+3HburDN8hYpyPFNA HPIIYYimogFIZTfgENNuLEXqoKGlLSZnvXz5nXtDUqJWujftLMxRiZbx7cHNaqrdoFLR k2tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=eN7dE6tt4zHXPOiQFFrl1dUkS7mld+/3Yd4N6ZjtIwM=; b=BTI9OrHnyYX66j/Dphs7m5H/WPfc8QtNZvG+eIcUr5UThGnR2HfraFk09SExTT38Tr QVzYZF4BK+v+g5r+tYTjTby1eHI8W8LFFfKQqMHNIghpxG9eXtR/eSZWbbGatUI6N9UF QeTA7F8dJ6pEP2TssjtqSaSMQeHkBaIymGeGgMUxb2NGKbWIdjQ/Dd3761T38Vxaz/9Q Sq4kSTOmVDCeybl7uouBW31gOAU7iizydS8Yitf3ydXoxUMcUn/SW5SCrIsEqPQ7BoFw G0TFcxBYiOQPNcUO0pvhR4I/+LbeMZV6bXNVLswznz1EMpY/Qd2pdmXcCB8h4kLtI4BW /rPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VmAZWZWd; 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 m2si363248pgs.264.2018.02.06.19.34.38; Tue, 06 Feb 2018 19:35:03 -0800 (PST) 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=VmAZWZWd; 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 S1753117AbeBGDdh (ORCPT + 99 others); Tue, 6 Feb 2018 22:33:37 -0500 Received: from mail-pl0-f68.google.com ([209.85.160.68]:45520 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752778AbeBGDdf (ORCPT ); Tue, 6 Feb 2018 22:33:35 -0500 Received: by mail-pl0-f68.google.com with SMTP id p5so2652957plo.12 for ; Tue, 06 Feb 2018 19:33:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=eN7dE6tt4zHXPOiQFFrl1dUkS7mld+/3Yd4N6ZjtIwM=; b=VmAZWZWd/AMouzZvSUwCtN1O6nUIIPhDAZYLqMxSnqMyrZalUD3KwmjOjxD/hGgWL3 w4quejLoV8M0wNaj6szMhoqUMxChRPPKdrEFB3SgHbOGS+IV43ci3QGCJfkDIRfbcRHJ 8z8z7ppw5cNaWyo4kBMqIVfZqgK3559wsk4I4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=eN7dE6tt4zHXPOiQFFrl1dUkS7mld+/3Yd4N6ZjtIwM=; b=nv10xd+GNFwxhUJdXlJ8YKjxoPF31KAL4KPNNMWq66f7Ic7D0yDTxJGAXIGyrpBeDA Zf/rb94mgbrpL0QS9qSyaY2JwWaG/GRNSu2JBSHwJzet3vBCtyyXjvV6yPtSHGrDlJmP vjGN92BO1dJvhctM3ALmtI2MU8auCm2eykbZhaRcCtjJvm14WyhwJmX2znx4ZiG2FA25 RmYe9qml+KKyzlTimRf3t/ZamFnrn8sVyJVkuGMAZTJjm3MlsjhEKCNjFoeI/eVHBK0F 9VKn7TWtXoGw8sTRi/hPhV5Z2Q/fUm94ZHQOGS+fsTDU1HF3qpCQ7Xpp68AQEzFQK8dq VtZQ== X-Gm-Message-State: APf1xPCll582NIzAd16PpZeQ3yS7sF0TLG01dtjyRmcxvN4FypiM2s+B Df40RO+BEl89iAd6R/d5KnkFJA== X-Received: by 2002:a17:902:a588:: with SMTP id az8-v6mr4638982plb.10.1517974415328; Tue, 06 Feb 2018 19:33:35 -0800 (PST) Received: from localhost ([122.172.61.199]) by smtp.gmail.com with ESMTPSA id s80sm823140pfj.179.2018.02.06.19.33.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Feb 2018 19:33:34 -0800 (PST) Date: Wed, 7 Feb 2018 09:03:31 +0530 From: Viresh Kumar To: sean.wang@mediatek.com Cc: robh+dt@kernel.org, matthias.bgg@gmail.com, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 06/16] arm64: dts: mt7622: add cpufreq related device nodes Message-ID: <20180207033331.GK28462@vireshk-i7> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06-02-18, 17:52, sean.wang@mediatek.com wrote: > cpus { > #address-cells = <2>; > #size-cells = <0>; > @@ -26,6 +70,10 @@ > device_type = "cpu"; > compatible = "arm,cortex-a53", "arm,armv8"; > reg = <0x0 0x0>; > + clocks = <&infracfg CLK_INFRA_MUX1_SEL>, > + <&apmixedsys CLK_APMIXED_MAIN_CORE_EN>; > + clock-names = "cpu", "intermediate"; > + operating-points-v2 = <&cpu_opp_table>; > enable-method = "psci"; > clock-frequency = <1300000000>; > }; > @@ -34,6 +82,7 @@ > device_type = "cpu"; > compatible = "arm,cortex-a53", "arm,armv8"; > reg = <0x0 0x1>; > + operating-points-v2 = <&cpu_opp_table>; > enable-method = "psci"; > clock-frequency = <1300000000>; > }; Sorry for not picking this earlier, but you should probably add the same clock related properties for both cpu nodes here. Things will break if CPU1 is used by the cpufreq core to bring the cpufreq policy online. This can happen if cpufreq driver is a module, CPU0 is hotplugged out and then the cpufreq driver is inserted. -- viresh