Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp786667pxp; Wed, 9 Mar 2022 12:38:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJycAs7Lc0UMG499iU6SwcZFa9UC1CUiTpPEWJdzeZ59pcFba8cLfjfahCjTT+/RDYm09f8U X-Received: by 2002:a17:907:6e21:b0:6db:3e2a:a7cd with SMTP id sd33-20020a1709076e2100b006db3e2aa7cdmr1436059ejc.291.1646858307148; Wed, 09 Mar 2022 12:38:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646858307; cv=none; d=google.com; s=arc-20160816; b=wuII3GxLznXZ2od+mQBduW7orJktEzVlzfvqkQezXLX5KErBLnNloqwnyONHFAi3kM HHhLtovJNn1pL81A7q0F08Bxu6DVccZSlJ3DlWBhFbYoR+mgGQXvHw6l2tkRgARyCDO8 tzCyYHZOrPVWINjLL8oC+NRd6UskSaki5uJaj0VaBjtnDx99qCf1Ff2sd5Abwp3Mc20C gahRJ15g/tyr/C4sowgpIU8+n+ZBuZT29ihd3bBXbQddbgfPvfJ0ePE8//ZWVIGKCyx1 4jXKCE/FHNBRKH7Lc/rhBirNNsWuczX5ckSpbCjjkcXYI+fSgaL8YxLhQJEvRf6/tGRg 3q/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9+iKSK1JPdMxtPZUR65QR2T54u6Sz+eMVcd/vOmqJ94=; b=RUaOO8ppnGFPwyqoU8tYnV/kfEqy6r5FDDNpZuSt6PY1WMv6TP7bHmLLzeTvGRUsBj 0G4QQUQg3xlUvvaLJYegsnIPrdQojju8ZgJyaA76EWFebDYuB+w1rK9Tw1njPa2cOBwn sSYoHI3MC6gOGDxM2vR6zUaeig9/CKg0ZSwxo9+8tNS75BUZrWZi/Ot8PcxIvljViKTw 9C+Pyp1X9sn5STjKS48drWICdYEXdhTf+qb/pbq6BLT6qiZzcHR/UOXPxtrg04puINuX 7mC8a7URqIR8s0W1oWSHP3FttMJqnTLFgqZBUC8ZQ6C5cYCxpgUBdJfnYEwYPrrY6ae7 yNFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="L9Fa/qg7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr28-20020a1709073f9c00b006d8121a5b6asi2074323ejc.914.2022.03.09.12.38.01; Wed, 09 Mar 2022 12:38:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="L9Fa/qg7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237639AbiCITQ6 (ORCPT + 99 others); Wed, 9 Mar 2022 14:16:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237556AbiCITQh (ORCPT ); Wed, 9 Mar 2022 14:16:37 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECBB0111DD9; Wed, 9 Mar 2022 11:15:37 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id r187-20020a1c2bc4000000b003810e6b192aso2092445wmr.1; Wed, 09 Mar 2022 11:15:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9+iKSK1JPdMxtPZUR65QR2T54u6Sz+eMVcd/vOmqJ94=; b=L9Fa/qg75tCOPAP72P9xkx7napTqm50XluouA34I8GGoBmaOdH85yK9k6nXK113Zq2 0nIdEH1obdg1Bg0fh5LPhfozTJClWsf3IupnNbYJZevveuqTy99PPzp4w7zRteDW+NUi RHG38RY6PAByTAe0rHwUtm4EucTIsGieyivuCcm2ZMrvm0NXrZpodmfryDvybZiV1SO2 glFO36R2GS9ozE/EbRU4ve4RsZVPHRfMCatsZEzTazwpkOggNJMfL/tuy9SScq/HCfO5 4KqQa8MnJxI2bL9t8ZDFuYTWcYLiN/XcClKX3ThxNMufV3aDK/aYGHcMr8HRyb6JxyAw 3kUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9+iKSK1JPdMxtPZUR65QR2T54u6Sz+eMVcd/vOmqJ94=; b=RTIXYHDrEI3L/olWpW38bRuZeLMHnnHqNn2EhI/XsM8JJ9lPl5wY3N8wJRmCK+iCdH CvQh8182Qf6I/pmOZ6GzEOZondfnPh3+lh9KlEVLUYzP1sbu+c5cAKDBcCxH9pEcCMLz gCG7QSS2YK5PIp7VQbjAFQGuMi/Ue+/qZ2TkBZAZYfIDefzfg4RmS0ejjWn93EXwSXEq wCjCFJ9oLl7U7VpLV56UC7s0DINLoJ1abGyklv4x0i2ipFDxuMhyU1VzQQ4NRiUh9fWK 2rryqSo0ml4sf4h6L/+jeKBJ+xtSUxgpD+9jqgrD5nb84ES2I/faRLfHxZtixvVsZ2Wr Y0Zg== X-Gm-Message-State: AOAM531XjQHZWPcg2LG4nkNaXbGsmT4xgcn+6sz6fA71I2BhwkbiviS9 Ftqwt6RHvPK4TMxpgTsvnDI= X-Received: by 2002:a05:600c:321a:b0:389:6f67:340 with SMTP id r26-20020a05600c321a00b003896f670340mr8808647wmp.167.1646853336439; Wed, 09 Mar 2022 11:15:36 -0800 (PST) Received: from Ansuel-xps.localdomain (host-79-47-249-147.retail.telecomitalia.it. [79.47.249.147]) by smtp.googlemail.com with ESMTPSA id w6-20020a5d6806000000b002036515dda7sm2396699wru.33.2022.03.09.11.15.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 11:15:35 -0800 (PST) From: Ansuel Smith To: Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ansuel Smith , Jonathan McDowell Subject: [PATCH v3 15/18] ARM: dts: qcom: add multiple missing binding for cpu and l2 for ipq8064 Date: Wed, 9 Mar 2022 20:01:49 +0100 Message-Id: <20220309190152.7998-16-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220309190152.7998-1-ansuelsmth@gmail.com> References: <20220309190152.7998-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add multiple binding for cpu node, l2 node and add idle-states definition for ipq8064 dtsi. Signed-off-by: Ansuel Smith Tested-by: Jonathan McDowell --- arch/arm/boot/dts/qcom-ipq8064.dtsi | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi index 629e22236f5b..1079572f4f5d 100644 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi @@ -30,6 +30,16 @@ cpu0: cpu@0 { next-level-cache = <&L2>; qcom,acc = <&acc0>; qcom,saw = <&saw0>; + clocks = <&kraitcc 0>, <&kraitcc 4>; + clock-names = "cpu", "l2"; + clock-latency = <100000>; + cpu-supply = <&smb208_s2a>; + operating-points-v2 = <&opp_table0>; + voltage-tolerance = <5>; + cooling-min-state = <0>; + cooling-max-state = <10>; + #cooling-cells = <2>; + cpu-idle-states = <&CPU_SPC>; }; cpu1: cpu@1 { @@ -40,11 +50,37 @@ cpu1: cpu@1 { next-level-cache = <&L2>; qcom,acc = <&acc1>; qcom,saw = <&saw1>; + clocks = <&kraitcc 1>, <&kraitcc 4>; + clock-names = "cpu", "l2"; + clock-latency = <100000>; + cpu-supply = <&smb208_s2b>; + operating-points-v2 = <&opp_table0>; + voltage-tolerance = <5>; + cooling-min-state = <0>; + cooling-max-state = <10>; + #cooling-cells = <2>; + cpu-idle-states = <&CPU_SPC>; + }; + + idle-states { + CPU_SPC: spc { + compatible = "qcom,idle-state-spc"; + status = "disabled"; + entry-latency-us = <400>; + exit-latency-us = <900>; + min-residency-us = <3000>; + }; }; L2: l2-cache { compatible = "cache"; cache-level = <2>; + qcom,saw = <&saw_l2>; + + clocks = <&kraitcc 4>; + clock-names = "l2"; + l2-supply = <&smb208_s1a>; + operating-points-v2 = <&opp_table_l2>; }; }; -- 2.34.1