From patchwork Thu Feb 1 18:24:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 13541629 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 47716C48286 for ; Thu, 1 Feb 2024 18:24:41 +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: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:References: List-Owner; bh=VjKxZR1MSr42aiudrztrglk2cp8HSZkWEWBkZbt4iZg=; b=C5vbCASyMjJbrB hhIiqCSp2rPNXOvr/B1zlQH14Tnc66m4JI5ybE+bvufd38XZjRbgSn32k+KyWC8SyB2RN4u+vigEA bGpR8e0xmYC8i+n9/5f1IH0xwfFXobchAaBiw0lBKKh+ro/YHSOTooadHC3NzSXCiPvTQBgH+tKJf WfnNDce2mNVUQGP6tnBlSEGhv+m6NBtNjGmcyciJZVLWn8GzWtpFRBwOAUFfXpYLtWkwGXI2i00Bg wkExAtmgvFcmsI86ybu+RnfPCF4fFS+wyvknfmEiYib3o9yV1JtZqYkk2MgIRzL/lUWkU+5efRZSo nEiIc6l9grTiNPgSWHfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVbje-0000000909w-3iFh; Thu, 01 Feb 2024 18:24:26 +0000 Received: from mxout2.routing.net ([2a03:2900:1:a::b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVbjb-0000000906C-0SSa; Thu, 01 Feb 2024 18:24:25 +0000 Received: from mxbox1.masterlogin.de (unknown [192.168.10.88]) by mxout2.routing.net (Postfix) with ESMTP id 15933615E9; Thu, 1 Feb 2024 18:24:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1706811856; 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=FM4cDbc05aFm+s5YmM2e5LZAZcaagXIlqsb3avH/P4U=; b=tt1qRTliyFFSUHcMcviRe+VcJNZonpH26E8dcYVWElrfwmBvJGErlNZWu9vcwvtc29m+ld fR5Hj/0LQVl3HMVwY/cVXoz7qP3B5GC5yngrA0SoYtLeEawZL16MajOChDPaxfV48q8kDC 8n6YvCFuSVht9AX1E3/QJ/H+Ao8fK7M= Received: from frank-G5.. (fttx-pool-217.61.148.248.bambit.de [217.61.148.248]) by mxbox1.masterlogin.de (Postfix) with ESMTPSA id F247440533; Thu, 1 Feb 2024 18:24:14 +0000 (UTC) From: Frank Wunderlich To: Michael Turquette , Stephen Boyd , Matthias Brugger , AngeloGioacchino Del Regno , Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Frank Wunderlich , Sam Shih , Daniel Golle , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v4 0/2] Add reset controller to mt7988 infracfg Date: Thu, 1 Feb 2024 19:24:07 +0100 Message-Id: <20240201182409.39878-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Mail-ID: c0fd09d3-398d-40e5-b864-847111d8224c X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240201_102423_493167_186D6BC0 X-CRM114-Status: UNSURE ( 7.94 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Frank Wunderlich Infracfg on mt7988 supports reset controller function which is needed to get lvts thermal working. changes: v4: - changed commit message of dt-bindings patch to include information about starting from 0 again suggested by Conor Dooley. v3: - start resets on RST0 offset (LVTS is RST1) - rename offset constants with MT7988 prefix (else collision with reset.h) v2: - change value of constant to 0 from 9 - add missing SoB and commit-message for binding-patch Frank Wunderlich (2): dt-bindings: reset: mediatek: add MT7988 infracfg reset IDs clk: mediatek: add infracfg reset controller for mt7988 drivers/clk/mediatek/clk-mt7988-infracfg.c | 23 +++++++++++++++++++ .../reset/mediatek,mt7988-resets.h | 6 +++++ 2 files changed, 29 insertions(+)