Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp5144206ybb; Tue, 24 Mar 2020 11:41:52 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtNfjhBVurkng/KqR7Xt57Wdex4ZJ6qsqJF7z5ip55lLjFK/eTB3qTwEF5nUN9gUy8V0zPD X-Received: by 2002:aca:af12:: with SMTP id y18mr4295604oie.78.1585075312371; Tue, 24 Mar 2020 11:41:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585075312; cv=none; d=google.com; s=arc-20160816; b=N/9Fif/4s6DjCSFGv+Ic8XKu3t3bPrI7VMx8DBGmO67TQR4ljUyl+qPvPb1lajN4OL r8YESyHD7XyFTWohr7wILany8AgmXn37Tk9qlYZJIETdd08+qDBwyw0ApQKUR19YHvfQ Z8S7ZXcO0xv2NeEUb6lsdRn+vcRAcUEoy5kXeU9qYkLMANrB25u9EZGGzHn8E8+QBecv yK4AFP+pVKcnisi8Ci6uzvzRfRFJ0I81idySrnQ8W6MWtG/FOkJwlA30FSyEKmDk5prB MBBGjpiY1Zm2/sZ28dk19ruXdjfvachIdyyvFCuwdIK/qfPo510WPxsMXLJaxmnJynUW mnyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Wd0k7Pl2dpveFVlxa5+59jPfGtSekGDFn8MRmZyOnso=; b=q8sXtueLjJeH+7PF2hqzzdJRNYqQBQPW8kRk4fFQ0OusE6xM+Llwr80XAcIu6luUsn 1RgxQLLHGYvEhsHK57bfjl/4U2IvVaLScYCuomkfdLBAABZP5GkutgO2sR4/q4ZeVHx5 mlyd/Pjv0Gpk7KGPsfKJFNPDUMwxQtIGcu8PKVHoYMs6+codn2Gm7LNuuGsiYTvMUxYa I2ynRRwoILWVsqdSK7tumHqTipW+n9eK/ZxY3oy1yRZ+TlcvSUxya5OEitf29ddMchnf V4B7HZf8V+41gZv9DPMgsw6WPEX6c8Xl8Ef4fpcn51iGbIewGlZQIh1ijVbwXT01Tx2V 4DEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=igCXhxZL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e16si9917421ote.190.2020.03.24.11.41.29; Tue, 24 Mar 2020 11:41:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=igCXhxZL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727630AbgCXSlN (ORCPT + 99 others); Tue, 24 Mar 2020 14:41:13 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:47778 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727365AbgCXSlN (ORCPT ); Tue, 24 Mar 2020 14:41:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=Wd0k7Pl2dpveFVlxa5+59jPfGtSekGDFn8MRmZyOnso=; b=igCXhxZLgbxBS17ynr5P06jWKk ZXZFEi2ggjJ3+C5Z3JvnWpM4vl1RkKfCfuCV1pI5fK8wJTYjGO1GsHvhNNYIBqyFjElr0iaLX0v9R hip4TOIAmRGKM1ehEUZEzHd+dijs4YupUW5CjMC6bVLdUezWKBAGFlUrCwU9JoI4xD2ahzYxhm0OC NjmctzqXzNlaaKxdODgarAF822ywGhq5dSZRR9nbMKogkOGrIteVr+1jgRYgU6BZyrVaSS55KuW50 vFi2OrDIeWccuYUwWeDRV6TMpcIIne9bXf8mwxLiyZRs6cS7YqlAi9e3CwiuzS/ReUw5AQHhJdwdr WVFp+FCg==; Received: from [2601:1c0:6280:3f0::19c2] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jGoUB-0008FS-VI; Tue, 24 Mar 2020 18:41:12 +0000 Subject: Re: [PATCH v18 4/4] leds: multicolor: Introduce a multicolor class definition To: Dan Murphy , jacek.anaszewski@gmail.com, pavel@ucw.cz Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Greg KH References: <20200324181434.24721-1-dmurphy@ti.com> <20200324181434.24721-5-dmurphy@ti.com> From: Randy Dunlap Message-ID: Date: Tue, 24 Mar 2020 11:41:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200324181434.24721-5-dmurphy@ti.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/24/20 11:14 AM, Dan Murphy wrote: > diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig > index d82f1dea3711..37dcdb06a29b 100644 > --- a/drivers/leds/Kconfig > +++ b/drivers/leds/Kconfig > @@ -30,6 +30,16 @@ config LEDS_CLASS_FLASH > for the flash related features of a LED device. It can be built > as a module. > > +config LEDS_CLASS_MULTI_COLOR > + tristate "LED Mulit Color LED Class Support" Multi or even MultiColor or Multicolor > + depends on LEDS_CLASS > + help > + This option enables the multicolor LED sysfs class in /sys/class/leds. > + It wraps LED class and adds multicolor LED specific sysfs attributes > + and kernel internal API to it. You'll need this to provide support > + for multicolor LEDs that are grouped together. This class is not > + intended for single color LEDs. It can be built as a module. > + > config LEDS_BRIGHTNESS_HW_CHANGED > bool "LED Class brightness_hw_changed attribute support" > depends on LEDS_CLASS -- ~Randy