From patchwork Fri Nov 18 11:04:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amjad Ouled-Ameur X-Patchwork-Id: 1901 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp126563wrr; Fri, 18 Nov 2022 03:07:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf4LLmvrHtZi/KUEwJw4eQDSPWqIZA8E3gGATtgEIqDeQ0CeE8yNW+PaFbNfmBWAXe92ZTIW X-Received: by 2002:a17:90a:1f87:b0:213:7d3d:a769 with SMTP id x7-20020a17090a1f8700b002137d3da769mr13174780pja.22.1668769665786; Fri, 18 Nov 2022 03:07:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668769665; cv=none; d=google.com; s=arc-20160816; b=S86dwepEPWTMHpbSQ/VkijSSLf865IE8nczAGB1K8poNoXiPdlrlhZ+wKMOWHQHuTN UGHF1vTq9j8NCzkH60wMU2vA9hg6okQCophAzpN9Z0u2qz4AUUHmTJ88x8UVjpHdBb/f Pehep8Ny/kOMsA17q5ty8dPGjruvQSkq4tBFMwZ+C2FQskqlCLp62HqBLlzVN6Tzu0Bl 60B2CSzx30Uiux4/smPjZTa0u95QuNu+bO0usKTaSgJJfLVR4qkOdoJhOFFU2C2EYFVf lkhoEyc9oDKruDU6q+CvbKAJ7Fo5HHhwzeMChXmt21F0P5+o369Q0ENtb656P7Ea9uaF NvBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:date:from :content-transfer-encoding:mime-version:subject:dkim-signature; bh=W5utuasYQCY2PHwGIWNvE6GgspjSjL4TUNPHSyHes/I=; b=l10cZz55Z+iiDC/jieopt0yqjyRYo1uQbY0H7FP3ZDcr4VesC/AvDEqf2tGIEprMsy vGXVZCDNUuRFhYJzhltCFrDNnfbHo97qrN2xu+HwolTdlYQityLmLkllAocdu9c3p8oF IJ//m5DTe+XYJtnW1zeONl6V5RhuS34SZYwq+llRm5jmy+1nmYOZVUMaKIsa3Zdk6zvB Tnsu35yJ5FNfKsh0+mtOhLTYOguq3giQtwwjehb3GH9l99nUS33QYKQwIbTB95H2/BCv 4Vg1JVRXu+reYTGMZQAcqM5NvygwfES0e55oOPY8U7h0OTbZnnEPCiwzHAn5D6WNp3j6 OGHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=rSp9wAeT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i16-20020a17090332d000b00186f035eda3si4022411plr.579.2022.11.18.03.07.20; Fri, 18 Nov 2022 03:07:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=rSp9wAeT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241362AbiKRLEy (ORCPT + 99 others); Fri, 18 Nov 2022 06:04:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241100AbiKRLEu (ORCPT ); Fri, 18 Nov 2022 06:04:50 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72A7097AAD for ; Fri, 18 Nov 2022 03:04:44 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id i186-20020a1c3bc3000000b003cfe29a5733so7259013wma.3 for ; Fri, 18 Nov 2022 03:04:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:from:to:cc:subject:date:message-id:reply-to; bh=W5utuasYQCY2PHwGIWNvE6GgspjSjL4TUNPHSyHes/I=; b=rSp9wAeTTAd+4EW6fNzgLlHHLU+EUHjuaCW7QbiIc2imX1FEIYxAES8RXClaTTvszF W8YsZh4otqH2pIO/hYL8a9lO0CzpX76WgvRaP99NHKhQPMvWn26pyWvD3xYNoNfDbUqL BtVrBxGY06h/2Yywyu7E8uHCdbLTDMkhLrMfhId2OnRzAcnS8g7Ryw0TpXqxWAWKSUrE +lcxoiJKVtwx8on9X8mrNfx0dheTs1cYexAJ991Y24BajwzMQkfXuH8zT6MmW+zSrG44 /1MM9wk07INizSU6dquUIgv1gCP0YliHX2OABjs34fgun6+YPuQXbL9GXvuboPXqRqJB 1bbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=W5utuasYQCY2PHwGIWNvE6GgspjSjL4TUNPHSyHes/I=; b=gRIyRBcx87JokErC/S5VrCrbWMigUBGEKRoP2CHWxuw3fL+1SUCvdDgsdoG4tvnKI2 3AbmtE+mCz0zwuaodo8vSrZ1s1HjnSjMCqO60fdoc7UwkOCq1uvAR4a9Xt4Y/dvCFOpI OJzfw1qTHj2PQZCr7yakoVKOIhYsfYYrbq+D/KleSz0ifvSFrPG8mMWuLk5AfRWkrsR8 F5KrVUIysHbDOKfE54EASo3Oz1ajV7E4uMnMhdkCX/Fgz4kJ++f68havFGEL3hbGwgN/ WeLnyLUHnX6xEDo0C4+OiVsnnRVY5Gfsz2Io405rL+IZi0OzSvIhgaE4Q38KSyFk2hCn 3pJQ== X-Gm-Message-State: ANoB5pkdcVnvEM+nRMEuqbHOidBQvkrgL/oYKroXNiaLnxg0+fYn12El HoLzd6WX/+yEG8laM+WA+yD34Q== X-Received: by 2002:a05:600c:2241:b0:3cf:9ced:dce4 with SMTP id a1-20020a05600c224100b003cf9ceddce4mr4440637wmm.120.1668769482928; Fri, 18 Nov 2022 03:04:42 -0800 (PST) Received: from [127.0.1.1] (210.145.15.109.rev.sfr.net. [109.15.145.210]) by smtp.googlemail.com with ESMTPSA id i14-20020adff30e000000b002368a6deaf8sm3316948wro.57.2022.11.18.03.04.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 03:04:42 -0800 (PST) Subject: [PATCH v7 0/4] thermal: mediatek: Add support for MT8365 SoC MIME-Version: 1.0 X-b4-tracking: H4sIALpmd2MC/4WNQQqDMBREryJ/3ZSoJLFd9R6liyR+zYcYJVFBxLv30wt0NbwZZuaEgpmwwLM6Ie NOhebEYG4V+GDTiIJ6Zmhk09Sy7sS2CGqVFGvAPNkoXKY0smn7ttN9a6TSA3Db2YIc2uQD99MWI5uB yjrn4/e2a5b3/+FdCyl8Z9xjMEop6V7OHpFcxrufJ/hc1/UFFjuc5sYAAAA= From: Amjad Ouled-Ameur Date: Fri, 18 Nov 2022 12:04:26 +0100 Message-Id: <20221018-up-i350-thermal-bringup-v7-0-ebf08ff2eddb@baylibre.com> To: "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Rob Herring , Krzysztof Kozlowski , Zhang Rui Cc: AngeloGioacchino Del Regno , Fabien Parent , Matthias Brugger , Markus Schneider-Pargmann , linux-pm@vger.kernel.org, Rob Herring , Michael Kao , linux-kernel@vger.kernel.org, Hsin-Yi Wang , Amjad Ouled-Ameur , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1668769481; l=1063; i=aouledameur@baylibre.com; s=20220920; h=from:subject:message-id; bh=pMaGIEwsrzpZmq4GokUNu2T3+sSq40Jxnt5PukxJb8M=; b=q8wORfumvupXVJQ0eIbhIXe7py+37KKcDffQKokfWVSbm5S8yMAD9qYJilKiWAIgwU25Mw2RsN52 5oNC9SGcABiEPep3Vj6BgcRGwlaB+KYwjBL+tHIyQHhDJ5OZEqfc X-Developer-Key: i=aouledameur@baylibre.com; a=ed25519; pk=HgYWawSL4qLGPx+RzJ+Cuu+V8Pi/KQnDDm1wjWPMOFE= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749831820997185032?= X-GMAIL-MSGID: =?utf-8?q?1749831820997185032?= This patchset adds thermal support for MT8365 SoC which contains three thermal sensors. Changes in v7: - Fix devm_thermal_of_zone_register() error checks. - Link to v6: https://lore.kernel.org/r/20221018-up-i350-thermal-bringup- v6-0-c87b9f75550b@baylibre.com Signed-off-by: Amjad Ouled-Ameur --- Amjad Ouled-Ameur (1): thermal: mediatek: add another get_temp ops for thermal sensors Fabien Parent (2): dt-bindings: thermal: mediatek: add binding documentation for MT8365 SoC thermal: mediatek: add support for MT8365 SoC Markus Schneider-Pargmann (1): thermal: mediatek: control buffer enablement tweaks .../bindings/thermal/mediatek-thermal.txt | 1 + drivers/thermal/mtk_thermal.c | 192 +++++++++++++++++---- 2 files changed, 161 insertions(+), 32 deletions(-) --- base-commit: 9d2bc364f67793cdd115f3ab92a18eaf85fee66f change-id: 20221018-up-i350-thermal-bringup-ad386d37056f Best regards,