Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp7045432rdb; Fri, 15 Dec 2023 16:34:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IExnsB7KAMG2psCo4MW28C98qqZIy0sAaXcdZ3HE7taMO+e7hk4rIPmiM7WAhclkblsYH/P X-Received: by 2002:a05:6e02:148d:b0:35d:5782:222 with SMTP id n13-20020a056e02148d00b0035d57820222mr19081003ilk.31.1702686897652; Fri, 15 Dec 2023 16:34:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702686897; cv=none; d=google.com; s=arc-20160816; b=gxw6bn7T5DR4R1Ep24Boj9Op5avS2JhihWHQ+6e4YUL+xT9j+0/C2LqU60OmcwZ0b6 Q0YhVU9UiYWWzX81NTibcGVKNM3lee4BhF1GN2r967zFv3VtQFqzXSLnUGZasQEQMX40 +fSJT7v+uIvP+LH7Ggg8DjO5tgJFwB8FdqwGUeZX7jo00QOUAvZrObHARy6TdDwrKj93 czUb9aZjHC7X5k4vRY/CHTpQmsYidNDeR1MvKqDVtaDhDuTpMAj/wfqq+wSsuVw5row5 mu5F/Q0Z9kHX9YVlv2UCm02r5C1BZ7Spwog+uHvIoEiS+goKP7tgVe76tYQ5Nt6UM1IO d/9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:to :from:date; bh=Xgjdo5t1nX40ByTFVpR0EgX81PRBMdomFYBGIN4DtNc=; fh=aWV3XpeXqFuOXcqlbdPn+AaB/OnoAneH2eFkhlNpMCc=; b=RAiOB8X4geX2SzHqL504Oz9NuyezvrRITXj3ycTHDWLF4SDvVzxUKIpGkby5OsmkEG 8qgPA5G/HAEaYLrYUA9MDIZFdPpsbaXYKw7eVpH7XGSZUA417HwXRc0clE9F7ZV9Q29W Wfyvb4kh0FcXP5Ta21rTSc8HPtBSlNZgEHG8yBrOje66UXSR4xunVoi9w+x3m/OTkMwh dDeIiVyIozgQIQGtdIVAGYT3zRYQG5IQq0aPGTKhTsj+QJLd1jrKmbqTuKgG1xJIw09+ gaLHWInhZ3fdH0ypKckAxYXI68TQPLbS2eFk90VxQUwAwyDRMEPdbfCTpiXM2Wsin5JW oBkQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-1900-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1900-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id p9-20020a1709027ec900b001cfb4f3da6csi13657756plb.44.2023.12.15.16.34.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 16:34:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1900-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-1900-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1900-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 37E0EB24F4E for ; Sat, 16 Dec 2023 00:32:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 829563D63; Sat, 16 Dec 2023 00:22:51 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (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 3D0EB4408; Sat, 16 Dec 2023 00:22:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96.2) (envelope-from ) id 1rEIRw-0001Xo-1z; Sat, 16 Dec 2023 00:22:37 +0000 Date: Sat, 16 Dec 2023 00:22:34 +0000 From: Daniel Golle To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Matthias Brugger , AngeloGioacchino Del Regno , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Philipp Zabel , Sabrina Dubroca , Daniel Golle , Chen-Yu Tsai , "Garmin.Chang" , Sam Shih , Frank Wunderlich , Dan Carpenter , James Liao , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, netdev@vger.kernel.org Subject: [PATCH v6 2/5] dt-bindings: reset: mediatek: add MT7988 ethwarp reset IDs Message-ID: <0c14bbacf471683af67ffa7572bfa1d5c45a0b5d.1702685864.git.daniel@makrotopia.org> References: <27f99db432e9ccc804cc5b6501d7d17d72cae879.1702685864.git.daniel@makrotopia.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <27f99db432e9ccc804cc5b6501d7d17d72cae879.1702685864.git.daniel@makrotopia.org> Add reset ID for ethwarp subsystem allowing to reset the built-in Ethernet switch of the MediaTek MT7988 SoC. Signed-off-by: Daniel Golle Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- v6: no changes v5: add this patch to replace use of ti,syscon-reset in v1~v4 include/dt-bindings/reset/mediatek,mt7988-resets.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/dt-bindings/reset/mediatek,mt7988-resets.h diff --git a/include/dt-bindings/reset/mediatek,mt7988-resets.h b/include/dt-bindings/reset/mediatek,mt7988-resets.h new file mode 100644 index 0000000000000..4933019713672 --- /dev/null +++ b/include/dt-bindings/reset/mediatek,mt7988-resets.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * Copyright (c) 2023 Daniel Golle + * Author: Daniel Golle + */ + +#ifndef _DT_BINDINGS_RESET_CONTROLLER_MT7988 +#define _DT_BINDINGS_RESET_CONTROLLER_MT7988 + +/* ETHWARP resets */ +#define MT7988_ETHWARP_RST_SWITCH 0 + +#endif /* _DT_BINDINGS_RESET_CONTROLLER_MT7988 */ -- 2.43.0