Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp845046rdb; Wed, 1 Nov 2023 04:48:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGla4hreUa+raRzsmKaIFHjXdFr1AOphjWVoRsqAf1NOyI9Fcc48VkW6Sn7nxVMNWHECe4w X-Received: by 2002:a17:902:db0f:b0:1cc:5aef:f2d1 with SMTP id m15-20020a170902db0f00b001cc5aeff2d1mr7750844plx.25.1698839293687; Wed, 01 Nov 2023 04:48:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698839293; cv=none; d=google.com; s=arc-20160816; b=x3sLfBqOEDGmByiCKSFPPCbyKwEoRaZpRh0AKMXolfVleoZfaNYnQSSpgXr+dMvqLS HOJWFP1JWSCVTAVE2u0LbYMyHKaeLNRXQOwKMviyIFYaRUP2gOy7JeArSTd4ZG70AUg3 xLPgijaUszfyniD6AycY9JR4Y4RbIA8Q9savI/pdzN1WNCmdUqBBUEFimE9uVMgme9Wu 93pIDV08wusswZF6x5YtCuj386cm3leGtrXQOl6Hh55fmoVLt0iDK3+JcM9Osm4K+jpU Isq5IV3B3HLp9O+RT3pLnAX0LcZGIb3UraEFI5q1PgtzbQQPEj19BTJ9QvQQDMmv2BgS PSgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=JuL+cIDZndIZ+O19GLEJrA98bBUnEGNr2idSt2y5+2Q=; fh=S4wvYpFqNHKJ3d1RnbhFMj8zosgUFuoNkjJl6ZHSL5Y=; b=o1kBphS7kMrrzJT8y75C5EeXjUen5KYrN67m+m0KunmDh6ptCqY2p9FT9TKCX0z2pH 5xWeO6zUsfUibTK5GuzZD4U4D+Q1y0c914wenG87El/EQ5XTi/CmAlVoZo1y59oCnF6+ JOCYLGC2pq+KD+lOzBNjVyYIaMslulOuM1tljpg3+wImrA+1CuKHdOVsFmo52pfECFB/ lV+5bXZrlpbMh8zb2oS611lrNmNrevJ9KCmAk1Uwgt1t/ZbsrKN/MbLtPwxLH98xq+NY kTqv5WHfucO5ekIYBmbpk+flMks+iGqquRPLhw+70h5akZqNIIm4OVnQa3FTkZgXUw5f Xpfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kn2TQOyz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id u17-20020a17090341d100b001bc674914b0si2931502ple.472.2023.11.01.04.48.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 04:48:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kn2TQOyz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 79C5780ACC6E; Wed, 1 Nov 2023 04:48:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235295AbjKALsG (ORCPT + 99 others); Wed, 1 Nov 2023 07:48:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231538AbjKALsG (ORCPT ); Wed, 1 Nov 2023 07:48:06 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DCD0DC; Wed, 1 Nov 2023 04:48:04 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CAC71C433C7; Wed, 1 Nov 2023 11:48:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698839283; bh=nxMPbDkv3IAzUXb07QKYgvp8/kcjLcwieAGlAyQanac=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kn2TQOyzP5dcMyQRVZi9kU9LccVJlmV9k906FoMoHVQO2ECCiG41yL4dE0Zsu7BGa GW54QrYmkpabT+DGlTVsV3jSscpjw2YU4UUTM0K4a1/nj7pxa/AUBXapT7LrBWo6F/ S3tmtgZ/dU0ilReUZl9sJc6cXWTeFATSp0E0zRIazZW6A8ejdRPAqMZK49TK97lrIj SaltIiCqOa2Q83EMO0rxEjUYPtuFvHx0S7gbg/51WOeC/HxujYqwyGFtRfUS3DRjb1 N47QezATy4pesaDCLaqiWpGRX6SlIvMMt+TdylLQH7vkzbw1q6H1hzLUZ1fJ7cnKzf q4M0UnfeQJSyA== Date: Wed, 1 Nov 2023 19:35:47 +0800 From: Jisheng Zhang To: Shiji Yang Cc: devicetree@vger.kernel.org, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Olliver Schinagl Subject: Re: [PATCH v2 1/2] leds: core: add missing LED color strings Message-ID: References: <20231031132901.11732-1-yangshiji66@outlook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.6 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 01 Nov 2023 04:48:10 -0700 (PDT) On Tue, Oct 31, 2023 at 09:29:00PM +0800, Shiji Yang wrote: > 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", A similar patch was sent out two days ago, earlier than yours ;) https://lore.kernel.org/linux-leds/20231030054757.3476-1-jszhang@kernel.org/ > }; > EXPORT_SYMBOL_GPL(led_colors); > > -- > 2.39.2 >