Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4392506rdb; Mon, 11 Dec 2023 19:19:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGrBH9nWb0+oTuk9nUhzDXl6gugHx66jpcXmI2w+Hr+Vq+aLDjsvmp3XrU3rYYWO52rgSx3 X-Received: by 2002:a17:90a:ae0d:b0:286:9b69:a0f6 with SMTP id t13-20020a17090aae0d00b002869b69a0f6mr4050537pjq.39.1702351155495; Mon, 11 Dec 2023 19:19:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702351155; cv=none; d=google.com; s=arc-20160816; b=wAPoOTpZwkG+b8i1cuyqdhHnY9Uq6/3AQqGpGcPFF3ufa1fhb8bg1Kdwu+yYP5aIw7 ILI3iwra8uxzXr0AZhmdMXlnAvmohKcgXvRZVGMOv5ZD07TlYim5c/yexCo5n30UKwfX 1lMIG7v7l9l5+89CrGXD5FSBSoFkPk9txJw6587ICaPWLNKz9rEfODk0qRjBVcTZMqN9 9G8sEONqLfXwEZso6dH3nL03LWL5wGPLAM8GLtZOhbrs/DKE08c8AVKT1ibQLEXyYbGG t5jCcJvjzW45xpg5DyU8fi1R9vGwtK9nndWxqILdjPorqHej9+J1axmLLkmZ42GHTGyT tGRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date; bh=CgdT9aJoryWEwYVHbtLVpsuNQD8dA+fvgdQ+EJbjDEk=; fh=aWV3XpeXqFuOXcqlbdPn+AaB/OnoAneH2eFkhlNpMCc=; b=TvGgZnPZwMFrmonyv/QdWgolU7twJLYSNDZWM6O1Qh5F69ZaFiZQDCI/f4cFfucDAj /1kky/mwgNkSWUn9M9OWP1KPxCvDWi6PgMNH94P6hizvWsdLUnZKiTltGYJVz/Zqkyy9 ty9CB2MlysnXBVB4m9hRvu7V0AP8TcIDeb1b5EXDMwfa6SrDPmK0l68Z3bgu48kJsm1G JGM6ZHOBk26nwj3FLcf7ldhdzGlnpjxTaiW3yrc4mqnRgVwReISDP536UAFSO1gow5Ur d4m0otdBey8GG3sYlyTDadDKB6mrwUYbBRQv1XU65Ofgo/MbajHTd0OvGOE0BZHg+zfN 47Rw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id fy8-20020a17090b020800b00280072b397csi8409651pjb.30.2023.12.11.19.19.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 19:19:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 79C3F80227DD; Mon, 11 Dec 2023 19:19:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345837AbjLLDSs (ORCPT + 99 others); Mon, 11 Dec 2023 22:18:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232266AbjLLDSr (ORCPT ); Mon, 11 Dec 2023 22:18:47 -0500 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2B46CD; Mon, 11 Dec 2023 19:18:53 -0800 (PST) Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96.2) (envelope-from ) id 1rCtI7-0002gF-1h; Tue, 12 Dec 2023 03:18:40 +0000 Date: Tue, 12 Dec 2023 03:18:37 +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 v5 2/5] dt-bindings: reset: mediatek: add MT7988 ethwarp reset IDs Message-ID: References: <152b256d253508cdc7514c0f1c5a9324bde83d46.1702350213.git.daniel@makrotopia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <152b256d253508cdc7514c0f1c5a9324bde83d46.1702350213.git.daniel@makrotopia.org> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 11 Dec 2023 19:19:13 -0800 (PST) Add reset ID for ethwarp subsystem allowing to reset the built-in Ethernet switch of the MediaTek MT7988 SoC. Signed-off-by: Daniel Golle --- 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