From patchwork Tue Oct 31 13:29:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shiji Yang X-Patchwork-Id: 739852 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1369EC4167B for ; Tue, 31 Oct 2023 13:29:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344556AbjJaN3f (ORCPT ); Tue, 31 Oct 2023 09:29:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344544AbjJaN3f (ORCPT ); Tue, 31 Oct 2023 09:29:35 -0400 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01olkn2026.outbound.protection.outlook.com [40.92.98.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88A0BE6; Tue, 31 Oct 2023 06:29:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QxcfdwU6SQaSFbJSWCUzcPnwK2MI7glX3ZWUDm1oy78nbU4J7IWvUPIZ2lXybZK/P+fMXQ+WwTtyt1wjw/sFQThz8i8BlKdgsJFk2dfX8PY6ffT49RsbopO5uLxU6Ysgkzpi8PW9YaoOnHytjmkWO1z6N7S78LMvOhl8fUNeCHIxod26030vLajfcC61et8HyIPeFoqJkPFaeSKyxIzEDEiipEfUZ/Bj1Fu4yXSRrfvjk2mUT7M5Bpl7bQn5J8Cax1I1BbOyPCbQ2O2iu+qt7ZP4OMP2fbQIIn55rfCuA4RiZnu8yec9RNNIigEYhef0ZCSqi4oG16u9txCqmLcp0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=e1PU1ZKh8DhnqbSaxGa5wj8B6P7w9cqNoVxTMOmPymE=; b=VqJkQ67eyBJawINQITMmMv/bP14etf06eRZzCPrEzxRH3g8clv6/ohj+4PCtlKI+rKgz6HoSl4+g+3vLFutIrd0WAoVdYfvCAainrV+szgJPRD95KZfap9Ta8y1TvOZYXhiNgh/P3ipqpVoJ6DvjfQHP5wYcdfUDsNBG0RQ+EevYwKIn+QHt0JTsqUw4W0t102CUZ5b+rEWwOfdgUq/kDlcLvnIJbqu5TDv5Sp5IEkqBnbY2A6fHug70r210ZGv6fpIO3EZL6oUKWvGfvbpqdtZSST5u7wEoJ4V9k/hKeqD6AfWtN6EkAsG3Vpajx9owW6Usg+MEva5ZGDBOABJyNA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e1PU1ZKh8DhnqbSaxGa5wj8B6P7w9cqNoVxTMOmPymE=; b=H5O58bZDeuVUgZDLkhfQRz0EFtrlNksbsgOdQ7XG+LyFebRUEwSqjxBIsBX4KFnYQY4/2HBLkcqZJTgu/5gSIOFmqqVtMORYB4bYj2TiuQUDwGpOFuGJoKjdpUmijtrPybc1NqKXonOLFRmWGXYCxTeul3cVoDn0iwoPpcCTnFA9YJSUgUSFdm8+9WvbWnx87EojZYnth1tL/qzoVoXaDcthd4yVXk7yw4r37yoo7SjXg/oiiB2BN2RkwKFVwDQd+HbaAAPBqrjfZ6zvSu8vgdowPI+nUWSDjHIgsKssyHsQYNQWIIDh2mMXc5kFU7ntqDSvs27PD6xGhfw+nuGToA== Received: from TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:8041::8) by TYYP286MB1668.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:fc::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.29; Tue, 31 Oct 2023 13:29:29 +0000 Received: from TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM ([fe80::465a:2534:4d99:a25b]) by TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM ([fe80::465a:2534:4d99:a25b%6]) with mapi id 15.20.6933.029; Tue, 31 Oct 2023 13:29:29 +0000 From: Shiji Yang To: devicetree@vger.kernel.org, linux-leds@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Olliver Schinagl , Shiji Yang Subject: [PATCH v2 1/2] leds: core: add missing LED color strings Date: Tue, 31 Oct 2023 21:29:00 +0800 Message-ID: X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231031132901.11732-1-yangshiji66@outlook.com> References: <20231031132901.11732-1-yangshiji66@outlook.com> X-TMN: [r0tWq6fA5SwALZ2uoDgdG3uiLrgd4Ay0KrPhHCE/GsQ=] X-ClientProxiedBy: TYCPR01CA0068.jpnprd01.prod.outlook.com (2603:1096:405:2::32) To TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:8041::8) X-Microsoft-Original-Message-ID: <20231031132901.11732-2-yangshiji66@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYAP286MB0315:EE_|TYYP286MB1668:EE_ X-MS-Office365-Filtering-Correlation-Id: cd680f62-63ab-400c-adc1-08dbda1568e3 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 52jYTXTKNJYpbgmMfTyFnfstyi86cdkxhkZHzO9XmHUabrGs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KeTjGAmiwhYSXPZaJvDjfekBQGdUF+pxc56HwGLzDkx90Y029Ia26zBAl4RZ8i5SbkyWSzxDBzdBbalbsJUbMS+uSd0GwzZSOGjkAveGw+W6abnHR0i36pLm5OO1nF0DyTf/bxoBUh2lCatMich+4COfJU9law8xXV7QLwaBR1GQqvObwNZl7Qpa2o0u/wfYkKTDYJeCeMz9ju+aJedg0rDZ1+9qQ51+mIVa7QVzKmxJ97EelVtr1eLtuPrz7OM5pTW4xjXy2B72VsnArYzyUbXTxq6ntLu2qndi8r7vQ4HXJB183fMWOEcy/zOQGH9K0BW8t5JEXN79KFRkL7WtfQI4wnOmmhvzgLrJOtDnMBoBMQwvWKM3U+uvrsSGfbzl+nqFagdW4fSSC0JrD8OwaHUDUqP6MKzG6hKQsaa06QjiIbyjQI1bnz+m6BSLdWp59GmaQvotW8pTaSFzE0gT14FKxMf9ZBP1awhSMtXmRtKbdizytqih9w7MaVsKkKoUYivJns9LieXUuun3HDp0DtyCNUX5vhiN6kuXL/A+zOLEVrFKFOlZiDKMDuiWNXQ5JmJaLo8n9VPAt7yvEoJZqTWpZfF9JPu59+eSXWXnb9nUYbh3hgwrEn4XLEVqPnOP7nRYFrErblo0NimO+ugDqi8ISESmRDyEeNg4Ozbx70QoijMwR+hlQ2hPr3uJZ6AW4U/UF24A6X3NJm93E1ZaBzilfj9okjbSZYT/9pk2pgp//jMjiuM7ZKlyizyxt2jTAjKPSIB4dXvvl/sSs+QoUq4SUyGcrCLsZN+f2ITBcoMz7MA5H6CE= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cd680f62-63ab-400c-adc1-08dbda1568e3 X-MS-Exchange-CrossTenant-AuthSource: TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2023 13:29:29.5363 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYYP286MB1668 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Some new monochromatic LEDs have been introduced into DT bindings, but they do not have corresponding descriptions on the led_colors structure. This patch adds the missing LED color strings. Fixes: 472d7b9e8141 ("dt-bindings: leds: Expand LED_COLOR_ID definitions") Signed-off-by: Shiji Yang --- drivers/leds/led-core.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/leds/led-core.c b/drivers/leds/led-core.c index 214ed81eb..223023928 100644 --- a/drivers/leds/led-core.c +++ b/drivers/leds/led-core.c @@ -36,6 +36,11 @@ const char * const led_colors[LED_COLOR_ID_MAX] = { [LED_COLOR_ID_IR] = "ir", [LED_COLOR_ID_MULTI] = "multicolor", [LED_COLOR_ID_RGB] = "rgb", + [LED_COLOR_ID_PURPLE] = "purple", + [LED_COLOR_ID_ORANGE] = "orange", + [LED_COLOR_ID_PINK] = "pink", + [LED_COLOR_ID_CYAN] = "cyan", + [LED_COLOR_ID_LIME] = "lime", }; EXPORT_SYMBOL_GPL(led_colors); From patchwork Tue Oct 31 13:29:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shiji Yang X-Patchwork-Id: 740603 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27068C4332F for ; Tue, 31 Oct 2023 13:29:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344569AbjJaN3m (ORCPT ); Tue, 31 Oct 2023 09:29:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344567AbjJaN3i (ORCPT ); Tue, 31 Oct 2023 09:29:38 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01olkn2071.outbound.protection.outlook.com [40.92.99.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9504AEA; Tue, 31 Oct 2023 06:29:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UdBTCmh94WVusy5Qr075QYtVThxPCxhBEPhWCJPWo/w3V7ZDm9y76pQeCxz42fX6prHcPOw/GOOMnEAhZoNeWDJ5HdMrdAdqZcMAwUA5d2MtFiUAfu97O13dMJSsOo07p4HaP2M8UySYyst0MiED7aMGgiAyoEyGqPJYxTo5TrITqI/aUr3U84PuGMoS+AZiVmi7kNr6tXoSTMAvBWeZEWQes7hZ/l5YU2qyOhtU94JqhI/bC7Sts2WOOy44bt2MTGqQkTkAJh+13luZrtQPzoh/7BQVjKdu/BejI4CzXPveJCSBbdzqOQzgkAs1/TlmbzzX0IfdBmhL/V/PpAy/GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=AwXMo6ZId6UVaf3hdKPyTrvLK+kYzUVVgPWzrtFUXXU=; b=UD1B4+c2vyS3XlDTWcbDTKSCfE/OXS9qPfznhptTAUq/gSaI7WQA1u4ac7IaAf4mW4Lc/iOakm0z2sAeHdECpJHFwiIeiUFZn41Aqykc/fm618RDZqJGL9ZNCGIAglhcN8XH6LNkE0JKFM+vrrrNnym/5ym6Nvto5oezjJD8D/RUAxwCQi9TA1t8Wpmsla8iBkBoKLTCGMtPMcFvbmD4ke1boPQGGVY3vEtCJZghLoSAh1UtDfl1sgrVluFNZ8IKzRfsVmDf4jlEGwp4AQ+u1Dyt5Tu6dUoDdVErsA5OVf1aIeQ+EzW9ebdHtvUgaCmw+olN7XeAbz5poclOBE5rrA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AwXMo6ZId6UVaf3hdKPyTrvLK+kYzUVVgPWzrtFUXXU=; b=R0Ar1e8SP6/junEzxWeqUiJ99W0+wxmtc+sR6uYVsIvpUDLvCEHtWorkfXSU+2WZw8txQUzS+7JcZWuIuL9cAx4EWO3oZ8ypVxU+vEOLtNCFBQF8BtUC9rj/JQY4Vgdco5dgUIxCjQog9jsmO8CA6/LStLwBntorZPiKJDeHC76GWcr9AXENEmtQJisNNy4G+rOjfUY8RgAIEyidf6jLlBf/e9D3qhlWb1yN5+lpvEy4r07tQN5JASUGONXII/Lxf/9zvuI7K9zZ9Ck9PxUssQG8BmQJ+BWo4d4otbkuXCdh6ic8Ar4GSbIoMyJEeGHHzXMJo1bgQFvy2OZUvVzPIA== Received: from TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:8041::8) by TYYP286MB1668.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:fc::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.29; Tue, 31 Oct 2023 13:29:31 +0000 Received: from TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM ([fe80::465a:2534:4d99:a25b]) by TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM ([fe80::465a:2534:4d99:a25b%6]) with mapi id 15.20.6933.029; Tue, 31 Oct 2023 13:29:31 +0000 From: Shiji Yang To: devicetree@vger.kernel.org, linux-leds@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Olliver Schinagl , Shiji Yang Subject: [PATCH v2 2/2] dt-bindings: leds: add "internet" and "rssi" function definitions Date: Tue, 31 Oct 2023 21:29:01 +0800 Message-ID: X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231031132901.11732-1-yangshiji66@outlook.com> References: <20231031132901.11732-1-yangshiji66@outlook.com> X-TMN: [1WwSHmcsM2WLHjyKHGIY9S0Q21neNg6zm51S1aDk/NU=] X-ClientProxiedBy: TYCPR01CA0068.jpnprd01.prod.outlook.com (2603:1096:405:2::32) To TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:8041::8) X-Microsoft-Original-Message-ID: <20231031132901.11732-3-yangshiji66@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYAP286MB0315:EE_|TYYP286MB1668:EE_ X-MS-Office365-Filtering-Correlation-Id: 97bcd924-63f8-4404-564c-08dbda156a2a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: okbdMwrx3q7l+PeCKNsLHtbSic5iHW4LbPJkd7DxDGcKcM6cNSZCcT095agtSZWvTEKnbzOS63Oie/5VJPXe9FeQZLRrvJ1rBJAutMIeMq3f4lFOQElLIAsOhz2WGGpkUkSdtXnzaF6hmQYRFvSoNX4gMhyxCP9kt/7npg57GSSeHL+REH7ULkbogvU5fQlQgatEHZTlbqgRY3pNNlV4xTvbWN1r73eaJmIYecycHcaM9yrjs7dqvgHKInhlPxUzsQlFTRgjcJy7vBGbQ0n/7RkI0DFJb1Hy8lYUceVSQUiRikGUDzpuugmSVc3McjKOi+iKwzlCqYtYLneoqLwcqxGNpuph0OhjPNwbxofLsyuTZLXJMkc4RoUXueV5p9YLC8O0E9efcORgyiO7Pt6pnM9vHYnE+Lzu8LjYZA4NDmKKIB06utD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Gi8P50nns4JNmtSlp6YPMRZ+KbGqXNdqKeFc3L1gq1WgoPZtw/8iHcMVL5fA+MF3/KFIm0rOJ7dJUCt964uSjHv++SM6TFLbnlvHdua9P7zaWweBHtHE2EmQvh2BLvZWNHNKcjm18pu0NtV04AT3AendEQsD2zlKdP5E2AhmCo70GWWE+yzrX50fOY5zNlgU9a1zL0HvlaW8yEpaT0Z+jvKqgWlLodEEFpDvikImYjzZtNqMm8KdLIvns4ZHmdSLTxXqhOelX97yFeAQtSkJQczNg1L5vCbxSVeuzYbup39gCRo73xFfOMORFOwC9dicADAIHZla8hJAfXn0tqT8U4KbrsvFZGqpD07LQnRbIr6uMsGi4M3Z5bYuG/sPsB3y2JJ5XinKhZIJh1OzBZeMSvOoFiaFMZgi1T1TPJkhzGXoNfevw8N8RJrw= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 97bcd924-63f8-4404-564c-08dbda156a2a X-MS-Exchange-CrossTenant-AuthSource: TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2023 13:29:31.6411 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYYP286MB1668 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org These two types of LEDs are widely used in routers and NICs. The RSSI (Received Signal Strength Indicator) LED is used to display the Wi-Fi signal strength, and the Internet LED can indicate whether the device can access a specific server. Signed-off-by: Shiji Yang --- include/dt-bindings/leds/common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h index 9a0d33d02..55a426e39 100644 --- a/include/dt-bindings/leds/common.h +++ b/include/dt-bindings/leds/common.h @@ -88,11 +88,13 @@ #define LED_FUNCTION_FLASH "flash" #define LED_FUNCTION_HEARTBEAT "heartbeat" #define LED_FUNCTION_INDICATOR "indicator" +#define LED_FUNCTION_INTERNET "internet" #define LED_FUNCTION_LAN "lan" #define LED_FUNCTION_MAIL "mail" #define LED_FUNCTION_MTD "mtd" #define LED_FUNCTION_PANIC "panic" #define LED_FUNCTION_PROGRAMMING "programming" +#define LED_FUNCTION_RSSI "rssi" #define LED_FUNCTION_RX "rx" #define LED_FUNCTION_SD "sd" #define LED_FUNCTION_STANDBY "standby"