Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp446145lqo; Fri, 10 May 2024 05:05:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXFDi41BVbio7xnQ9fIDIdZaYWtGnKmV6fD0B/ayt2fYaChC2gwn8AqFrGukWtYGrvv/z9yUHZbLEZbIgyeZ82PkmPOuk2f4TgstKxyPg== X-Google-Smtp-Source: AGHT+IGN9SLACRx9Xl8ns0QmklEW6zDSgzCnQM+vMZz+r2rNIlhxXdlONIvqU5F++HJIFlgNMm1q X-Received: by 2002:a05:6358:430f:b0:186:1b7f:e885 with SMTP id e5c5f4694b2df-193bb656d21mr250502555d.17.1715342743815; Fri, 10 May 2024 05:05:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715342743; cv=pass; d=google.com; s=arc-20160816; b=xrEKWI+h4ndW2w9/v5ymzVamOrsjm3smvfVUlEVg/rYMRGMehVjzWTjRIMT3ESH8bg RQCQ7ETCX1VOWK+yIIXIk77PtU964XUF5COM0XK4VHM+sVo1AK2/2rOSaV2iyew/oQgl 9vcSfQFMPT8au08hfNWEiuD63NG4jVBrfCGt50DoEoOAakMiHKH7b6YecH6skZumQXN7 TdG7lE9pJL76X8C9pU3Cya3IGboWsTzj59mi33CvRoo/QBASKaS5SnxpJ0TByXcdVcsd xVry7gCs84ainQ6oHqdsx8DyI35DVzx0pglEhtQish90JGUcNIVXV10B5Gt0RdVtjbm3 xvmQ== 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=ph1Uf67WwkLDmViw+zsuiujGZ7qdtyz/KFSmroN7sqQ=; fh=+GmsCfKhnu3bu7WuVZozJi7Ab524DU2zj1Qm8CRrr8o=; b=OyFqrhGf4zMzP1laLqtNhVz2gULYwq7/hwc5LG1r2B0/mqStFx9tai0AqiAglzORK4 AIwica5ETjiNKECv5tw5fyyUYLGDRq5fEIF4L7sfA2iUc0bpoBp9BSe0yXk4x01/os1p JUuRxvxeVoFio1A/ANmzrzdYbSdLUcB1JdyYld2rgjA/Kxsx8cBQRYtscZMMMt+lggu2 X9WGYjhKgzp6clxV5MbnJqsEmwOXBY56YolWVoWWTHf+BysRej5gYioRRyua8pTPaAzt 2+QRj2rN/ICplPWKMm6GW3VjFfUbi9zJcpcQKF49KpcwpPanFGkBinxkt1gPU2Q7pssC krGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Br7djQsT; 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-175747-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175747-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 71dfb90a1353d-4df7c05a8d2si583179e0c.141.2024.05.10.05.05.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 05:05:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175747-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Br7djQsT; 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-175747-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175747-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3E39B1C23ED8 for ; Fri, 10 May 2024 12:05:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0910B170820; Fri, 10 May 2024 12:00:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Br7djQsT" Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (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 2A8B917BB3A for ; Fri, 10 May 2024 12:00:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715342409; cv=none; b=l4t5sflnev72ld5yo+3fBztuCTgwzPhGj+dVhz+nPelgiQPyG3yl3+UJ1Fyvtkghn4Jq8YEHZ7AZUJOGW3fYDL6JGSoKQFvRnwzbmjORwiaf5b2mzfJTNpOWcLFTJ6YGCWLlf8zqT6dooZLmINFdCYtGN7EuFpAnU1z/PffWv0s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715342409; c=relaxed/simple; bh=MeOx5lJR3k+o/4GA4O92CCW8bkuSqKr2XXu3nUKqu1E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nXnF9d8PoOjx1CF21wKzv72F6LKxnQyADMZvCrWPni/fTi3LupdC/Z6QbIGiAEefnUV3rhXXmAFgo6H3QaqgLomdosn3lBIkjiggt9WOW7HybsAOHKPJBqTPZxV+7m4eX8gQoNnBF2qUxlV/hHGR5Ln92+5wFjSzM9b8wcfEU/o= 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=Br7djQsT; arc=none smtp.client-ip=209.85.218.49 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-f49.google.com with SMTP id a640c23a62f3a-a59a609dd3fso339517466b.0 for ; Fri, 10 May 2024 05:00:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715342404; x=1715947204; 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=ph1Uf67WwkLDmViw+zsuiujGZ7qdtyz/KFSmroN7sqQ=; b=Br7djQsTPb4kLMyjbLWJEC7qHZnR452h3sYM5LSwL1wAuWsxdzmwOV464ep6FBEn/I kkeBWycOj+tREokVkCINBbaO2VaCe3X2vHW+axu3YLwDdigHzt9V0wP3L745Hk6D4sKm hUzGMcbD/VClv3haiy+cw/1+nBMboKJ9FeTTbXZs8AvhDtmrGgtuaiJQEUHzNe423U6e 114uD4MkDKmgT72/HT9+6fK2ijulUdHn0ZSVJzqRlXMJvrJAbqWbe4Hsdb5XAjJoYSfI /gzjEA7btKsRjrWrUQTNLkQPB16JOpQCfOGvteY2VpiExC51tmO0l+Dz8aSpEmPvtl+H RkYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715342404; x=1715947204; 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=ph1Uf67WwkLDmViw+zsuiujGZ7qdtyz/KFSmroN7sqQ=; b=hcIDQPHMb3acs2zH2MwFavidOrDYzlUV+hnWVrcWtMQrs3MZjoBqTIIOOO3r/L7s5O qHk9ibZti3+tt+5/p4n4rNkO8wtMQMg5gryuCekzuiQ1gPcnI3/D5Qn/is0a0gLBWBx0 E1ZbY4YSAZvNdlYS+JEYIYri6lC/hUBVGgJviknW3JObkLjBZDYS9MJXAOvy3TD2WiuS ZpCDay/BMBHkUVPxoqio6jChYjVN9bewkaCS58P4nh0/+rzu3CkbncQ7RAtFnwt5iclW N91Ot1cuNRaHV4jHT+a+YNdZMIDZ3pym1PJBM0pAgZN5yOU6p+NArKS5hVC5zm5mjcU6 5KiA== X-Forwarded-Encrypted: i=1; AJvYcCWr1PaP1ORVEy9E6Yv/YgzM86joEIXVUGcMqxW6LxLZZ32CLzvhkdrl0VKtl8r8E276b4+G+uN9jmjLI9Bm6JqUvpRwX4OOvOiih9cZ X-Gm-Message-State: AOJu0YyYZgOkM6alS9C6CHJWhHrIMlhp5swnKMcfrYA9yNBXP569dR7q T2WJVRD6rfZKWWEErQ0cJRoIw8JHWorFAt8dviogaNbOyK1VWcmemmACxdwnah0= X-Received: by 2002:a17:906:bc50:b0:a59:cb28:a8ae with SMTP id a640c23a62f3a-a5a1123b477mr453575666b.0.1715342404593; Fri, 10 May 2024 05:00:04 -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.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 05:00:04 -0700 (PDT) From: Konrad Dybcio Date: Fri, 10 May 2024 13:59:45 +0200 Subject: [PATCH v2 22/31] arm64: dts: qcom: sm6115-*: 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-22-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/pmi632.dtsi | 1 - arch/arm64/boot/dts/qcom/sm6115.dtsi | 32 -------------------------------- 2 files changed, 33 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pmi632.dtsi b/arch/arm64/boot/dts/qcom/pmi632.dtsi index 94d53b1cf6c8..f192b2fb4f64 100644 --- a/arch/arm64/boot/dts/qcom/pmi632.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi632.dtsi @@ -11,7 +11,6 @@ / { thermal-zones { pmi632-thermal { polling-delay-passive = <100>; - polling-delay = <0>; thermal-sensors = <&pmi632_temp>; diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index aca0a87092e4..0a0bb5310849 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -3011,8 +3011,6 @@ cpufreq_hw: cpufreq@f521000 { thermal-zones { mapss-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 0>; trips { @@ -3031,8 +3029,6 @@ trip-point1 { }; cdsp-hvx-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 1>; trips { @@ -3051,8 +3047,6 @@ trip-point1 { }; wlan-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 2>; trips { @@ -3071,8 +3065,6 @@ trip-point1 { }; camera-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 3>; trips { @@ -3091,8 +3083,6 @@ trip-point1 { }; video-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 4>; trips { @@ -3111,8 +3101,6 @@ trip-point1 { }; modem1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 5>; trips { @@ -3131,8 +3119,6 @@ trip-point1 { }; cpu4-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 6>; trips { @@ -3157,8 +3143,6 @@ cpu4_crit: cpu-crit { }; cpu5-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 7>; trips { @@ -3183,8 +3167,6 @@ cpu5_crit: cpu-crit { }; cpu6-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 8>; trips { @@ -3209,8 +3191,6 @@ cpu6_crit: cpu-crit { }; cpu7-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 9>; trips { @@ -3235,8 +3215,6 @@ cpu7_crit: cpu-crit { }; cpu45-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 10>; trips { @@ -3261,8 +3239,6 @@ cpu45_crit: cpu-crit { }; cpu67-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 11>; trips { @@ -3287,8 +3263,6 @@ cpu67_crit: cpu-crit { }; cpu0123-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 12>; trips { @@ -3313,8 +3287,6 @@ cpu0123_crit: cpu-crit { }; modem0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 13>; trips { @@ -3333,8 +3305,6 @@ trip-point1 { }; display-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 14>; trips { @@ -3353,8 +3323,6 @@ trip-point1 { }; gpu-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 15>; cooling-maps { -- 2.40.1