Message ID | bfd3ee594ba7458afda7d18983a76437b37e94b4.1667154408.git.sander@svanheule.net |
---|---|
State | Under Review |
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@legolas.ozlabs.org Authentication-Results: legolas.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>) Authentication-Results: legolas.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=FeNlZvUW; 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=TEtQ3iO6; dkim-atps=neutral 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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4N0lW42SGnz1ygr for <incoming@patchwork.ozlabs.org>; Mon, 31 Oct 2022 05:41: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=BgQOzRq1WlJ/r73SqYDSTG/c24ka2NuHDrTRB6DTVgE=; b=FeNlZvUWTvAsS0 WY2NupH5eSRu+62+N6OkzS21kW95IVRWhOAAvBgC8TqK/kX5cDplOcNHSDCn09zkCthOHnrYF1JsF ht6QiJTKNYvF7YrswYBcWKnHMqnIDaA/evGLKdA31aGsnNESDGzpzlkvMPPzmHYGAdMe+8Iw/8Dyv GqTGwcKgG1gxAvTbmlS1ukjlR8NKUdcy4R46KElVDiYMUV9dlfTvj/AAZonPQgMmaNabd2sp5EDGc +zH23UbqaGGrqoYqQsxvNSPiFGRYUX2KW76wItXj3hKzOfsGTg6vj9JuapUk0hcNzapvNVSXnZv3q vJ3N4cKSrXYnyaXYqfyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1opDDH-001qcD-JW; Sun, 30 Oct 2022 18:39:17 +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 1opD5n-001nAj-HQ for openwrt-devel@lists.openwrt.org; Sun, 30 Oct 2022 18:31:33 +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 487C133BF2A; Sun, 30 Oct 2022 19:31:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svanheule.net; s=mail1707; t=1667154679; 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=UVot6zkIm8UFKxQT94fWJCQA9LXSikgY8tLOxvMqcJE=; b=TEtQ3iO6WByCO1iXcjbjbwbuWrQu3ykCeqPLiFsLkTy4zRM3M8OT7Et5+BsOnS61GtV/3P n+udQjiPPNll9Aw3E/IMuwmhX0BEEj+s9SQoN3h4YP08yjgRoyjOaLXRCaHEqtzg4+2ugi 9NSYjpFRRUsG8fHkwefd97G3o7Lf3z9GaAiEGYDUVy1NTw64qVJKSt0WI0of2ZTT8fa2+d UljVn4ua8PksVX8WYVRbjQrNtnMVUPK8q6xFSAi0t85NlzOLahhdk1b8bbHlC/j8TeDqK3 5kfsmLcMwC5kcWNEfKBhGD570TzVuCYuqhMXEa1GRG+wsV6hna7Phmh50UCRoQ== From: Sander Vanheule <sander@svanheule.net> To: openwrt-devel@lists.openwrt.org, Olliver Schinagl <oliver@schinagl.nl>, Alexandru Gagniuc <mr.nuke.me@gmail.com> Cc: INAGAKI Hiroshi <musashino.open@gmail.com>, Markus Stockhausen <markus.stockhausen@gmx.de>, Stijn Segers <foss@volatilesystems.org>, Sander Vanheule <sander@svanheule.net> Subject: [PATCH v3 11/13] realtek: rtl839x: add sys-led node Date: Sun, 30 Oct 2022 19:31:04 +0100 Message-Id: <bfd3ee594ba7458afda7d18983a76437b37e94b4.1667154408.git.sander@svanheule.net> X-Mailer: git-send-email 2.38.1 In-Reply-To: <cover.1667154408.git.sander@svanheule.net> References: <cover.1667154408.git.sander@svanheule.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221030_113131_754380_0F396887 X-CRM114-Status: UNSURE ( 8.41 ) 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: All devices that can use the system LED peripheral to control an actual LED currently use this as a GPIO-controlled LED. A GPIO LED provides more fine-grained control of blink rates, at the cost of so [...] 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 |
realtek: pinctrl and LED drivers
|
expand
|
diff --git a/target/linux/realtek/dts-5.10/rtl839x.dtsi b/target/linux/realtek/dts-5.10/rtl839x.dtsi index 98c4b2010c5f..095dc1e8ac53 100644 --- a/target/linux/realtek/dts-5.10/rtl839x.dtsi +++ b/target/linux/realtek/dts-5.10/rtl839x.dtsi @@ -256,6 +256,11 @@ compatible = "realtek,cypress-switchcore", "syscon"; reg = <0x1b000000 0x10000>; + hw_sys_led: sys-led { + compatible = "realtek,cypress-sys-led"; + status = "disabled"; + }; + pinctrl: pinctrl { compatible = "realtek,cypress-pinctrl";
All devices that can use the system LED peripheral to control an actual LED currently use this as a GPIO-controlled LED. A GPIO LED provides more fine-grained control of blink rates, at the cost of some CPU cycles. Users may anyhow prefer to use the sys-led peripheral, so add the sys-led node as "disabled". Signed-off-by: Sander Vanheule <sander@svanheule.net> --- target/linux/realtek/dts-5.10/rtl839x.dtsi | 5 +++++ 1 file changed, 5 insertions(+)