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: 763777 Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E76A321347; Wed, 17 Jan 2024 15:19:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705504745; cv=none; b=QAnI63jOIITZwXP8RYggoagFHX0p267N6Jo6c8SptaqtNnEGPcfjhvzmyNj1YhcTzORlqwVdZVmbkonqL6AjmVgNcHbw9xcATOPYNwEBwz27Ma3hhU3koeEe1ZrLzXO7JXdRh3Rh5+X/Aj/X0mVcx2ISQb6mSVfn59w1368jbjs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705504745; c=relaxed/simple; bh=KyZXDKWNuRRoPHXrRo+4nANz93Wq08Z7zMiVJ62yT0Q=; h=Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Google-Smtp-Source:X-Received:Received:From: To:Cc:Subject:Date:Message-Id:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding; b=ifjtpPsp6K3ZV2t/R1UlaIoo5OpoMvRD1p4JWTmFtsd+b/x7cU5wOdpTdrZwt2taCoodWssY8yHQ3w0VrYpQ0mVnPUobGDs/Qf7u+r4hYLK93tUycnmHc1GmxlYI9zrSAgmsIOz8FkDUE4Rhy8rOsPSNGjqkYm9JBzyAowiNoS4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ZctXygLk; arc=none smtp.client-ip=209.85.208.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZctXygLk" Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2cddb0ee311so24626051fa.0; 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=vger.kernel.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=ZctXygLkkz5nVG7o4oS8gHoCurFzh3NPllMqGDABI+aJAL8Umo+cWNHJ25uW5SF362 fDz5Xuf3MlhO/lcx1reD/YwLhrPca/0Na3IyCehHBM9/dmDEu1/V9sx4nmHVkzXyexRe cJvZPkoG7kSqcuJNQ+giCJ+RCoZI0di1njtCvBdLXTEzOpIwXjpVOv54TsWQnUxu45Zp KzHQGseC8WEZti9ueCsW7larw8h8TR5UjbqVerAd3Xi2+A/y0DLqe/ug6MTK2pbE7wf6 VA0pZyvYXbc+qPUOoZ72XsJhzb6OuyDY2O/KzE3aFmwMvN5OdCUaYzodpFK2Pcsu2O7q F1qw== 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=oAyJnbk6xl9KtnK/O+ygJ9NyA9lgS+ZrWghw329jc0raISq4/BGKQAmMkjaNGW1Wgp dhaKd+R4MSsN12ss4TVgfny/y8dnUB8PrAQLex+LWumLrLYzuF131/oNSZvp5PO1YrjW 7qmVzxQ0byseq8rPINcqVFuKjvL94oRlM8uE+U6iSruRy7qcNivXbes/Pu4TqceF+Boj vpLSs8kOld1frKWU28CSVFLeFov+UnkOTqV05aA4QNGxcQOrbypTacjGC+uuzwQ7DHs2 riAZOXEbzt7cGRIqRJyhkk7RrxfKaCxCHTzkQYm/1ZQg4e0xlB6kUu9WPgxCnQKjp71X thkQ== X-Gm-Message-State: AOJu0YxXNUj1q43p9KuUGlfjP5xC1VNtbRSKwVwqW54BaSHsHVesEDvs 8aBRkmR7C7BJpNb4ktMnj9w= 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 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 */