From nobody Wed Dec 24 16:02:30 2025 Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 74B7E1CD19 for ; Thu, 25 Jan 2024 09:04:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706173476; cv=none; b=Zj0V3Agu1FzmtbBIpLwUcpqrKj/L6Z1sMA11RmkK0uyopQuVqegqf8Qfbl6Cteit5KclUBT98SvHE/i6oRiiFSpxMQri1q0aV5txif+v+rFAvEB4iCaHtKOzNPmbwHzHGAL6nkpm0VB6NYbo5pv02GHOAiaI3h35l7Xk03HF8zc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706173476; c=relaxed/simple; bh=COtAbM7RJTtMRbtk7i6Tx7S7OWuaB2ZiKtohexJWlFg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=Cn3H1tP6pFqYwjt05+tDvdIvt6erDhoAFGxuhtZi0rh+q+2dcehtGiCMlmD17bVQMhtv52+Vh+rCw0jFNNZn1etT3rFGqvIO7tdZtdmCLZhca5+6/rVaxWf4GMtQ5mLt6aM8MAH4p0t8RcPyBF0deD2AbH5HTkDDEdSCKdd9998= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=8devices.com; spf=pass smtp.mailfrom=8devices.com; dkim=pass (2048-bit key) header.d=8devices.com header.i=@8devices.com header.b=hC0eDsgQ; arc=none smtp.client-ip=209.85.208.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=8devices.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=8devices.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=8devices.com header.i=@8devices.com header.b="hC0eDsgQ" Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-2cf3a0b2355so2006991fa.0 for ; Thu, 25 Jan 2024 01:04:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=8devices.com; s=8devices; t=1706173472; x=1706778272; darn=vger.kernel.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=sbN8fdebOyzeSDzgcpAdiySI0Y63EdYcxgGZBLtd78g=; b=hC0eDsgQQy5zPtnrljg+ZgnsWfDNJpspd+bL1L5MlbjUkEe+OCx9aA+9OfDhBAojx0 tV13GOlaxknMsHs3EcD4y6gVmHuTs6SNa9TVnF83eufCaedckaJ2V2I0sNFiQtzPO4r8 BesHhY9Dng4clGMExNi1MXw+hdjvCBfgGoxvW6Hmdz48JmbTF8oJtwjk4FgiRh1XUL4s vMWwERJYFP6MshIJV84xSTaIuitCyv9CU8VJyj1WuCdihJKrrnp05tPE6C9WxkLHLw7y a4dsHA709wsPwcNUGGqv4F3XGm95uCn4V44a/DtqR8PBV1U1robvVGQnkr5ek8Xe8T4f s78Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706173472; x=1706778272; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sbN8fdebOyzeSDzgcpAdiySI0Y63EdYcxgGZBLtd78g=; b=FU1RUKSuFjKhb9eSws7dY08I1nPdattHQumcLSCBQocNBoSoz/wEHuOg8Qn8r2Vve7 GDeCFrhc5VDndf0/z8QqythUwk9euN/PZ/b+pvW9ohV43EC221Czthfga9Q1+0U3Mq8j UaqR92/djVxA8MSGXMJ8CVED/iYBZYdti6lirq1GPUznngSq7gnu7a2i4CGOsopsYZeK DcHMI1/277wmpUG5vTFYO4wASkVwAnpyMTK2zQSic28/Q3TfEdh9X9FhihhqBcDPc4oD M5ZREQ/SOYJQX8Yjsft/EJREOFAB81wlnwOZzYeruIMvxXpqeqapF8JRyURBoCWpfsUd +5Tw== X-Gm-Message-State: AOJu0YyEYS77BYAV1OVkmJ1tXk0vZoLKN2MtlljfztFJVfRai2L1preO CVW4YZGCLCnzFTx9QJx8Taknowm6lQXbVHMBUvxQTJzzxBdXmW/oM6FKuqm+P6o= X-Google-Smtp-Source: AGHT+IFc0sYdhDzxkmSyEK4zXLlWsd1jzKhHs8mVKbHHYe5HOCJw6HEx7dZkRpOB2wcDj51hN/wk/w== X-Received: by 2002:a2e:700f:0:b0:2cf:2d82:a5f5 with SMTP id l15-20020a2e700f000000b002cf2d82a5f5mr307089ljc.56.1706173472614; Thu, 25 Jan 2024 01:04:32 -0800 (PST) Received: from mantas-MS-7994.8devices.com ([84.15.37.222]) by smtp.gmail.com with ESMTPSA id m10-20020a2e870a000000b002cdf8c9af34sm229123lji.57.2024.01.25.01.04.31 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jan 2024 01:04:32 -0800 (PST) From: Mantas Pucka To: Bjorn Andersson , Konrad Dybcio , Amit Kucheria , Thara Gopinath , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Mantas Pucka , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: thermal: qcom-tsens: add IPQ6018 compatible Date: Thu, 25 Jan 2024 11:04:10 +0200 Message-Id: <1706173452-1017-2-git-send-email-mantas@8devices.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1706173452-1017-1-git-send-email-mantas@8devices.com> References: <1706173452-1017-1-git-send-email-mantas@8devices.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" IPQ6018 has tsens HW block compatible with IPQ8074. Signed-off-by: Mantas Pucka Acked-by: Conor Dooley --- Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Do= cumentation/devicetree/bindings/thermal/qcom-tsens.yaml index 99d9c526c0b6..d6f333a7bcd1 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml @@ -76,6 +76,7 @@ properties: - description: v2 of TSENS with combined interrupt items: - enum: + - qcom,ipq6018-tsens - qcom,ipq9574-tsens - const: qcom,ipq8074-tsens =20 --=20 2.7.4 From nobody Wed Dec 24 16:02:30 2025 Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E07B1CF82 for ; Thu, 25 Jan 2024 09:04:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706173483; cv=none; b=e/QUzd9UYbM5vavxG5ydKW4qo59ZCqwoHkrJAi7lJA/l3jnIYFl46S+Sp9ZjMd9IaFHHz3kctPF8kT0uw3CsNy7btJQvRrztvhnC+36fRAsNzFdZzWq52oIfGSdqx/s6Vr2gOv1EqLwon5GGwgLs63w91RhfjkQii3Nycn2zHWA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706173483; c=relaxed/simple; bh=1ZuHMz0UPf9fpN+oNp/CzmpVpY+TQmRD3sVoq0vJuhA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=bTzZboE93Cp0bytZHLVk0Pu2VKdzvQP11hmHMRhRy7TlfJRlnmFgONOBVMhbWCaWOGIb9F2pSdIB+aMZ2Frt+nM+dibzKU0Ud7v2MiWz34qSjcKtcuMM2IiGRleLIq+wJ0ExV/piviE8BDrkMM4JuzmB4dUnNtZw02rT8zHwxec= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=8devices.com; spf=pass smtp.mailfrom=8devices.com; dkim=pass (2048-bit key) header.d=8devices.com header.i=@8devices.com header.b=L8i9rPO6; arc=none smtp.client-ip=209.85.208.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=8devices.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=8devices.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=8devices.com header.i=@8devices.com header.b="L8i9rPO6" Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2cf2fdd518bso10780761fa.1 for ; Thu, 25 Jan 2024 01:04:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=8devices.com; s=8devices; t=1706173480; x=1706778280; darn=vger.kernel.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=3N3URrnd5ucFNbanADos3DaR9UQgjlnJH35oPDjMhLA=; b=L8i9rPO6y4TPsGURcuw223e9NcHf0l5iD/hLm8ae1zD/eMRrNjMJIeQMGLTVVVONWD akaQ9DAE5Wz79jD25jdrp6Tn721AaQUt9SdezJHG5xxWDzFI0U0ZXus+RX3O03E3YvA1 zcMRADS9mndMKM7SehZxoaSygDiBAIxxTZF5k5vy/ii3L4SqZXy+yOKGDFFsvu/a0s6e TKJsyVfw/fWk4NaHASP00Z/4KB9Qcc3wrhDtPF9rUxsaeE1UR2A9TeE+0KrFfEW/H9n5 fI8G1PBcd/UF4hZjmqP77fe/DdPuUpSyPFBzLMS7HHJl2dHAhuTockLg345mUYbx2Anq Rohg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706173480; x=1706778280; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3N3URrnd5ucFNbanADos3DaR9UQgjlnJH35oPDjMhLA=; b=P+T2sIRAGymZVR1maisnSWZ+/XWb5gIzVPUQLElq1DhfW56X+hZa7VGCvV7dtXMbjK Dtc+7Ko/sYW4H3eWuBKqbGd82BfVRcK2EHyR8n+Ln2d721pbqDe8/LmQEml+Nm9OoK7K 7bzWg24vMkMOYF+HOCusJk1MbRHG7/opv/WD+bZ980+CySD3cQIdOQS8OWzzm43lBXL5 odfBcqXFVEt2eXR9V5/UvM3wi6C5+6HxoRslidw3lqt/qK3e7QWhAJuIbRpkEfzQlhDh m2g/4KFb6nINNjCTh0lw4V5AsVywfWmzgel+d4q/lWBs0t6CN2SXnmCvsCPzhudgWvBe sjLw== X-Gm-Message-State: AOJu0YxdLYGTG8bGQ6oQ1Pk4IxF4F51Bgc4SFHCCnl7PeKWH4Of+aMsz 7Wwl/tgGGPLaAF5FX++EzxUdtrItB9khJKNJtUCsjOMPTjuqJUmp7SIldaMeS1w= X-Google-Smtp-Source: AGHT+IGeZLWcNi7/tozSCzATkAk0zTJjMA7uaR3SVHOkGyoGZ2O7O/8Hh+NozR6HMMEGEy0QWlmUrA== X-Received: by 2002:a2e:a268:0:b0:2cd:1d5d:323d with SMTP id k8-20020a2ea268000000b002cd1d5d323dmr216560ljm.22.1706173480319; Thu, 25 Jan 2024 01:04:40 -0800 (PST) Received: from mantas-MS-7994.8devices.com ([84.15.37.222]) by smtp.gmail.com with ESMTPSA id m10-20020a2e870a000000b002cdf8c9af34sm229123lji.57.2024.01.25.01.04.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jan 2024 01:04:35 -0800 (PST) From: Mantas Pucka To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Mantas Pucka , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: qcom: ipq6018: add tsens node Date: Thu, 25 Jan 2024 11:04:11 +0200 Message-Id: <1706173452-1017-3-git-send-email-mantas@8devices.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1706173452-1017-1-git-send-email-mantas@8devices.com> References: <1706173452-1017-1-git-send-email-mantas@8devices.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" IPQ6018 has temperature sensing HW block compatible with IPQ8074. Add node for it. Signed-off-by: Mantas Pucka --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qc= om/ipq6018.dtsi index 3d0f6621ee97..f2765fe8c20b 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -330,6 +330,16 @@ clock-names =3D "core"; }; =20 + tsens: thermal-sensor@4a9000 { + compatible =3D "qcom,ipq6018-tsens", "qcom,ipq8074-tsens"; + reg =3D <0x0 0x004a9000 0x0 0x1000>, + <0x0 0x004a8000 0x0 0x1000>; + interrupts =3D ; + interrupt-names =3D "combined"; + #qcom,sensors =3D <16>; + #thermal-sensor-cells =3D <1>; + }; + cryptobam: dma-controller@704000 { compatible =3D "qcom,bam-v1.7.0"; reg =3D <0x0 0x00704000 0x0 0x20000>; --=20 2.7.4 From nobody Wed Dec 24 16:02:30 2025 Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D73961CFB5 for ; Thu, 25 Jan 2024 09:04:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706173487; cv=none; b=jKwmdqzjNxKlVvREU1KRPpMYxqyqQXVmfx56Smh2SECJuzPmeB2pLCxrikbb859gl2EvyIug0M7HjWIogcSjFAAtzSqtn9O6/CqaAGsBXSrsQAjh5BGDZMZqNAccD1RcUmgw41QYjdJDckeWKNL83jQpW87s9dTHEPnm6DtNfoY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706173487; c=relaxed/simple; bh=6Wrp/Rh7g2JRqGMXr7Kxyiy8NHVcDuyn2kD7EmsJJfg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=pZKPGYIhCm4TECB2WwRk/afBDPorRWEVlNMOKruJn4sIym1nhiwqeo0vMwuK1usmd0bvKEBBFooXTZmp2ZV39y7974qFIH7A7E2Mu+1hprM9NQxkcr9A4hspkzng3PlbNkT65f4dvwHV89DM5heIBC5BebRFyfGMk5WlP7aXCNA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=8devices.com; spf=pass smtp.mailfrom=8devices.com; dkim=pass (2048-bit key) header.d=8devices.com header.i=@8devices.com header.b=Owo7p++X; arc=none smtp.client-ip=209.85.208.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=8devices.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=8devices.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=8devices.com header.i=@8devices.com header.b="Owo7p++X" Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2cf3f342831so448921fa.2 for ; Thu, 25 Jan 2024 01:04:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=8devices.com; s=8devices; t=1706173484; x=1706778284; darn=vger.kernel.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=ZA8ITQmXH67a4MbXLZRtTrGVOfb5zy3I23H5qUM12E0=; b=Owo7p++Xp6CvpSG2vOw2bn6ue5f470hHsECOMNHej3JUHcpHbkV/DuDcX9WLRPE73+ TusED+zAx6XhS4DSkvMI2R+t/FTQq8Puaq6Gt1bq1GgV6eqB6TY0/R3N71Q0/XbqlxuG +Sf3v11BohhhOBkEzx0afca6HnVm2zPzTol0TK/7VOOGr4P3482VYekjyn3Ji53d5/k8 /LuzdXPRiufIosB/xmo7yFwlimi/wp+1LOyuLkYjegGN1qAwb7QsX/1g8XdaUwb6vcC1 qms5UW43A5en9Pb5lbT2qF6wyVqkxwYkwqyuxRz/LQpAZL5QExZp94SIU3f/dJX7p/UJ FlQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706173484; x=1706778284; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZA8ITQmXH67a4MbXLZRtTrGVOfb5zy3I23H5qUM12E0=; b=NL4JULmKQnrleHhgq1WhA4Yv7oqJevC6obSmdwsw8zMZYAi535q9oPOidRI613ZQpG VCd3jxK6eGpLvHQ9ydPLsiqxv1RqlBNiYz7rINW+KTpQeqqOQ/7iuFFWi3JHz/lSf75y gczsGLyEteu9Y4zhvxkpyFvQ7aiWpCacCb8CTiZzGkvBpw0MDsTUfOr/NoaILWsbbr0N 1jlaErjqxb+Gc2WZvLbKYn32WuLIc90Cr33z3HPMji3MzweqAng2ywcqQQNxtg1fepLn qW705OcAdMVSXSfKEU8h7f94bJ9S8LlO0afwLwWZRuhoy9RLQaYaFgpHt+QJT3BT7ZZj srJw== X-Gm-Message-State: AOJu0YwsAKdvoeBnuJvgC//BdQP3dXA+sXfGr2VN7Ug47UXUGumeA6HP fKaI6WnZwyIvFR7nDMMp1O8H4Mk6w3cRgZ7isY3m30fbTiFrn/5jzHYjjgm/PNQ= X-Google-Smtp-Source: AGHT+IGV5hFPtJQpKhAggzHO+h17QNxpuZoz05HMk0EkeGrRidecDaIzxG7BR8AxqWKJk50LwCs0Jg== X-Received: by 2002:a2e:804f:0:b0:2cf:24c5:8089 with SMTP id p15-20020a2e804f000000b002cf24c58089mr236151ljg.56.1706173483922; Thu, 25 Jan 2024 01:04:43 -0800 (PST) Received: from mantas-MS-7994.8devices.com ([84.15.37.222]) by smtp.gmail.com with ESMTPSA id m10-20020a2e870a000000b002cdf8c9af34sm229123lji.57.2024.01.25.01.04.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jan 2024 01:04:43 -0800 (PST) From: Mantas Pucka To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Mantas Pucka , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: qcom: ipq6018: add thermal zones Date: Thu, 25 Jan 2024 11:04:12 +0200 Message-Id: <1706173452-1017-4-git-send-email-mantas@8devices.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1706173452-1017-1-git-send-email-mantas@8devices.com> References: <1706173452-1017-1-git-send-email-mantas@8devices.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add thermal zones to make use of thermal sensors data. For CPU zone, add cooling device that uses CPU frequency scaling. Signed-off-by: Mantas Pucka --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 121 ++++++++++++++++++++++++++++++= ++++ 1 file changed, 121 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qc= om/ipq6018.dtsi index f2765fe8c20b..4fb253b845c8 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -9,6 +9,7 @@ #include #include #include +#include =20 / { #address-cells =3D <2>; @@ -43,6 +44,7 @@ clock-names =3D "cpu"; operating-points-v2 =3D <&cpu_opp_table>; cpu-supply =3D <&ipq6018_s2>; + #cooling-cells =3D <2>; }; =20 CPU1: cpu@1 { @@ -55,6 +57,7 @@ clock-names =3D "cpu"; operating-points-v2 =3D <&cpu_opp_table>; cpu-supply =3D <&ipq6018_s2>; + #cooling-cells =3D <2>; }; =20 CPU2: cpu@2 { @@ -67,6 +70,7 @@ clock-names =3D "cpu"; operating-points-v2 =3D <&cpu_opp_table>; cpu-supply =3D <&ipq6018_s2>; + #cooling-cells =3D <2>; }; =20 CPU3: cpu@3 { @@ -79,6 +83,7 @@ clock-names =3D "cpu"; operating-points-v2 =3D <&cpu_opp_table>; cpu-supply =3D <&ipq6018_s2>; + #cooling-cells =3D <2>; }; =20 L2_0: l2-cache { @@ -996,6 +1001,122 @@ }; }; =20 + thermal-zones { + nss-top-thermal { + polling-delay-passive =3D <250>; + polling-delay =3D <1000>; + thermal-sensors =3D <&tsens 4>; + + trips { + nss-top-critical { + temperature =3D <125000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + nss-thermal { + polling-delay-passive =3D <250>; + polling-delay =3D <1000>; + thermal-sensors =3D <&tsens 5>; + + trips { + nss-critical { + temperature =3D <125000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + wcss-phya0-thermal { + polling-delay-passive =3D <250>; + polling-delay =3D <1000>; + thermal-sensors =3D <&tsens 7>; + + trips { + wcss-phya0-critical { + temperature =3D <125000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + wcss-phya1-thermal { + polling-delay-passive =3D <250>; + polling-delay =3D <1000>; + thermal-sensors =3D <&tsens 8>; + + trips { + wcss-phya1-critical { + temperature =3D <125000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + cpu-thermal { + polling-delay-passive =3D <250>; + polling-delay =3D <1000>; + thermal-sensors =3D <&tsens 13>; + + trips { + cpu-critical { + temperature =3D <125000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + + cpu_alert: cpu-passive { + temperature =3D <110000>; + hysteresis =3D <1000>; + type =3D "passive"; + }; + }; + + cooling-maps { + map0 { + trip =3D <&cpu_alert>; + cooling-device =3D <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + lpass-thermal { + polling-delay-passive =3D <250>; + polling-delay =3D <1000>; + thermal-sensors =3D <&tsens 14>; + + trips { + lpass-critical { + temperature =3D <125000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + ddrss-top-thermal { + polling-delay-passive =3D <250>; + polling-delay =3D <1000>; + thermal-sensors =3D <&tsens 15>; + + trips { + ddrss-top-critical { + temperature =3D <125000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + }; + timer { compatible =3D "arm,armv8-timer"; interrupts =3D , --=20 2.7.4