From patchwork Wed Jan 17 15:17:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 1939252 X-Patchwork-Delegate: zajec5@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=NdxDX93J; dkim=permerror header.d=gmail.com header.i=@gmail.com header.a=rsa-sha1 header.s=20230601 header.b=H0I+Itrb; dkim-atps=neutral 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=patchwork.ozlabs.org) 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 (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VmgCG629Gz1ynR for ; Sat, 25 May 2024 21:48:08 +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: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:In-Reply-To:References: List-Owner; bh=polDmzJDgkA0me2zWDD6CUlZK+3lzAhGDpry+uqMSYE=; b=NdxDX93JqLQXZd L5GEdNLuEgG6Nzcuu8vq7WuyAXelHx9m7E379a3euyOrd9jUTdh2ZZj4Tme9DtpRy2jfqWtRYrpGI XRdxY+PrTLw+X1ODWYlmdueN0VMBEO3Dn352DU1hmutwK+huS94AgMma4y6DQkXE+TdP5sDiiJ6P1 e427CS3MSqG0t6KF/EmwevLGMMZ7InILlRMO07gGVS/nScJOAOUJXhGof2KzjlN24OopgxjFKNgSG 2Kuz2s/oUVj1H06t0s0xgu57ce7+jNXAi7DXETYnJKb5Teq8KeHFd132syqSuaIkuHq2BttrloSdF ZsYWe5PSL1/XqkbkHcvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sApri-0000000AwPj-2H9G; Sat, 25 May 2024 11:47:10 +0000 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rQ7h4-00HQb9-0G for openwrt-devel@lists.openwrt.org; Wed, 17 Jan 2024 15:19:07 +0000 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-50e7e55c0f6so13448108e87.0 for ; Wed, 17 Jan 2024 07:19:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705504740; x=1706109540; darn=lists.openwrt.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NI2TRURHEDTtYWB0/8Y4wbV5zMEfj3l8z/jgy/adY2o=; b=H0I+ItrbCfsVO+qGZap1gI2/54h4+Bfsda5swUgQfFGoCE1pK+9uBrZF/uJ9IPYn/v 11Czyeaye2kIp6saelMI368yIZTqyz6n87U2rrChRClB8+TgGa/6s0MjmohM+MvOQq6X AS7TsX2IM0MO2g7pIkCjRupinkZSVi51ymRamb1fBmOWhG+uEPJh+mElOGNtl+keaDmr mBYsjuSGjHAZbe3+xbLlb1F1knN4U78YHMFV+xjuCaEakzkrmKAdb13xGGWUgu/5xXxy kPI8RHiViG84Daa8bXUIOEDeH+DW3WchtIvsqtUWB9ikSLQsPCU2Lr5FwxJGgWOaP1mA c/aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705504740; x=1706109540; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NI2TRURHEDTtYWB0/8Y4wbV5zMEfj3l8z/jgy/adY2o=; b=DZewc41rhmIOrfwIIu3ijic0fQopeNLzYehInwXKiBsNiOEfwoQ0dQPq9imU5gqR6a lfy5S9A+lmMQBle6RPjFeOonyNYA23/ptJA2bYlS34L7v2B3korZUrr/Z+S9+NuExp+K kopW5OoaV4i9Vn6tN18eXoxAOpgv5uq7zPaZOqPOcc32IOEdNMpyRxxCSiYckQefcPpJ BK8lU3NIGXusQB2+zM5/EKOtE3h/eOxP46jmSiM9azLdiGIkCu6rjr5KKrb3vXLRhUKx bkHOBoijOjTLeivT+GFp0R+1FB6kXzn8I5efyZj7dNnUQK2EOFIChg42JIOmJ3DBGMQc G18w== X-Gm-Message-State: AOJu0YyhUPD/WrfGy9okcf0Veih6vTkbaqI5NgM7aBz6crNB2SB2bWVa tj6PP0HistaoQh2d8N5etSc= X-Google-Smtp-Source: AGHT+IEQf5mn1yllvoIUzZxLwROSNDmg7T98wZtcxwYbQxh+HoJTP3v9GzRSw4id8gNmMd9VdLrf/g== X-Received: by 2002:a05:6512:695:b0:50e:e66c:4d8 with SMTP id t21-20020a056512069500b0050ee66c04d8mr2409468lfe.30.1705504739778; Wed, 17 Jan 2024 07:18:59 -0800 (PST) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id a5-20020a1709063e8500b00a28badcf367sm7884118ejj.54.2024.01.17.07.18.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 07:18:59 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openwrt-devel@lists.openwrt.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH] dt-bindings: leds: add FUNCTION defines for per-band WLANs Date: Wed, 17 Jan 2024 16:17:36 +0100 Message-Id: <20240117151736.27440-1-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240117_071906_164454_7EEAF963 X-CRM114-Status: GOOD ( 10.42 ) X-Spam-Score: 0.1 (/) X-Spam-Report: =?unknown-8bit?q?Spam_detection_software=2C_running_on_the_sy?= =?unknown-8bit?q?stem_=22bombadil=2Einfradead=2Eorg=22=2C?= =?unknown-8bit?q?_has_NOT_identified_this_incoming_email_as_spam=2E__The_ori?= =?unknown-8bit?q?ginal?= =?unknown-8bit?q?_message_has_been_attached_to_this_so_you_can_view_it_or_la?= =?unknown-8bit?q?bel?= =?unknown-8bit?q?_similar_future_email=2E__If_you_have_any_questions=2C_see?= =?unknown-8bit?q?_the_administrator_of_that_system_for_details=2E?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_preview=3A__From=3A_Rafa=C5=82_Mi=C5=82ecki_Most_w?= =?unknown-8bit?q?ireless_routers_and_access_points?= =?unknown-8bit?q?_can_operate_in_multiple_bands_simultaneously=2E_Vendors_of?= =?unknown-8bit?q?ten_equip_their_devices?= =?unknown-8bit?q?_with_per-band_LEDs=2E_Add_defines_for_those_very_common_fu?= =?unknown-8bit?q?nctions_to_allow?= =?unknown-8bit?q?_cleaner_=26_clearer_bindings=2E_?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_analysis_details=3A___=280=2E1_points=2C_5=2E0_req?= =?unknown-8bit?q?uired=29?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_pts_rule_name______________description?= =?unknown-8bit?q?_----_----------------------_------------------------------?= =?unknown-8bit?q?--------------------?= =?unknown-8bit?q?_-0=2E0_RCVD=5FIN=5FDNSWL=5FNONE_____RBL=3A_Sender_listed_a?= =?unknown-8bit?q?t_https=3A//www=2Ednswl=2Eorg/=2C?= =?unknown-8bit?q?_no_trust?= =?unknown-8bit?b?IFsyYTAwOjE0NTA6NDg2NDoyMDowOjA6MDoxMmEgbGlzdGVkIGluXQ==?= =?unknown-8bit?b?IFtsaXN0LmRuc3dsLm9yZ10=?= =?unknown-8bit?q?_-0=2E0_SPF=5FPASS_______________SPF=3A_sender_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_0=2E0_SPF=5FHELO=5FNONE__________SPF=3A_HELO_does_not_publ?= =?unknown-8bit?q?ish_an_SPF_Record?= =?unknown-8bit?q?_0=2E0_FREEMAIL=5FFROM__________Sender_email_is_commonly_ab?= =?unknown-8bit?q?used_enduser_mail?= =?unknown-8bit?q?_provider?= =?unknown-8bit?q?_=5Bzajec5=5Bat=5Dgmail=2Ecom=5D?= =?unknown-8bit?q?_0=2E2_FREEMAIL=5FENVFROM=5FEND=5FDIGIT_Envelope-from_freem?= =?unknown-8bit?q?ail_username_ends?= =?unknown-8bit?q?_in_digit?= =?unknown-8bit?q?_=5Bzajec5=5Bat=5Dgmail=2Ecom=5D?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FAU__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from?= =?unknown-8bit?q?_author=27s_domain?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID_____________Message_has_at_least_one_v?= =?unknown-8bit?q?alid_DKIM_or_DK_signature?= =?unknown-8bit?q?_0=2E1_DKIM=5FSIGNED____________Message_has_a_DKIM_or_DK_si?= =?unknown-8bit?q?gnature=2C_not_necessarily?= =?unknown-8bit?q?_valid?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FEF__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from?= =?unknown-8bit?q?_envelope-from_domain?= X-Mailman-Approved-At: Sat, 25 May 2024 03:29:34 -0700 X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org From: Rafał Miłecki Most wireless routers and access points can operate in multiple bands simultaneously. Vendors often equip their devices with per-band LEDs. Add defines for those very common functions to allow cleaner & clearer bindings. Signed-off-by: Rafał Miłecki --- include/dt-bindings/leds/common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h index 9a0d33d027ff..c56785bb9c9c 100644 --- a/include/dt-bindings/leds/common.h +++ b/include/dt-bindings/leds/common.h @@ -101,6 +101,9 @@ #define LED_FUNCTION_USB "usb" #define LED_FUNCTION_WAN "wan" #define LED_FUNCTION_WLAN "wlan" +#define LED_FUNCTION_WLAN_2GHZ "wlan-2ghz" +#define LED_FUNCTION_WLAN_5GHZ "wlan-5ghz" +#define LED_FUNCTION_WLAN_6GHZ "wlan-6ghz" #define LED_FUNCTION_WPS "wps" #endif /* __DT_BINDINGS_LEDS_H */