From nobody Thu Oct 2 18:08:28 2025 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) (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 80D5D2627EC for ; Mon, 15 Sep 2025 04:07:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757909268; cv=none; b=ujBmndtDeISshOMjT1j4OlM6SE54XAfzIyDMYnwwUdO1JoDWbp929QCvODW98PdnpOTeDx0XnMA4Udyw9DFIY/8gOqCvZOFek4IfT1ANdW3+ovvBNrsjysWDvbQVllURpV6BQl4NzME9YuMxogcfMYthwsMZE6zQCfu3DyzXNsE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757909268; c=relaxed/simple; bh=/OKMi0PnO4k+dDlZzQopdGGaUBSxmOlHHX8LMLoa7Tc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=JWZZKZOt94dKRYXIuASA6Ws0Wd0cLnLsgSUmwQdOmrg8zbbzHiCmIUHk1FKE4aloeJ672+BhC1EJc4rwKOOb3BaqvZYh03Ml0cCsA524oSCujhNJixJ/YPJcLHcSLkdu19+ZEHYh4+Qs4TmqS32vdsmivOaqWPNokdSOAyCaS0I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=U7LIIgpu; arc=none smtp.client-ip=203.254.224.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="U7LIIgpu" Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20250915040744epoutp03284476add525e2e4d71505faea8dd1a7~lWSmFKsZo2703127031epoutp03H for ; Mon, 15 Sep 2025 04:07:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20250915040744epoutp03284476add525e2e4d71505faea8dd1a7~lWSmFKsZo2703127031epoutp03H DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1757909264; bh=2lZzaMhkerEF9X8trQsLpjUpa3JpSWLt4zEQJ0GLguw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U7LIIgpuGUhCXSZnPDcOsUAc9ZRqaGGj77Fhp8+/CFpc/QGaitY4fo47RvgyN8Pbe CLTQm2fRC3f8J3hzZBRkKG6sN5S0KiQEZ3ehE3cJ25FgwjGgOfhu4QeydFHAobqR8p mXbRk3995l2jhu3SQSFbnP/52XjTmO0OaxqHgCrk= Received: from epsnrtp04.localdomain (unknown [182.195.42.156]) by epcas2p1.samsung.com (KnoxPortal) with ESMTPS id 20250915040743epcas2p12771b571ce7f5fc30b1a2d5c21cf092f~lWSlknehV2098120981epcas2p19; Mon, 15 Sep 2025 04:07:43 +0000 (GMT) Received: from epcas2p2.samsung.com (unknown [182.195.36.101]) by epsnrtp04.localdomain (Postfix) with ESMTP id 4cQBMM1dXrz6B9m6; Mon, 15 Sep 2025 04:07:43 +0000 (GMT) Received: from epsmtip1.samsung.com (unknown [182.195.34.30]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20250915040742epcas2p4ddc37eb56eb9d96313a5c3fac8befe5d~lWSkYbScR0669406694epcas2p47; Mon, 15 Sep 2025 04:07:42 +0000 (GMT) Received: from asswp60 (unknown [10.229.9.60]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20250915040742epsmtip1c26994646df08c79e3a53cfd16ff13e9~lWSkRItFT3249532495epsmtip1e; Mon, 15 Sep 2025 04:07:42 +0000 (GMT) From: Shin Son To: Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski , "Rafael J . Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Henrik Grimler Cc: Shin Son , linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/3] dt-bindings: thermal: samsung: Add a hw-sensor-indices property Date: Mon, 15 Sep 2025 13:07:13 +0900 Message-ID: <20250915040715.486733-2-shin.son@samsung.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250915040715.486733-1-shin.son@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CMS-MailID: 20250915040742epcas2p4ddc37eb56eb9d96313a5c3fac8befe5d X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P cpgsPolicy: CPGSC10-234,Y X-CFilter-Loop: Reflected X-CMS-RootMailID: 20250915040742epcas2p4ddc37eb56eb9d96313a5c3fac8befe5d References: <20250915040715.486733-1-shin.son@samsung.com> The exynosautov920 TMU requires per-sensor interrupt enablement for its critical trip points. - **samsung,hw-sensor-indices**: List of sensor indices physically monitored by this TMU block. Indicies not listed exist in the SoC register map but are not part of this TMU instance Additionally, add myself to the bindings' maintainers list, as I plan to actively work on the exynosautov920 TMU support and handle further updates in this area. I also restrict 'samsung,hw-sensor-indices' to the V920 variant. To ensure properties introduced in 'if/then' blocks are recognized, I replace 'addtionalProperties: false' with 'unevaluatedProperties: false'. Signed-off-by: Shin Son --- .../thermal/samsung,exynos-thermal.yaml | 40 ++++++++++++++++++- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/samsung,exynos-therm= al.yaml b/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.= yaml index 29a08b0729ee..448c68986b10 100644 --- a/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml @@ -8,6 +8,7 @@ title: Samsung Exynos SoC Thermal Management Unit (TMU) =20 maintainers: - Krzysztof Kozlowski + - Shin Son =20 description: | For multi-instance tmu each instance should have an alias correctly numb= ered @@ -27,6 +28,7 @@ properties: - samsung,exynos5420-tmu-ext-triminfo - samsung,exynos5433-tmu - samsung,exynos7-tmu + - samsung,exynosautov920-tmu =20 clocks: minItems: 1 @@ -62,7 +64,7 @@ properties: minItems: 1 =20 '#thermal-sensor-cells': - const: 0 + enum: [0, 1] =20 vtmu-supply: description: The regulator node supplying voltage to TMU. @@ -97,6 +99,8 @@ allOf: reg: minItems: 2 maxItems: 2 + '#thermal-sensor-cells': + const: 0 - if: properties: compatible: @@ -119,6 +123,8 @@ allOf: reg: minItems: 1 maxItems: 1 + '#thermal-sensor-cells': + const: 0 =20 - if: properties: @@ -139,8 +145,38 @@ allOf: reg: minItems: 1 maxItems: 1 + '#thermal-sensor-cells': + const: 0 =20 -additionalProperties: false + - if: + properties: + compatible: + contains: + const: samsung,exynosautov920-tmu + then: + properties: + clocks: + minItems: 1 + maxItems: 1 + reg: + minItems: 1 + maxItems: 1 + '#thermal-sensor-cells': + const: 1 + samsung,hw-sensor-indices: + description: + List of thermal sensor indices physically monitored by this TM= U instance. + Indices not listed correspond to registers that exist in the S= oC + but are not connected to this TMU hardware block. + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 1 + maxItems: 16 + uniqueItems: true + items: + minimum: 0 + maximum: 15 + +unevaluatedProperties: false =20 examples: - | --=20 2.50.1