From patchwork Fri Jul 19 12:08:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mateusz Majewski X-Patchwork-Id: 13737248 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 CA89BC3DA64 for ; Fri, 19 Jul 2024 12:10:36 +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=2oggq1cJ/h58DEMA1EPnxpHzRV+N2oiFBW83Vf5fiXo=; b=rL+WuVD899+6fkR/xou82g6bNZ DaqtXKkKKwGm9eXgLBrhzyFLG012uGi6FcIuAOentOfC0ng9WwVBKVytNN0RyuVpbX2vsy0vCbJ48 k8ax0XdvlSQlTO0+nseaAy39lSbda7d05HmkwKpevgVTpFG3DSjCZP40s+FY7ysVayRfXto73gEZC emFcYmFJUeICjCsOe2EaLXDKeRaGqsQALxTrtcE2R9ODNkXUye52myHKq64JVQ/gndDhMB9WFQTE7 F9EESenGBMh2NZMmoubGlllQElmR06Lu3kPIudiFALQ5rs5rWkPU2kOyt56/dyxCCsjp7nPyqR1c/ tS43sYBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUmRB-00000002aff-3inf; Fri, 19 Jul 2024 12:10:13 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUmQo-00000002aZK-2L35 for linux-arm-kernel@lists.infradead.org; Fri, 19 Jul 2024 12:09:53 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20240719120945euoutp02756d42aa9e2930e9e1c9744c3c886dfa~jm-sen-da2403824038euoutp02M for ; Fri, 19 Jul 2024 12:09:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20240719120945euoutp02756d42aa9e2930e9e1c9744c3c886dfa~jm-sen-da2403824038euoutp02M DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1721390985; bh=2oggq1cJ/h58DEMA1EPnxpHzRV+N2oiFBW83Vf5fiXo=; h=From:To:Cc:Subject:Date:References:From; b=h8kB7BDUMPu2jLSJK6dMYh4oT251AmETCSRK+YB3mpLEfO1NWkSTS+XR2e86dWrE1 HPZQwpcLq2Ggz1AsenZgfBot7BOXjoknvBO33koW4AML6nIdzW4KvJNaE2pcLp6IhA GTRz7uwoZm1oy6PxXDBywlE98TwUuJPUQfvgQRzQ= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240719120945eucas1p1cf150bcfe0c8d6cd7b5d63bbe0ba81d5~jm-sL3Byi0040800408eucas1p1c; Fri, 19 Jul 2024 12:09:45 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id CA.8A.09875.8875A966; Fri, 19 Jul 2024 13:09:45 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20240719120944eucas1p29318fb588150b15f60f637fbea48271f~jm-rZB7nX0386803868eucas1p2n; Fri, 19 Jul 2024 12:09:44 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240719120944eusmtrp12f10a72f3fb4694ccba8d2e46727ecca~jm-rYPaxe0596405964eusmtrp1O; Fri, 19 Jul 2024 12:09:44 +0000 (GMT) X-AuditID: cbfec7f4-11bff70000002693-be-669a57888b3b Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id F9.85.08810.8875A966; Fri, 19 Jul 2024 13:09:44 +0100 (BST) Received: from AMDC4515.eu.corp.samsungelectronics.net (unknown [106.120.51.28]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240719120943eusmtip16111bf602808784812aeb176aa5561a0~jm-qlF-NG0493704937eusmtip1e; Fri, 19 Jul 2024 12:09:43 +0000 (GMT) From: Mateusz Majewski To: 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 Cc: Mateusz Majewski , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar Subject: [PATCH 0/6] Add initial Exynos 850 support to the thermal driver Date: Fri, 19 Jul 2024 14:08:44 +0200 Message-ID: <20240719120853.1924771-1-m.majewski2@samsung.com> X-Mailer: git-send-email 2.45.1 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrKKsWRmVeSWpSXmKPExsWy7djP87qd4bPSDFbdZbR4MG8bm8X3LdeZ LNbsPcdkMe+zrMX8I+dYLc6f38BusenxNVaLy7vmsFl87j3CaDHj/D4mi4VNLewWE49NZraY +2Uqs8X/PTvYLZ487GNz4PdYM28No8fOWXfZPRbvecnksWlVJ5vHnWt72Dw2L6n36NuyitHj 8ya5AI4o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I+dYLc6f38BusenxNVaLy7vmsFl87j3CaDHj/D4mi4VNLewWE49NZraY +2Uqs8X/PTvYLZ487GNz4PdYM28No8fOWXfZPRbvecnksWlVJ5vHnWt72Dw2L6n36NuyitHj 8ya5AI4oPZui/NKSVIWM/OISW6VoQwsjPUNLCz0jE0s9Q2PzWCsjUyV9O5uU1JzMstQifbsE vYxv6/6zFSxhr3g6o521gbGDrYuRk0NCwETi09+drF2MXBxCAksZJSbe/cMEkZCWOPxlCjuE LSzx51oXWIOQQDOTxItljiA2m4CBxIM3y8BqRASWM0psbvcAGcQsMItZovfUVMYuRg4OYQFP iX3/vUBqWARUJT58O84CYvMK2Emc73nADDFfXqJ3fx8TRFxQ4uTMJ2A1zEDx5q2zmScw8s1C kpqFJLWAkWkVo0hqaXFuem6xoV5xYm5xaV66XnJ+7iZGYDRtO/Zz8w7Gea8+6h1iZOJgPMQo wcGsJMLr921mmhBvSmJlVWpRfnxRaU5q8SFGU6D7JjJLiSbnA+M5ryTe0MzA1NDEzNLA1NLM WEmc17OgI1FIID2xJDU7NbUgtQimj4mDU6qBaeXaOV85Ok6klV7j33hD6H/vi2IL5m1yix6c llhTEFn7/TzDxl7NXbc1Q+/5iZjHK0kvDKu68q42wz3r4a74715raz9J/JT5oiTk7v2qdoVW wTOT3rS5B991J+kUXczY7HDz/XcPgRS2ou8JNdwlE/yYJbse6v256drU0pPFxthdcePx9Ekh B79fVEw9HTCpOW+VFFPc1aCMLPMQh1XzXnkuXZsc7KG7ZJLsl4P37ee1ZkrprGT8bnPw6dZC 9Wmqym6fnYyvnI61TmPfw75mrt+tv95nbXinaxz7e7Fv1fNK67dzX7mVaC5aa+MuuK5C40XE oqmlAu/Xmvw+zfZVaeqeKczWaRE3t6e/7u7TVWIpzkg01GIuKk4EAGFZDXcvAwAA X-CMS-MailID: 20240719120944eucas1p29318fb588150b15f60f637fbea48271f X-Msg-Generator: CA X-RootMTR: 20240719120944eucas1p29318fb588150b15f60f637fbea48271f X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240719120944eucas1p29318fb588150b15f60f637fbea48271f References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240719_050951_258339_0AC1358F X-CRM114-Status: GOOD ( 10.48 ) 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 series adds initial Exynos 850 support to the thermal driver together with its requirements (tmu_temp_mask fix, making data->clk optional, adding the new string to dt-bindings), while also cleaning up a bit (using DEFINE_SIMPLE_DEV_PM_OPS and removing some outdated information from dt-bindings). Mateusz Majewski (6): drivers/thermal/exynos: use DEFINE_SIMPLE_DEV_PM_OPS drivers/thermal/exynos: use tmu_temp_mask consistently drivers/thermal/exynos: check IS_ERR(data->clk) consistently dt-bindings: thermal: samsung,exynos: add exynos850-tmu string drivers/thermal/exynos: add initial Exynos 850 support dt-bindings: thermal: samsung,exynos: remove outdated information on trip point count .../thermal/samsung,exynos-thermal.yaml | 33 ++- drivers/thermal/samsung/exynos_tmu.c | 279 +++++++++++++++--- 2 files changed, 270 insertions(+), 42 deletions(-)