Received: by 2002:a05:7412:361b:b0:f9:2edb:3e4d with SMTP id ie27csp47406rdb; Sun, 17 Dec 2023 13:50:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IHIlQ8GBpoV+DFCsfcGWNjzEtGymx2m0g8Cm4s10pEVZN3ZvkhQGOlP3et1I7CbseF2woZj X-Received: by 2002:a05:6808:2019:b0:3b9:d4cd:3498 with SMTP id q25-20020a056808201900b003b9d4cd3498mr19939986oiw.28.1702849845674; Sun, 17 Dec 2023 13:50:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702849845; cv=none; d=google.com; s=arc-20160816; b=RXW8zk5y2y8i2LXA7OURyR6Q8NJfb1QGJINqzWuwIVdMrznGbMYVZaU0opDfJm9O6j SnbFVqnQ6tIRJtA8sdcEc63TOmVh7XF+nx/9dG0r6xeTai+aloGDwYYziWM9p81lI2Rw vHEo4ma4hsFvzXADWJBAVBlFyKtIBsVGWZzKzCRLHMr2MjtOfMjQRGfwSL8OnamruIat OHLgkUVcsgWm2OnYP64YnHdh/Xnf0Wb31kYRILg2kalh5ari68AxRNZMOq73XXiNhk92 +FC7KmYas0VvxSfE6IFGKA3DhMyj9SIkPzv4rGDtoCLiyQeeJy1HSNV70ktSKiqLFMZa cCaQ== 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=QsWg1kKQIXVfdkutnMZWV88KELLjEFedF/zNXoKTOPk=; fh=aWV3XpeXqFuOXcqlbdPn+AaB/OnoAneH2eFkhlNpMCc=; b=wOD83H2hc75rKFybXWyHF7lsB9k1IPoksAxKycjKlZhm46yFc1LGqQd1DAeLVXPUN7 3gAJ+821CJS0XR0IlesjfOI7f+YR/4/0guHo9D5oreCRRCn2rPK4+LMxFt+D4D57duz0 YZby1DfRIjF0WY7uoXOhHSbdE9XR2GdIkLYYapoI5l9QNZCf27TYiXM7hmdy4+9x8tKL 9Rv2moaZCRgXqZ+xw0OJaRohvTGeSfy4a+0jnYn7cvbS8Zx2CYf31l4KmvzF7IQFhm+2 bTk49n9r3yQk2ZLssM12H8RL0W0zUG7ruBqjS445iJPwv/wJQK7Yy1IBSj3dFESuVPEm ipMg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-2833-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2833-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id o16-20020a056a00215000b006cb7f9ddbd5si3076872pfk.321.2023.12.17.13.50.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 13:50:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2833-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-2833-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2833-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 A4771B219F3 for ; Sun, 17 Dec 2023 21:50:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 843914A9B5; Sun, 17 Dec 2023 21:50:04 +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 7C60249F93; Sun, 17 Dec 2023 21:50:02 +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 1rEz1A-0001R6-1J; Sun, 17 Dec 2023 21:49:49 +0000 Date: Sun, 17 Dec 2023 21:49:45 +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 v7 2/5] dt-bindings: reset: mediatek: add MT7988 ethwarp reset IDs Message-ID: <0c14bbacf471683af67ffa7572bfa1d5c45a0b5d.1702849494.git.daniel@makrotopia.org> References: <27f99db432e9ccc804cc5b6501d7d17d72cae879.1702849494.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.1702849494.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 --- v7: no changes 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