From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 19319416CF4; Tue, 11 Aug 2026 08:37:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786437470; cv=none; b=phv5aA9AIejz/Rxst9DNgYYtHPO/eMYseaWzDgRag1acIijFHAPBdofIIDLtfha3+jBl364peVL38HqVZ+1DKpzPBmWx9g/ffzMk/Fhk/HzAt2363Rabmg+yhFmaRhPDNOzeLGgvcKQSBkbFh0j/85yv7hPwg8oXDXKHf+2O3/s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786437470; c=relaxed/simple; bh=ch2VZcF0grYih0yOT/whjAaAflovv1AgsISvBsyTzfc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XJMbWgAL/YP3XAzk117oEVR4GrxRq1XbfuoOpa22UF/BAJTz4EGOokrEZGhBSskQbDcg7WZSHvT+8Fidt/byONtmJT3QUst2n/GGChjFErDxI+kzOzJXYm9YnwnD8Ip+ymcOhAdD0YVoLGADEVo41ktglnjz4UQpquCYHD+GsVA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rrgU7J2Y; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rrgU7J2Y" Received: by smtp.kernel.org (Postfix) with ESMTPS id AD873C2BCF7; Tue, 11 Aug 2026 08:37:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786437469; bh=ch2VZcF0grYih0yOT/whjAaAflovv1AgsISvBsyTzfc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=rrgU7J2Y1V9rqx/kqmCd+p24ryn8GdNYFQIdhyyXPjWh9474PD5hjKr+vajyUuh2w 0rkOf02D05OUqOb9ZMhREMPNJ7BZ7cKO27WTQrrNxcBbpujrSMW1WRVXlpFh2W8yXH HhoQ+bAggqEoOjELhqvXmX0kZdJ1k+edMG9VFLRddKQ8Lj7nAYjwS+fbcbBCzcgTOf uS0R/xH+ifKUth54aH3bbJVpO/A59mMXrtvpmCiNGCA7YncZXQRGtY2dGl7dOZYof3 yHEZWGhOyLiO+Fl+7yRRkI5vSMZAqhgKbydm9Wd7fa21kgpM92JqaHmU3f8oGehpZz T3jcEqEvXpCqQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D6DAC5CFCF; Tue, 11 Aug 2026 08:37:49 +0000 (UTC) From: Xianwei Zhao via B4 Relay Date: Tue, 11 Aug 2026 08:37:43 +0000 Subject: [PATCH v2 1/2] dt-bindings: thermal: amlogic: Add A9 thermal bindings Precedence: bulk X-Mailing-List: linux-pm@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: <20260811-a9-thermal-v2-1-7ddc33b11b9a@amlogic.com> References: <20260811-a9-thermal-v2-0-7ddc33b11b9a@amlogic.com> In-Reply-To: <20260811-a9-thermal-v2-0-7ddc33b11b9a@amlogic.com> To: Guillaume La Roque , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-pm@vger.kernel.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Xianwei Zhao X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786437467; l=1992; i=xianwei.zhao@amlogic.com; s=20251216; h=from:subject:message-id; bh=gngHN4z9n9SyMoa266ohNEAmKi+Ijay9m70fUU9mI0o=; b=37ZiIJ+xetzlRFfaxCJYoIvP1OvG88dwoQmjgOt2EWfSButDyuYBCfWh8YWRam8zT9L9sswQ0 /nu4f6ZKAdgBdRU37UleFI7zV9sRpkDKL998dVYZoSx1Az1qNyBXccF X-Developer-Key: i=xianwei.zhao@amlogic.com; a=ed25519; pk=dWwxtWCxC6FHRurOmxEtr34SuBYU+WJowV/ZmRJ7H+k= X-Endpoint-Received: by B4 Relay for xianwei.zhao@amlogic.com/20251216 with auth_id=578 X-Original-From: Xianwei Zhao Reply-To: xianwei.zhao@amlogic.com From: Xianwei Zhao Document the thermal controller compatibles for the Amlogic A9 SoC. Describe the required "core" and "plck" clocks, add the optional "amlogic,hw-reset-temp" property, and update the schema constraints for A9-specific thermal controllers. Signed-off-by: Xianwei Zhao --- .../bindings/thermal/amlogic,thermal.yaml | 28 +++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml index 8cfa44dcda58..f73ee66bcc47 100644 --- a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml @@ -23,6 +23,7 @@ properties: - const: amlogic,g12a-thermal - enum: - amlogic,a1-cpu-thermal + - amlogic,a9-thermal - amlogic,t7-thermal reg: @@ -32,7 +33,13 @@ properties: maxItems: 1 clocks: - maxItems: 1 + minItems: 1 + maxItems: 2 + + clock-names: + items: + - const: core + - const: pclk power-domains: maxItems: 1 @@ -52,6 +59,10 @@ properties: - description: phandle to the secure monitor - description: sensor index to get specific calibration data + amlogic,hw-reset-temp: + description: The hardware-controlled reset temperature value. + $ref: /schemas/types.yaml#/definitions/uint32 + required: - compatible - reg @@ -73,6 +84,21 @@ allOf: required: - amlogic,secure-monitor + - if: + properties: + compatible: + contains: + enum: + - amlogic,a9-thermal + then: + required: + - clock-names + else: + properties: + clocks: + maxItems: 1 + clock-names: false + unevaluatedProperties: false examples: -- 2.52.0