From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8D1EFCA0FF2 for ; Wed, 3 Sep 2025 08:08:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:References:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:List-Owner; bh=C12f3ohxzfB7ELhKTKFriefQ22srh7Dm7SaUfSw9ItU=; b=hqlZylKvloNu6EOxM+Uk68/uJq YR61pL9pibbOE52GOFrMmvitGArSHg/Go5RH5JoNHbim5MrMDoInOCpH1LSMaR1t6ufaCJdIqyiHf SLrgNNo0uuTukWBJFajN9WISSBSAtiF5xVsGLiGhx9PsTULnhnDFP8CqRERrdMRl/C1SK3WXLbOg6 ONYuLDJdunoHSKTUhp9IxX8PSpQWsper7A0NO+WY87qLwixP9N8DWR3mjnIsZl5sWSM4K05KYY4VT dBQxobmBNXdDCgfqKHfO0e7kmdFeLkHpC6MIPtsqXDiwjkdPBXf3FfzVNivY1TL0DTW3nLQABCHDU 1Mx30D0w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1utiXz-00000005QRb-1zn7; Wed, 03 Sep 2025 08:08:51 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uti39-00000005A0A-2ioy for linux-arm-kernel@lists.infradead.org; Wed, 03 Sep 2025 07:37:01 +0000 Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20250903073655epoutp031b7dbef055027ad6327b86c463f54bae~htZzuWrYR0162801628epoutp03T for ; Wed, 3 Sep 2025 07:36:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20250903073655epoutp031b7dbef055027ad6327b86c463f54bae~htZzuWrYR0162801628epoutp03T DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1756885015; bh=C12f3ohxzfB7ELhKTKFriefQ22srh7Dm7SaUfSw9ItU=; h=From:To:Cc:Subject:Date:References:From; b=c7/JdKyn/F49h+qTEcpbCur/8gcRIn6vSjY5zLeR+CxRp+/zMwcPToPlAv7kKfXv5 /kSXJz8riaYpfO/GsDBr6dZ2chwTdTaYLWgC+lXQGZkmqCe8VgZ3h7VYH8x79B74rv mw5ruNare//yysMwFJvmTeew2LWX1QYstdoJmtAQ= Received: from epsnrtp02.localdomain (unknown [182.195.42.154]) by epcas2p2.samsung.com (KnoxPortal) with ESMTPS id 20250903073654epcas2p2fc7ce62b8c242ddfec893d303b523a5e~htZzMZIvH0888008880epcas2p2L; Wed, 3 Sep 2025 07:36:54 +0000 (GMT) Received: from epcas2p4.samsung.com (unknown [182.195.36.99]) by epsnrtp02.localdomain (Postfix) with ESMTP id 4cGvZG0kxsz2SSKn; Wed, 3 Sep 2025 07:36:54 +0000 (GMT) Received: from epsmtip2.samsung.com (unknown [182.195.34.31]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20250903073653epcas2p49e89e5face6059bc8a58f212faa835d1~htZx8PTcr0925409254epcas2p4v; Wed, 3 Sep 2025 07:36:53 +0000 (GMT) Received: from asswp60 (unknown [10.229.9.60]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20250903073653epsmtip27f0a34b766443223f32830a2ec8775eb~htZx3tggi2959129591epsmtip2E; Wed, 3 Sep 2025 07:36:53 +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 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 v2 0/3] Add exynosautov920 thermal support Date: Wed, 3 Sep 2025 16:36:31 +0900 Message-ID: <20250903073634.1898865-1-shin.son@samsung.com> X-Mailer: git-send-email 2.50.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMS-MailID: 20250903073653epcas2p49e89e5face6059bc8a58f212faa835d1 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: 20250903073653epcas2p49e89e5face6059bc8a58f212faa835d1 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250903_003700_362276_7C90726B X-CRM114-Status: GOOD ( 17.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series adds support for exynosautov920, automotive-grade processor. Although the exynosautov920's TMU hardware differs slightly from exisiting platform, its read and calibration logic closely follow our legacy TMU interface. To prevent runtime and build time errors, it is kept as a single change rather than being split. This change merges the new exynosautov920-specific register definitions and timing parameters into the exynos-tmu driver, ensuring consistent behavior across all Exynos series. All new code paths have been tested on a exynosautov920 board and verified to correctly read temperatures and emulate behavior. Changes in v2: - Replace the generic property with a vendor-specific one. - Added an indices property instead of ranges. - Shortened thermal node name and made them more generic. - Updated the indices logic accordingly after removing the ranges property. Shin Son (3): dt-bindings: thermal: samsung: Add tmu-name and sensor-index-ranges properties thermal: exynos_tmu: Support new hardware and update TMU interface arm64: dts: exynosautov920: Add tmu hardware binding .../thermal/samsung,exynos-thermal.yaml | 16 +- .../boot/dts/exynos/exynosautov920-tmu.dtsi | 97 +++++ .../arm64/boot/dts/exynos/exynosautov920.dtsi | 31 ++ drivers/thermal/samsung/exynos_tmu.c | 340 ++++++++++++++++-- 4 files changed, 446 insertions(+), 38 deletions(-) create mode 100644 arch/arm64/boot/dts/exynos/exynosautov920-tmu.dtsi -- 2.50.1