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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 721BEC43217 for ; Fri, 18 Nov 2022 11:04:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241513AbiKRLEz (ORCPT ); Fri, 18 Nov 2022 06:04:55 -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-Google-Smtp-Source: AA0mqf7vxiK6P3WffMyqgJ/8O3L40bk6P5sB2XrwVhiaTgxXC7+NTxtdHsFvSQzKB4yODDsSh9V93g== 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, -- Amjad Ouled-Ameur 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 589C5C433FE for ; Fri, 18 Nov 2022 11:06:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Message-Id:Date:From:MIME-Version :Subject:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=MNrqyHq1JWWQ3NlSPC7wNFVnOVYQDavct2VYkDvZZKE=; b=N4jjLnpfomN6Iy HxxOJafz0jnuIITnYckz0RMlcw7sCrys4lGTYNXc9MieK6bs4HFR9I0f7x3hhSIax/HwEMT9dWSJv EZBbVn6gEH4i7O/0ol9Ue+gWUrlYqRLm/CDWBFzPExBK4lmKB4GvdSItPcM7TsijzYnMxXlpbHiF9 HcG4QpvGmALfHDTpw7pxg2j2YpgLXPqdzxKZvGTJUXg8xAa93RIxdgibQg37D2/4OjmcQEbAMMrOw 5jLh7kpNEjNxb8VNNjmszSBO+2PfRRW87oWde2bYLJVdFH3a70ggb356WGo2UYBsujOf8hpxgSLcA JrHJ/LttCZbaztBGniMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovzB1-003XLI-05; Fri, 18 Nov 2022 11:04:55 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovzAr-003XHB-RC for linux-arm-kernel@lists.infradead.org; Fri, 18 Nov 2022 11:04:52 +0000 Received: by mail-wm1-x329.google.com with SMTP id v124-20020a1cac82000000b003cf7a4ea2caso7259109wme.5 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=bRtKuhqjmE4HePXYdB5B5Il7xDHwCstmg/na4h9D/+qIw3ZX245RGsqYgFZR16w8VV xjvawUj0AQzH4nzaTwjWOtK/7lv2JQKxwcu2m8CSc912H2iZOBubW/lus19xqEeXM7vX d8t6oHFdfVBGq5GwUo6shTRqHKCf7IwxjRLhir17SSP09wC78PndFSLIvhnxFQFw50XD bExOPuZB9yltZ2ALNQKntbi4vMHqHxUXp1ROW7Tuuyp6kXXq91zzbL0OxEqbqSRbITbA 2KZmsUmF22oIaBjzLB1qWR+hOmYt8v5mEoaF+DmiYJNy5AI/nelt3wpJF+Jcp4jnkYIi XlWg== X-Gm-Message-State: ANoB5pl8L/xrYSX6hnGsZFmsoF43jNPImA5rYTzXbcY8anjq81NP0UkE /8q/b8FLhLikQITYPL+uNu/9gw== X-Google-Smtp-Source: AA0mqf7vxiK6P3WffMyqgJ/8O3L40bk6P5sB2XrwVhiaTgxXC7+NTxtdHsFvSQzKB4yODDsSh9V93g== 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221118_030445_906725_FD7828DD X-CRM114-Status: UNSURE ( 8.67 ) X-CRM114-Notice: Please train this message. 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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, -- Amjad Ouled-Ameur _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel