From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com [209.85.219.41]) (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 CBE28331A66 for ; Sat, 28 Mar 2026 01:40:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774662009; cv=none; b=jNWgkAsUcU48EytS7Dc7l3Ko8l8FYn2QmFWdbWqzxLTy67FdL4WVLESs19q1AiJiDvhb7uA3lASw1recjT8BNbpwvIZXJF1My51KVZefkwaVuuHBMqKF5p/iVek9pStbEd/1TlyjcLQ2Q8VALs4LzRpvJM6J60DoU8bR8ZLGH4g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774662009; c=relaxed/simple; bh=bNBwjs8zbz1FQu8BUOGiW+xvrm4VsfpXadFXmCELexI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bWj3mKHUypW3m014SB7+iVGwEOHYVlEdMIhUAaHe2g78xBpyjKTdDA4cHPIJoAPLpnHEkOwji8y53Se2vdvVD4mWq5tyBZ0xt9g3Y1yUC6AbWR7nbIEuR6Uq69IJ8+h9nFlL3Ncm7nQmdN7rQs3g/d3ZV/ksMIvgdRq4XQN5O5w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=srJ0O2vt; arc=none smtp.client-ip=209.85.219.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="srJ0O2vt" Received: by mail-qv1-f41.google.com with SMTP id 6a1803df08f44-899ee491af3so29619496d6.1 for ; Fri, 27 Mar 2026 18:40:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774662007; x=1775266807; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FGtxO9+SfhLV/Gngm7A9OKK9zLf1CSmm7lKaEGRjrv0=; b=srJ0O2vtW7b2EKVyy/6FOjURvTmD7lA20LH763WvjfCjSev7wWdfZOnngUVgIlhY+q oHkZm0giale2Rgan0PCOjnS7+gF0tm5twhh1q6sOFDny7wTg7AyiLlXIj91lE6lTo3Oj JZQ/HGOQaeqHYLr+ya2w9OUVCYYGgwavH4TDEJKQBjyaOX8ro/xVEpXf+sCOjo/815EO T0xhsMUZEL2330PmcQOD0DMQDp7aXnhLGcGH7po+XlRyC8S3E+MAX00CrOpFFojMH0Nj 1qVTUG36VA9PMqiSWIzdqBQVwAfxMogqILfZ/1ZUVf42HlGAK/0I5V9UyjAsp7YNNA3O tC2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774662007; x=1775266807; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FGtxO9+SfhLV/Gngm7A9OKK9zLf1CSmm7lKaEGRjrv0=; b=GVshFJAKFTm+wtj6NXWks3OIhy5bPZKrwmJB8C5L3Q0Q9ReGTH24nr3gd8MSXwNv4y l3wlQeOA0dPiHiK517hN5OiUE06Hrzp998PLGaLWWX00G2Vpq6Wpuw493mboOrnf4kjF 8MsyzsU0bguuveJ8qE23QcsuSzTsOV9M9UaD4HsFCqpSQ9J+8sGJ+SxwFsNvo2xs7f8F M4vIfNqhJfmLqMZzn1LHe9v4wGvcagevzwVyHdcXtqqkdsl7zzCYX/M2FDOnMi5vylVv 5IssYpYdb6yIJB0fO+vNW51aXrJzgR5jUbrlo3ylDq/2bCXizKoeATApPpmxv7EsmiUk uHxA== X-Forwarded-Encrypted: i=1; AJvYcCUoLmFF8GEQPU8sUOY3GRzFujyDGnvyNPq772KmBf+WM4p9UUFpks3MJx8DsjjlhVgGZOZPLsON/Klq@vger.kernel.org X-Gm-Message-State: AOJu0YxqcubOuCPbbsIojkcG+rsSdPsl5eQkHLa3oaAehpI1JM6sfOl4 CbbnUQXXnmJA4Yv/EPhJeTMF1KZ/3vOp3MhwIgBtBda1Cvhw8oj6Ne6T X-Gm-Gg: ATEYQzxT/rRqCpTgg88e0DwHKKAZt8itOb/BJ/H8GmHDERipnQpLj+g4r8Br8V07clV EiFmt1m1+8f/X6Q4UM4hjLwRCODBcp8jiHlYwEAgKcFFcydKMauHfkQ3F5xTTBBUp7zR0Zd/nDx eadQPc1gBUUPSTDUwoS9fxfofFBNmHvwFZUFLrusAcUbQKKCAqkPXrivlDYJUM/R73thBfmFLwZ ho+NIjRYXHg8v778Gw1I5QYoJoEQf8g+HniHQ0VJ2K+u5+jfwqn1mfEX7ucUuYRk0q6zoIqbb9P WMTmwDnTahXCe9h81ENdbqFz13yt8EnDzvQNEfz3IT9yGFy80D08Sdj6kkrkW+UgII4Ug+eHZlK OKv06PvmeAEc6PgjgFXPVBBG1+eN1GxnuKMJv5PqPqgOSz/yZgclXXT5/34i/hlUBLZ2NRl8IbZ Q+RXtx5ZzUIJOFS8r7GD+7U85GgP/alcYt7yeJ X-Received: by 2002:a05:6214:498e:b0:899:fd8c:55c3 with SMTP id 6a1803df08f44-89ce8d978e0mr74569846d6.22.1774662006819; Fri, 27 Mar 2026 18:40:06 -0700 (PDT) Received: from localhost ([184.144.58.243]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-89ecbda4d50sm6474596d6.15.2026.03.27.18.40.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2026 18:40:05 -0700 (PDT) From: Richard Acayan To: "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Amit Kucheria , Thara Gopinath , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org Cc: Richard Acayan Subject: [PATCH v4 0/4] SDM670 Basic SoC thermal zones Date: Fri, 27 Mar 2026 21:40:37 -0400 Message-ID: <20260328014041.83777-1-mailingradian@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This adds support for the thermal sensor, for thermal-based CPU throttling via LMh, and for thermal zones. Changes since v3 (https://lore.kernel.org/r/20260310002037.1863-1-mailingradian@gmail.com): - support LMh clusters starting at CPU 6 (dt-bindings tag dropped) (3/4) Changes since v2 (https://lore.kernel.org/r/20260304014530.27775-1-mailingradian@gmail.com): - remove cooling from memory thermal zone (3/3) Changes since v1 (https://lore.kernel.org/r/20260210021607.12576-1-mailingradian@gmail.com): - add review tag from Krzysztof (1/3) - replace CPU thermal zones with lmh (2/3, 3/3) Richard Acayan (4): dt-bindings: thermal: tsens: add SDM670 compatible dt-bindings: thermal: lmh: Add SDM670 compatible thermal/qcom/lmh: support SDM670 and its CPU clusters arm64: dts: qcom: sdm670: add thermal zones and thermal devices .../devicetree/bindings/thermal/qcom-lmh.yaml | 3 + .../bindings/thermal/qcom-tsens.yaml | 1 + arch/arm64/boot/dts/qcom/sdm670.dtsi | 400 ++++++++++++++++++ drivers/thermal/qcom/lmh.c | 69 ++- 4 files changed, 460 insertions(+), 13 deletions(-) -- 2.53.0