Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp363593rdb; Thu, 1 Feb 2024 10:32:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IEPYTk8oRkuPgCy8BPEjIngnTRcPDWkw4yevVhTtnpLMb40icw03kf8mGWwbGvx75h+r42l X-Received: by 2002:a05:6402:b4d:b0:55e:ef54:1239 with SMTP id bx13-20020a0564020b4d00b0055eef541239mr4326336edb.10.1706812379293; Thu, 01 Feb 2024 10:32:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706812379; cv=pass; d=google.com; s=arc-20160816; b=rWRgpxMoCtDBl44toNw6ZnqJSkJH/0HrLYmFtlo6Im6Zj+HK+1FzVY0ayzvEBfiFtk JLB1S85hzL/jPsjuy2mgF6jk5YLyH7ReqxFe+0Yz2TJW/HJsRXNLJUFknbZxK7j+KTEu mc66lb/PE+ZYIXnF2AeZdqczZHf9pRStmPomgeMFHcmdltkpZO8PKtDLKt9zUvEemhpH U2+ZQfpTI+pOl5SnY2paqEUmCTPasKAMNWaIjTIM7WSl5DOmUigt557pXMPHZp3x9FU4 aRO0pK9o8+oQlt/SfA1fvnJA4bvuljsxzWL8oPOfBJBFCX7gkgQMsK3PGYbNvDvyRa8M 9k8w== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Uqu45baJwDwaQIYrmiCmGtAl5ihaAmheXtf6eJawaw0=; fh=cgKAGoCtsnWETkTf0iMMg6gAxDU/goY6o+KgJhqqMyw=; b=b0FSYQ38Ug+GLFAEmKiKdLYABqZilXAzmzHk1lQMjnVw+vU2i5bJ/6UdQBv6A+M133 pZgCpOHTBcIfJ+DorMc0/YOHP6xuS7FLoaw9SF3xhiQhK/wAoShH+WW6U+/JSXsKRsRa KkpmLuAUxZ1HY6XcpKhbadTYOT8d+g3vMFR0OhdjSakaExM7X15PkBCM3Aa7BTYVTGvA jo17F/J/mIXzuffkmpsMK3zbAygKoiCmyszWHSqv/PK/m+dGEr6ZRps8VFxmmFSe3hNp yEWocXo1m33KDkAAwIb5cdVilvtchERtyCG6jtqu5tlFaVv/doU/ecp5AbNiHXN1I4VK WphQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=ZA8iTrsw; arc=pass (i=1 spf=pass spfdomain=fw-web.de dkim=pass dkdomain=mailerdienst.de); spf=pass (google.com: domain of linux-kernel+bounces-48705-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48705-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCVKO1OvkM7+IS30M5ozMAhPY09EaCJpqKycJqvMsKx918KaNBJxpmEkWpowkEAOaAeR9LGVIOCNwO7F2X8/6ycqujLPbphBGQiwAx5oyA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g11-20020a50d5cb000000b0055f33c4cad5si57967edj.183.2024.02.01.10.32.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 10:32:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48705-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=ZA8iTrsw; arc=pass (i=1 spf=pass spfdomain=fw-web.de dkim=pass dkdomain=mailerdienst.de); spf=pass (google.com: domain of linux-kernel+bounces-48705-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48705-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0DFAD1F259B6 for ; Thu, 1 Feb 2024 18:32:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E464182C96; Thu, 1 Feb 2024 18:32:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mailerdienst.de header.i=@mailerdienst.de header.b="ZA8iTrsw" Received: from mxout3.routing.net (mxout3.routing.net [134.0.28.8]) (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 6036663064; Thu, 1 Feb 2024 18:32:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=134.0.28.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706812357; cv=none; b=h/pJ3SEAzncOrSxUbY1MSrMB/2CkEOGTgsCbY4NUmQYFqS1NDJ9vpZ8TFun3U+biVYcjGpOqh3Hb6EmrUvGmHrK4eYGCN57im9IIeii0H15jpFgFQc3I41oApTWAHk+B87rDMPCj1/cG/GPv0ypg3c0GqpBxZ3Ssop0TV8Tpa3k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706812357; c=relaxed/simple; bh=srdGpUO/jb4HAMFNnjhMirQlWQxd+jZZZQZlrSsi6hI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=TNbvpbxnnSEkX07G4yw4VVMzEES5+i8oFUFbDpU2A4hRFtdApLVOIZGOQ4z9G7w/o1tZyk2V60xf5O9e7vz10MkXxZaJYPKDAGWG3kuPzhK68oPg8jyef/JxbR9WJNPHl56wfVxK+NbxK7QTjUJ9uWpxPaWXMZlCIdwt2+IHWME= 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=ZA8iTrsw; arc=none smtp.client-ip=134.0.28.8 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 mxbox1.masterlogin.de (unknown [192.168.10.88]) by mxout3.routing.net (Postfix) with ESMTP id E8FF1626B3; 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=1706811857; 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: in-reply-to:in-reply-to:references:references; bh=Uqu45baJwDwaQIYrmiCmGtAl5ihaAmheXtf6eJawaw0=; b=ZA8iTrswx0AqyUw1eB9MbcmBmI/SSwy+YQVkzA+V6HM5RgGQH190iQKSTop/rgFn5MgZke n9oweBMWMpYJoT32F05cGCfwZyiDv5iZ59D2I6eXghF26ZOUKK1HSZHUDGqYR/LjU2hseK 0Qpbo31IEn/u7VRTDVvmu4R3cyF0M9c= Received: from frank-G5.. (fttx-pool-217.61.148.248.bambit.de [217.61.148.248]) by mxbox1.masterlogin.de (Postfix) with ESMTPSA id 07579406E6; Thu, 1 Feb 2024 18:24:16 +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, Conor Dooley Subject: [PATCH v4 1/2] dt-bindings: reset: mediatek: add MT7988 infracfg reset IDs Date: Thu, 1 Feb 2024 19:24:08 +0100 Message-Id: <20240201182409.39878-2-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240201182409.39878-1-linux@fw-web.de> References: <20240201182409.39878-1-linux@fw-web.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mail-ID: f86ec7b2-db69-458e-813c-2cef7dd7b5cc From: Frank Wunderlich Add reset constants for using as index in driver and dts. Value is starting again from 0 because resets are used in another device than existing constants. Signed-off-by: Frank Wunderlich Reviewed-by: AngeloGioacchino Del Regno Acked-by: Conor Dooley --- v4: - add info about restarting ids from 0 to commit message v3: - add pcie reset id as suggested by angelo v2: - add missing commit message and SoB - change value of infrareset to 0 --- include/dt-bindings/reset/mediatek,mt7988-resets.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/dt-bindings/reset/mediatek,mt7988-resets.h b/include/dt-bindings/reset/mediatek,mt7988-resets.h index 493301971367..0eb152889a89 100644 --- a/include/dt-bindings/reset/mediatek,mt7988-resets.h +++ b/include/dt-bindings/reset/mediatek,mt7988-resets.h @@ -10,4 +10,10 @@ /* ETHWARP resets */ #define MT7988_ETHWARP_RST_SWITCH 0 +/* INFRA resets */ +#define MT7988_INFRA_RST0_PEXTP_MAC_SWRST 0 +#define MT7988_INFRA_RST1_THERM_CTRL_SWRST 1 + + #endif /* _DT_BINDINGS_RESET_CONTROLLER_MT7988 */ + -- 2.34.1