Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp449746lqo; Fri, 10 May 2024 05:11:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWvMC3ONos/qrWa+Yo8K5+aft4UXFGeorr71pcOYct6DnmDJfd8Mktch42DaIx14Kd8CD0FYPcC4GN3tkeoBnDYccUcLjRiSH4B90hCgw== X-Google-Smtp-Source: AGHT+IFosnvM36s+sybdHw2/GEC2inLVBi0Khcyk1YKAcS4vC68EVUq4NyT4RbtyXPKMeHR7x+3N X-Received: by 2002:a17:90a:d704:b0:2b6:226a:a198 with SMTP id 98e67ed59e1d1-2b6cd1e4e14mr2469596a91.44.1715343070426; Fri, 10 May 2024 05:11:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715343070; cv=pass; d=google.com; s=arc-20160816; b=rhKBInZDUOgywqOiHBPxXRLdUF4xlWG+C2f7NFUOnxwgm21r+j5tzRKz9jmm9Xl6cu UOQim86pPdg4UhySLJZj2xKNAKbm/c0o7NNy+Bd+P0M6XhdPnjH45zmW2e5HcrolQV2T IEi7nesavwQE3E3PswCG6RHrlSqu3wM3gw7T7Umy+vApqOkFTsy+5FGLA5srmXzoCzyS 8xvN29/vq15R82RzfkZwl02njoGiEOGf/Oi30W+QRcUnleV29hdY5vKcH820tfeQLsM8 VAAiC7zq3hOyobXznQWHRkwIjVhXJ9IsP0MaV84vifoe0kKab48As2fs46hirJhco/9K uy4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=MdLq6ANhotzD8Wq7SzTk1LdXv/mLsg3mxNzxsft68D8=; fh=89GoM9lPPuAyZ55byCuJuE4G4l/C3c9r5RYPdWWNLYA=; b=jyTOgXJgqDpvChCOCgzubgGx28obMpnqe8ArnkE4RB9GQePlPF/BnVuimyqhhrLBS3 hBZSgfv9UxFgGFzknSTn/g/B3uFM6IkHTITM+qc9fQdRfVhn2MCwx+AzyZn4BlmWPXbZ ZgFb07bx5QEsJLJn3RYxWI0Hmjn+O3mKr9wBc47aXVLxv6Fso+B+3xEq4qcC/8bkzZGP wSkpHxEhjg1m06LW5yA2dFUNr5pKHq4NP3c2U7RuRJmw54/X/HiDnCBO5X0qh6a/JCM8 PHxwFqvCGbqtgpNzq4OvRzhTkDvlUDzEkRit7YmW/jMFxMN5eMuA8T8gTZhwnQvWBruA iDoQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ZEqCSvl/"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-175748-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175748-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b628fc5536si5666482a91.143.2024.05.10.05.11.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 05:11:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175748-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ZEqCSvl/"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-175748-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175748-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9088A286AD3 for ; Fri, 10 May 2024 12:05:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EABC117F36D; Fri, 10 May 2024 12:00:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZEqCSvl/" Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (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 7C9CA17EB8D for ; Fri, 10 May 2024 12:00:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715342409; cv=none; b=nLRvKl3rVenm7+IhJ/JPsC4I4wxUQFTFuBcjRTE51ACbAMYFQEpsftbbcfNz+4w/7YS9/KtyJVC2CiujB/eLhbJwriay9iSqdH4SmToog3BBiPkKXJM8oNRQzwjEdC+BUIgRHeAR2hP3tWAdGpV/oQsY67D9T8/MTckOXoWKbNg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715342409; c=relaxed/simple; bh=n+li2cwWHgRrKcECYbFORheOLf9HHut1ebd58z5RuxM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZB5+6V89dABiuZOZXzJBx0vp5QSaJIhfEgzWRXgP0bBIREiFTBcKPdePc4Vg1Twh7VyfGBK2EGl6TME8S8hdLdB7HY6GlunUOjCXcx3YafZwvs4S92r5UP+Yw80+9efeaR7BIMHbKcbhlG4vMDipVhbmaaVv+qjnBrrXbL/VXRY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ZEqCSvl/; arc=none smtp.client-ip=209.85.218.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a59a64db066so497566066b.3 for ; Fri, 10 May 2024 05:00:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715342406; x=1715947206; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=MdLq6ANhotzD8Wq7SzTk1LdXv/mLsg3mxNzxsft68D8=; b=ZEqCSvl//8WdeL6iJmWVIgH/P6MV3/SoQ05zGIKkraqaf0xf3GGD1dVawXui4ywkaU vlkaE4xaifaGJI70PKixYr5qIMV97hCIRpZ3D/eMFsEme506msvSekQF7b31cpoXMODI Y97h7wkwO5ZGR87OHzJCd5o6lSsy3Lr3mxjeCw61cgVC1gclEptkkUcviHhBhORmg1KB hcbxxVJAp99JI+so9Q1Mbe71KyLX7FqCFoHlpnh9l/MCLEOe+tiMvOT8qda9CLOSXu/0 MA9JXQQXIuXO3GZ6vFku/Ug3YTJBegc3BdM79GV7MM+fOt1ULIvY38UB8lumTMBSxKk4 2KnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715342406; x=1715947206; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MdLq6ANhotzD8Wq7SzTk1LdXv/mLsg3mxNzxsft68D8=; b=ZyUw+QuOlYyVU4YmAsHfG2H0ToM7CYMRJB3owJPyCrh1bxBroaoB2z7LN+ls6yVXaa Fe52OLVH84DcrVVCFR+4qbR9G8yezZ8s5xdnzzHH71OGHGKDg+scOc7+MYwjerQjeLq5 w3TvP0owo8dRSBjlGOi87Kb+mCoJs+ufaUoLoH1X9MaJxZg0p4b/a6Ak9cabrVgpu+tr vp76N+wUR+ZmvZ+4hRkJXwhgzg/CyEK6Ofx8sv4lmuSjefB5MXCe5+koK9y7nIFDHxOP n4d7BUSPfU8TzKycX9vSVKz/Y+OmRkSIEwVZnbDcEt43VP5EHOyGeR50FaHGZeLboiDe Zc8w== X-Forwarded-Encrypted: i=1; AJvYcCWLfNa6VEfxSvtIiVXvZjRidyAgtMLHO4s6BD0/OEyRxzoXbBkTOx54OSRvLFterKZBgj2dQBuGLf5Ajuo+GqL3UyQ40fk54utIJLvW X-Gm-Message-State: AOJu0YyydQRThswTjQzMkIrdKlR2NP69oWgkWrx0sY3bu+A5Sy5gvEvr E8sZ0KG2fftmH30m2rmlqmH3cmW7SeVP5WrLqKqOijKRQS5UWjMwCC05qnoXgSo= X-Received: by 2002:a17:906:6415:b0:a59:adf8:a6d5 with SMTP id a640c23a62f3a-a5a2d6786fbmr158452666b.72.1715342406021; Fri, 10 May 2024 05:00:06 -0700 (PDT) Received: from [127.0.1.1] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a179c7df7sm176795666b.111.2024.05.10.05.00.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 05:00:05 -0700 (PDT) From: Konrad Dybcio Date: Fri, 10 May 2024 13:59:46 +0200 Subject: [PATCH v2 23/31] arm64: dts: qcom: sm6125-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240510-topic-msm-polling-cleanup-v2-23-436ca4218da2@linaro.org> References: <20240510-topic-msm-polling-cleanup-v2-0-436ca4218da2@linaro.org> In-Reply-To: <20240510-topic-msm-polling-cleanup-v2-0-436ca4218da2@linaro.org> To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14-dev All of the thermal zone suppliers are interrupt-driven, remove the bogus and unnecessary polling that only wastes CPU time. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/pm6125.dtsi | 1 - arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts | 8 -------- arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts | 6 ------ 3 files changed, 15 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm6125.dtsi b/arch/arm64/boot/dts/qcom/pm6125.dtsi index 99369a0cdb61..d0db28336fa9 100644 --- a/arch/arm64/boot/dts/qcom/pm6125.dtsi +++ b/arch/arm64/boot/dts/qcom/pm6125.dtsi @@ -10,7 +10,6 @@ / { thermal-zones { pm6125-thermal { polling-delay-passive = <100>; - polling-delay = <0>; thermal-sensors = <&pm6125_temp>; diff --git a/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts b/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts index 08046f866f60..dcd05f303b78 100644 --- a/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts +++ b/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts @@ -90,8 +90,6 @@ cmdline_mem: memory@ffd00000 { thermal-zones { rf-pa0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm6125_adc_tm 0>; trips { @@ -104,8 +102,6 @@ active-config0 { }; quiet-thermal { - polling-delay-passive = <0>; - polling-delay = <5000>; thermal-sensors = <&pm6125_adc_tm 1>; trips { @@ -118,8 +114,6 @@ active-config0 { }; xo-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm6125_adc_tm 2>; trips { @@ -132,8 +126,6 @@ active-config0 { }; rf-pa1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm6125_adc_tm 3>; trips { diff --git a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts index a49d3ebb1931..994fb0412fcb 100644 --- a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts +++ b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts @@ -84,8 +84,6 @@ key-volume-up { thermal-zones { rf-pa0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm6125_adc_tm 0>; trips { @@ -98,8 +96,6 @@ active-config0 { }; quiet-thermal { - polling-delay-passive = <0>; - polling-delay = <5000>; thermal-sensors = <&pm6125_adc_tm 1>; trips { @@ -112,8 +108,6 @@ active-config0 { }; xo-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm6125_adc_tm 2>; trips { -- 2.40.1