Message ID | 61999d9b6f5a88d13d26062dd6a3dc27a8da5cd0.1654587762.git.sander@svanheule.net |
---|---|
State | Changes Requested |
Delegated to: | Sander Vanheule |
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=Iqp2UWRf; 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=RQnPf7Xq; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::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:3::133]) (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) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LHN0f1BD3z9sFw for <incoming@patchwork.ozlabs.org>; Tue, 7 Jun 2022 17:54:10 +1000 (AEST) 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=fwkxxGaAgKJ56nXIRwOyPyhykmlVAB+5w5SRUDuGJc4=; b=Iqp2UWRftwN3cV 6T0Xv3KqmZdZCzoZyPEUQMPdrS6BhilRTXCf0V7UmWH/+HbQt+atoyjy2mgSqXSDVmcM/47uMnrrI MGzmQAeMEPYQdz/dqVGoZE63XtiWE7ivZVexjgg+lHJmdtPuicBSAx5gdXVI6Ltx/VECHPN1B/8rK jlIva2qWyzD/Q2NvVB98hWcgCFU/Tmn/kQmB1ZAFOetFhA4TiTJz5mTvaKlw7yoBiy8WqI9iybvTA zNbSlT3jZZ0MeoHTeVSZpF9FtIX5Xo8JT1DvyMtOTrym+1bP5TV4mQTuEwhQCdaNAHjp99Mg6DMdq idb63LldqOzBvF5jcnZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyU0P-005bTS-1A; Tue, 07 Jun 2022 07:52:01 +0000 Received: from polaris.svanheule.net ([84.16.241.116]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyTyt-005apJ-Ll for openwrt-devel@lists.openwrt.org; Tue, 07 Jun 2022 07:50:31 +0000 Received: from terra.. (unknown [IPv6:2a02:a03f:eaf9:8401:aa9f:5d01:1b2a:e3cd]) (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 7327A2E3F8B; Tue, 7 Jun 2022 09:50:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svanheule.net; s=mail1707; t=1654588224; 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=Ec6KdXU5YpFI9uvqNe7kdg30cJqGK6t1DIj+fo8mods=; b=RQnPf7Xqvd8CXGMn4+UNYWRb0EuB1AkzGbgF9XzxYHEAn0mCkkCRMk75EmcCH9j1x6LT41 CfmqebehwkP1Ou8JUisU80qHZaVU+/zKtR5s0jyyvmEG4fQkc7T/aD1qi4fC/Mk6FUhdQd vDGhqmNLq9rm6pgNOj8IWHw83wd3xLFXEOdLgAQhr+0EwK51rmRlTm8Bx2uMPyrJG1NTBK t1Xfj2MpwtxtrcVZzR+22InKKnOMtJUP3HhsOk/veHJVVKLpcvLJxQaqGYosFRCkm20VvD pdimxymL4mXcJzz0oEL2dEPdj0rYvmvF9mNwCCyX2w25q1zopMD5CWoa2OrkQQ== From: Sander Vanheule <sander@svanheule.net> To: openwrt-devel@lists.openwrt.org Cc: INAGAKI Hiroshi <musashino.open@gmail.com>, Jan Hoffmann <jan@3e8.eu>, Sander Vanheule <sander@svanheule.net> Subject: [PATCH v1 2/5] realtek: add sys-led disable pinctrl for rtl930x Date: Tue, 7 Jun 2022 09:50:12 +0200 Message-Id: <61999d9b6f5a88d13d26062dd6a3dc27a8da5cd0.1654587762.git.sander@svanheule.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <cover.1654587762.git.sander@svanheule.net> References: <cover.1654587762.git.sander@svanheule.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220607_005027_974765_4F4A20F9 X-CRM114-Status: UNSURE ( 6.34 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) 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: Like for RTL838x devices, add a pinctrl-single node to manage the sys-led/gpio0 mux, and allow using the pin as GPIO. Co-developed-by: INAGAKI Hiroshi <musashino.open@gmail.com> Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> Signed-off-by: Sander Vanheule <sander@svanheule.net> --- target/linux/realtek/dts [...] Content analysis details: (-0.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [84.16.241.116 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 |
realtek: remove sys-led from setup.c
|
expand
|
diff --git a/target/linux/realtek/dts-5.10/rtl930x.dtsi b/target/linux/realtek/dts-5.10/rtl930x.dtsi index bfde5e6ff6ae..c2a992a174c7 100644 --- a/target/linux/realtek/dts-5.10/rtl930x.dtsi +++ b/target/linux/realtek/dts-5.10/rtl930x.dtsi @@ -135,6 +135,21 @@ }; + pinmux_led: pinmux@1b00cc00 { + compatible = "pinctrl-single"; + reg = <0x1b00cc00 0x4>; + + pinctrl-single,bit-per-mux; + pinctrl-single,register-width = <32>; + pinctrl-single,function-mask = <0x1>; + #pinctrl-cells = <2>; + + /* enable GPIO 0 */ + pinmux_disable_sys_led: disable_sys_led { + pinctrl-single,bits = <0x0 0x0 0x1000>; + }; + }; + ethernet0: ethernet@1b00a300 { compatible = "realtek,rtl838x-eth"; reg = <0x1b00a300 0x100>;