From patchwork Tue May 30 20:12:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 10064 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2435695vqr; Tue, 30 May 2023 13:16:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6oyhdeHsu+VgMS2SC+dmrMix6+gHfAP0FuMajuysNUeWZ0Jf+p7ejDo6xwmcn9S41ypMLY X-Received: by 2002:a17:902:d510:b0:1b0:4a37:9ccc with SMTP id b16-20020a170902d51000b001b04a379cccmr4222155plg.62.1685477785488; Tue, 30 May 2023 13:16:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685477785; cv=none; d=google.com; s=arc-20160816; b=JyFIzwsKTU6y1Ibuf0Ac7GKP8C+fxLcPSECa+xhprlEdBo8JDHtePwVruXpGXDbCeb ErnfRlXrvbdXqkZ/6ZLggEppvqx2yVhyV8SgZ5/5v3W/mrNxSqaDPBxBNSCTfmE/343t fRqM30gPyGi92ypRvc8xEZRG3VmN9Xw4KUzRVO60zZxPCm8nkxEhqCCWi/PW4p+3K97c ptqUa7YS0i5bMrYadoM3UrrG9G30vHpAErYaBpvkBW9j3dNZqjFVvcUOiJfR2P/AMRg3 7e6SKO1IzXtxzls5pBdWPLAx2Sfb7WAaxIuPGUiTmVLgHirFgzYHgUqy8RR3kz9BmgEP RYRA== 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=sWxb1uLSvOMQ+A7ucc82ozJghsSsGNrOYRShIiqyHuE=; b=ILMmq1iOdV1wUh+12Q9WYFOtzVvdRfe6CSUz73iYTA9Y+xbKrnemmLRc4YMYw6WquL 5PBterXkVQLlkeI9uTE2DMvn0xBrxQWfNbMCRJHflvv2W1IPc14EYyY+KfgCobn0+Pej RXlf7qBOtUC7DB4SIb1Okwb6OE3wi7lq/Kn3C3jrdKT8l4hKiRxVRogyHX4SK2/ozucx 1a/mwXWqy60z6ZhTj+xqGr5ztvwBY1XNkE/1PbV+uyDHnoBdL8IlOHBX9Z/djSdPS9I5 K5ykN0LosKMAEbZvvEbY8J6SsqF8ZHJ+rXh06uzySqibsUnFmXCYb7SWOyglgiSPXgMj Vy6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=QZTiWltm; 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 t9-20020a1709028c8900b001ae5fb1436asi11221966plo.184.2023.05.30.13.16.12; Tue, 30 May 2023 13:16:25 -0700 (PDT) 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=@mailerdienst.de header.s=20200217 header.b=QZTiWltm; 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 S233030AbjE3UNh (ORCPT + 99 others); Tue, 30 May 2023 16:13:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231299AbjE3UNf (ORCPT ); Tue, 30 May 2023 16:13:35 -0400 Received: from mxout3.routing.net (mxout3.routing.net [IPv6:2a03:2900:1:a::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DB1E9D; Tue, 30 May 2023 13:13:33 -0700 (PDT) Received: from mxbox1.masterlogin.de (unknown [192.168.10.88]) by mxout3.routing.net (Postfix) with ESMTP id 50EFB62622; Tue, 30 May 2023 20:13:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1685477611; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=sWxb1uLSvOMQ+A7ucc82ozJghsSsGNrOYRShIiqyHuE=; b=QZTiWltmIj1vb+SR0MGMJsQgkkG2BnlKci1RPZHFhCMPM62XvYjyHAtzxcduI7NKXHFsdx +9s8NoUNnrF62WAIQQ0ciKElH+jeXpsJOZL4UZM8MppYOiPZiGRDJfXLS9PhZZh7sglSUZ LLpDi2VZio3iOldbNvOugWlfWESopmM= Received: from frank-G5.. (fttx-pool-217.61.157.145.bambit.de [217.61.157.145]) by mxbox1.masterlogin.de (Postfix) with ESMTPSA id 263A040ACA; Tue, 30 May 2023 20:13:20 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno , Srinivas Kandagatla , "Hui.Liu" , Zhiyong Tao , Andrew-CT Chen , Lala Lin , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Daniel Golle Subject: [PATCH v3 0/4] Add mt7986 thermal Date: Tue, 30 May 2023 22:12:31 +0200 Message-Id: <20230530201235.22330-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Mail-ID: 9f03fd52-88cf-4dc1-98dd-2f3ea44d9010 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, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1767351554057671828?= X-GMAIL-MSGID: =?utf-8?q?1767351554057671828?= From: Frank Wunderlich This series add thermal related devicetree-nodes and necessary dt-bindings. I left pwm-fan for r3 for now as i cannot test this completely due to missing 2 pin-jack and 3v3 pwm-level which my fan cannot handle (starts spinning at ~3V). Only checked voltage of pwm there. changes in v3: - efuse compatibles into one line changes in v2: - drop highest 2 trip points as they are not yet used - leave already applied patches Daniel Golle (3): arm64: dts: mt7986: add thermal and efuse arm64: dts: mt7986: add thermal-zones arm64: dts: mt7986: add pwm-fan and cooling-maps to BPI-R3 dts Frank Wunderlich (1): dt-bindings: nvmem: mediatek: efuse: add support for mt7986 .../bindings/nvmem/mediatek,efuse.yaml | 1 + .../dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 31 ++++++++++ arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 62 +++++++++++++++++++ 3 files changed, 94 insertions(+)