From patchwork Wed Jan 17 18:41:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 19124 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:30f:b0:101:a8e8:374 with SMTP id ia15csp107452dyb; Wed, 17 Jan 2024 10:41:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IFEoCkvjKd6hzKKhdcal/u6XZxaBwjQuJZBcHaAMEYzw7l0dpei0wHtWY7ohrr+6n3fwHnm X-Received: by 2002:a05:622a:44d:b0:429:c9c6:763d with SMTP id o13-20020a05622a044d00b00429c9c6763dmr11243872qtx.105.1705516903925; Wed, 17 Jan 2024 10:41:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705516903; cv=pass; d=google.com; s=arc-20160816; b=vpNVSL8JTyktwix85vp2MfSVjyRwbe4rZKXZrdg51tBv36FeRQ+Ml52wD4mVsfQj52 iYifpDH+oOMjzKtXbVukAzaZ/Y8XknNK/p9Yj3Ur2jtESu7z0vP3c2tYR9C7I/XBIswt PFaDT2bhzuZbTlIP0GVUiFCiYyF3M2zltzTGZBcCnf5cdKlu+In3QEivuzkuhEfSxMqF pQpF4uucGbfQkAPVpkmIlhULSP2XAKidZYF3KMNhoK2jAjgRb7J967PP9LCr3OTwBSvj hTRuWFQqCcEeXpSyWzM8Wz/fWxMlrBBfs2Zg2pWK1Cy5T/AKJV3x2MLB5Nk0xiAsl752 LapA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=faaWm9kKMcck2ImmwhnetGgTDP4WHiKRSvb4Y2er2NM=; fh=LUzJhCHXByutVbZY6Go/tqbqcJ6i1wxNrBhOCG2u75w=; b=maSWGpoeU59K3r6HNBBaZuSwCdEQHakSiwiW6Wabteabo4ZxdGFgH0MDVa/JX9+dzw Jqyjo4biw5k/BjalbJpZY5Hem2wb4DubPG2y8rbMSfbo4/0SSho8a9IIDLDwYDsbFrg7 EZsYNAmsI5eQJ3/u9rco8hV4PB+rXCkX0Q9U9DiDD2oslbpngBHQFSbaw9Q8AfBXPc58 b0r39MuR28Nw5dunLe8Qq8uRTY9tvONBZy7Tcd6AMnw1zXl4bd+q1j7nX7Yhl0gcluTX WD66DyhndS3k+PcSL1gmszmVKEF7Desahmn/p85k5BpG51tN0Qcg1Atwg85DeNqTRqA+ lFYg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=XZlpggnU; arc=pass (i=1 spf=pass spfdomain=fw-web.de dkim=pass dkdomain=mailerdienst.de); spf=pass (google.com: domain of linux-kernel+bounces-29329-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29329-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q4-20020a05620a0d8400b0078179944afbsi12892462qkl.154.2024.01.17.10.41.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 10:41:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-29329-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=XZlpggnU; arc=pass (i=1 spf=pass spfdomain=fw-web.de dkim=pass dkdomain=mailerdienst.de); spf=pass (google.com: domain of linux-kernel+bounces-29329-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29329-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B5EC71C209FB for ; Wed, 17 Jan 2024 18:41:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 75C53241EA; Wed, 17 Jan 2024 18:41:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mailerdienst.de header.i=@mailerdienst.de header.b="XZlpggnU" Received: from mxout2.routing.net (mxout2.routing.net [134.0.28.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA9532376E; Wed, 17 Jan 2024 18:41:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=134.0.28.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705516878; cv=none; b=NKLc7Rjc0/FXrVNa7WukjqRTGPdD30uong3oPBtw3Z/Xu6tFgHKf10wz0fgor3kM2kUrnkow7ZbYVotHfZVEWvF7sFaUDKBWRD4hZE7kQ3ISKv37oXKD3fZWPtebpt7K2S3jlauHIXekPYSWFHiznkQeF0hAyvh4dBEP/kzbpR4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705516878; c=relaxed/simple; bh=3VdOjc3X148qsKr0xLzhVrZ+WN/d9jtjGD8XrGEuK1E=; h=Received:DKIM-Signature:Received:From:To:Cc:Subject:Date: Message-Id:X-Mailer:MIME-Version:Content-Transfer-Encoding: X-Mail-ID; b=IhYkXi8Oj3PrgAmXrMeXL2MdA+2qvWNPx1AI07wZtB1v+Dx3Lr9FhAJBrHkRkm1fTST1P7zy9jsoXSyhYc8beMhAV+B+lufUiZtaL9IoMgipjdt9dg3xkhF5QbH1E0m5ZINml8SSYaO1r/79ZjkFX1an4JgW9ig2kXZUCYSCPGM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fw-web.de; spf=pass smtp.mailfrom=fw-web.de; dkim=pass (1024-bit key) header.d=mailerdienst.de header.i=@mailerdienst.de header.b=XZlpggnU; arc=none smtp.client-ip=134.0.28.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fw-web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fw-web.de Received: from mxbox2.masterlogin.de (unknown [192.168.10.89]) by mxout2.routing.net (Postfix) with ESMTP id F23E660C47; Wed, 17 Jan 2024 18:41:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1705516875; 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=faaWm9kKMcck2ImmwhnetGgTDP4WHiKRSvb4Y2er2NM=; b=XZlpggnUqZvsTF9Yb7WvggZQdzQgKsu8sQYTSEpcJaUqmgnXUOTkpnbPGTFBUxel0cL3C2 SoDBk19pNESWo8LZ2YmZlXGQqkVa2y1ovU//PeXdBCo+dGY2/sp8CGoanWLm7P38b0f6KQ 7JmyZfC9//F0qGEHISoVA78HT8TliwU= Received: from frank-G5.. (fttx-pool-217.61.151.254.bambit.de [217.61.151.254]) by mxbox2.masterlogin.de (Postfix) with ESMTPSA id CCDEC10022F; Wed, 17 Jan 2024 18:41:13 +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 v3 0/2] Add reset controller to mt7988 infracfg Date: Wed, 17 Jan 2024 19:41:09 +0100 Message-Id: <20240117184111.62371-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mail-ID: df2cc20f-ff88-4040-bb30-13fca5955db2 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788362897202177333 X-GMAIL-MSGID: 1788364092710482650 From: Frank Wunderlich Infracfg on mt7988 supports reset controller function which is needed to get lvts thermal working. Patches are based on clk-next due to recently added mt7988 clock driver: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git changes: 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 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(+) Acked-by: Conor Dooley