Message ID | f9b19361a83dc6c33a24dccd0fc6932fa9e39a3d.1637818349.git.sander@svanheule.net |
---|---|
State | Accepted |
Delegated to: | Hauke Mehrtens |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=zvCs1Gtn; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=svanheule.net header.i=@svanheule.net header.a=rsa-sha256 header.s=mail1707 header.b=Mul2ezTR; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=<UNKNOWN>) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J06MJ5JQLz9sXN for <incoming@patchwork.ozlabs.org>; Thu, 25 Nov 2021 16:46:52 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wLkchbKdU2QhobnhJzDEnG3DJbJSysVvje9l8xmm/jM=; b=zvCs1GtnEVKBj4 p7WBHdkTTvZTS4RkYTDpkOPdYe+Z+iwKkTFQ0N/m7GWMBoB4OBgnY/g7mqsTRt5mUcehBGelOALgS t1vhV88FjRafl9s74J+vgRYKEmyonI4Y5j/7690t+1+NW/6Xs8ccMkOqMM0tgG53ytm9GywWeB4/s zM2ndaaQ6nO+QqtIZUN4Ly7WwIjXLEoLOEYGV+Vj3sXO6rtn9DB/m+b3tEvx0Y48esi9L13bbpLda fs+u+ZvEl878+/OhB1YQ0BtoxVKDSg8HUl/5JJcBH0nQPZZCLen1fkNuIivhm+vVquc2ioK+IaaA6 uUkRh/IFz0nB39c2w7qg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mq7WW-006Py6-KV; Thu, 25 Nov 2021 05:42:20 +0000 Received: from polaris.svanheule.net ([2a00:c98:2060:a004:1::200]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mq7WH-006Pvu-Kj for openwrt-devel@lists.openwrt.org; Thu, 25 Nov 2021 05:42:07 +0000 Received: from terra.local.svanheule.net (unknown [IPv6:2a02:a03f:eafe:c901:7e3e:8c0:8f88:d896]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sander@svanheule.net) by polaris.svanheule.net (Postfix) with ESMTPSA id 1D8CA276D74; Thu, 25 Nov 2021 06:42:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svanheule.net; s=mail1707; t=1637818924; 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=fBON+/YukW0B/ZkqCm77o9rDZJ+kqUsDBRHP4Z2UCv0=; b=Mul2ezTR6F28o3XKWosJwXgjoNZ7m6nmz1vw892YSYlDZmBDpEwk5mmIYijEpEkpcOz7sV o8Igqzafno9Hm3Ps9kkgudefy77Bgenh4FPV2NNqpfALsxVBEQIkFbLpddASJMdXBn1WlZ guxKLMRm4sPh0whRrl/HdR6kJZUemrsLSBwo/SOZsNYdVffhTiezW8+gRS2OFLa2uvqe8v wmkSxDEActj1EteH1NenakmhulqQdn8bxyhJQtTWqBsgbCpANot0GSlgELUjIId/2OYUzr 6nolcDjbNvR0ymCVXmvZkSl68nWcRdKsh9Pwax7JfWXK4Z/1JZ/i4T3qq7wTuw== From: Sander Vanheule <sander@svanheule.net> To: openwrt-devel@lists.openwrt.org Cc: Sander Vanheule <sander@svanheule.net> Subject: [PATCH 1/2] realtek: Enable gpio-restart driver Date: Thu, 25 Nov 2021 06:41:58 +0100 Message-Id: <f9b19361a83dc6c33a24dccd0fc6932fa9e39a3d.1637818349.git.sander@svanheule.net> X-Mailer: git-send-email 2.33.1 In-Reply-To: <cover.1637818349.git.sander@svanheule.net> References: <cover.1637818349.git.sander@svanheule.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211124_214205_852520_B4265C93 X-CRM114-Status: UNSURE ( 7.49 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Add the gpio-restart driver to the realtek build. This way devices, which cannot reliably perform resets using the SoC's internal reset logic, can use a GPIO line to drive the SoC's hard reset input. Content analysis details: (-2.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [2a00:c98:2060:a004:1:0:0:200 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
gpio-restart for Netgear switches
|
expand
|
diff --git a/target/linux/realtek/config-5.10 b/target/linux/realtek/config-5.10 index 00f2a6af13ba..f75cf92897ad 100644 --- a/target/linux/realtek/config-5.10 +++ b/target/linux/realtek/config-5.10 @@ -158,6 +158,7 @@ CONFIG_PHYLIB=y CONFIG_PHYLINK=y CONFIG_PINCTRL=y CONFIG_POWER_RESET=y +CONFIG_POWER_RESET_GPIO_RESTART=y CONFIG_POWER_RESET_SYSCON=y CONFIG_RATIONAL=y CONFIG_REALTEK_OTTO_WDT=y
Add the gpio-restart driver to the realtek build. This way devices, which cannot reliably perform resets using the SoC's internal reset logic, can use a GPIO line to drive the SoC's hard reset input. Signed-off-by: Sander Vanheule <sander@svanheule.net> --- target/linux/realtek/config-5.10 | 1 + 1 file changed, 1 insertion(+)