From patchwork Wed Sep 20 17:49:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 14285 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp4370564vqi; Wed, 20 Sep 2023 12:20:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHptsbkL04jIs9+UeRNz8n41x+dV+5VHzVQ4UnfPUIgIOrCDW4Rc69u9l2aaCioZfQvK++g X-Received: by 2002:a05:6a00:16d0:b0:690:fd48:1aa4 with SMTP id l16-20020a056a0016d000b00690fd481aa4mr2183590pfc.0.1695237603459; Wed, 20 Sep 2023 12:20:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695237603; cv=none; d=google.com; s=arc-20160816; b=WfBuX4XEVZj3EMWbU3hjAA0xxuHkjz8tK4RRtOdnGyuD1qJp2o7vK5XajT5EiljO8H B98jeZ03fGrMkukOjFmXD2vMMxYwSzff3aW95ZTMmU0mKxjI51+uEv+kHBojhuGPSUVM ohoWaW2FMHtMpRRKgKvl3hbDvKkiuJ91a4Xfi+nPXQUdv8IX1VzsPckFrxbJl7tycrKg nHJFoMjS6n/prVBsRAQVIoczmOmex3a8j0hJnUUWeS6Pr0a19L0MDGGxYTOHbaQun9NC 4DQlN+0WzeDAmLwgji5jCE/ApKgjnMwaBCIcRJPBkllvQkD1TJCtsRVuM13hjnFGDlhP xS/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=pQwUghND64z4zbqjWnqIEtEy0NxbaqCMpc241OsTuik=; fh=FBLOeAhicL3MHbPCCQPBrSY+L4SCfw6OdXtfmzn+ZOE=; b=keHCOZI6nwzVh58fG9qT7b798UbRis2kpQD5P5nM0k7zHsBCub9WV15RnzW4Pjqc6A Sp+7rwksXT1nOxM9XBMRCyvABN4W0QmJx863PEuyTGSFas+23DPG6O+LhEEwoarsB1An g4VbSydz6L4EsLjaBoapnGwkuu0dgzodHv8PyJNtP3fpjBY4hZ8tqzfMQttTTytzhHCW EGYuAHZr0/lVXPt19lD2tK5MtPMUp2YcMnFR9lNvhwFdZuEH3+//3xPke9ELgK4k5iqN Wyb9XyVMj/rlNzIY6OVdpON9dZghtvwdbosqvKH6Tw+HwOXXCZ+l6fIkfreR5TDzhwH4 ngZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=VYXBfEmu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id dc12-20020a056a0035cc00b0068fb895055esi813166pfb.351.2023.09.20.12.20.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 12:20:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=VYXBfEmu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 4BF10826CB67; Wed, 20 Sep 2023 10:50:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229566AbjITRuS (ORCPT + 27 others); Wed, 20 Sep 2023 13:50:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjITRuR (ORCPT ); Wed, 20 Sep 2023 13:50:17 -0400 Received: from mxout4.routing.net (mxout4.routing.net [IPv6:2a03:2900:1:a::9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55CCBB9; Wed, 20 Sep 2023 10:50:10 -0700 (PDT) Received: from mxbox2.masterlogin.de (unknown [192.168.10.89]) by mxout4.routing.net (Postfix) with ESMTP id 433E5100822; Wed, 20 Sep 2023 17:50:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1695232208; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pQwUghND64z4zbqjWnqIEtEy0NxbaqCMpc241OsTuik=; b=VYXBfEmu1ygEHqH3fhaXBfVCODUYWXYlUAm2s5VwSkIrzBy1EVL0JUvfqGJCB2KqfVgm90 j7aoOGoBCqoUcGxrxQiePAkOoAYenfUM452VGRZs9dsyJHhh9l8n0R+yPBFIvCJUuYEnsc Px1nUcQ039VWGuINGHwlnAiBOV6wiho= Received: from frank-G5.. (fttx-pool-217.61.152.105.bambit.de [217.61.152.105]) by mxbox2.masterlogin.de (Postfix) with ESMTPSA id 3BC671006BE; Wed, 20 Sep 2023 17:50:07 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/4] add LVTS support for mt7988 Date: Wed, 20 Sep 2023 19:49:57 +0200 Message-Id: <20230920175001.47563-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Mail-ID: 52ab3123-c9b5-44d2-9154-ab57bf928408 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 20 Sep 2023 10:50:23 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777585465195944592 X-GMAIL-MSGID: 1777585465195944592 From: Frank Wunderlich This series makes allows soc specific temperature coefficients and adds support for mt7988 which has a different one. Frank Wunderlich (4): dt-bindings: thermal: mediatek: add mt7988 lvts compatible dt-bindings: thermal: mediatek: Add LVTS thermal sensors for mt7988 thermal/drivers/mediatek/lvts_thermal: make coeff configurable thermal/drivers/mediatek/lvts_thermal: add mt7988 support .../thermal/mediatek,lvts-thermal.yaml | 1 + drivers/thermal/mediatek/lvts_thermal.c | 97 +++++++++++++++---- .../thermal/mediatek,lvts-thermal.h | 9 ++ 3 files changed, 90 insertions(+), 17 deletions(-)