Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp192683pxb; Thu, 14 Apr 2022 19:48:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzX9TcHbLeP2Im1EXEdExuWD8aM5iDt35LCElTgGO4QQZYsmIixRN0YQsluz6yr0yuFezGV X-Received: by 2002:a05:6a02:19b:b0:39d:cfa:5cda with SMTP id bj27-20020a056a02019b00b0039d0cfa5cdamr4679209pgb.175.1649990887743; Thu, 14 Apr 2022 19:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649990887; cv=none; d=google.com; s=arc-20160816; b=Ixan2gTsR4Wb7DBaN7rTXif1K4GcOSE0ARzgveXUE6wIBxx1Plmd+s8tWDXAZAtDao J40Gj2cOhM6JRkZABA6jxMjmRt06gUiac7Y6eZo7pZDaRMKGiXH+Y0YT/C+irL4HO8zX ekOz0tvbtVntclXRWv3nOC51IPoUDyDSWAHD4Ix35CahOHGW/sf4VYSToE8lVn3c/KAa jePkjoYeeky7g1IdibpuDStHxXgBBNDXtEAp3vaFuvX46aIGcw/9ZCcNaSbARC6v2FSQ LJg3JRoMBBJYpjN6EgPB5JCqjWmBuAYFhM6ZSZRaMajm2CmFM8VL5s+/A65WaCScw7/G LX0g== 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:references :mail-followup-to:message-id:subject:cc:to:from:date; bh=ApniLF1X4HdUsl+Ew/NdQztwhp9lSPsc3DBlfQpYGyU=; b=lkhxC0HS7XegjHZ51L6BYsZoaq1nmdg3iPBribn4uJS6JZQBDfIt11PbZ/+pL5aOz1 BwQ1eJjExwm3dQvlb/N3//xiwOAx7g0/bSgS2bfR9ylwQ21IA364GM/8N2R2PxinI4J7 xcuGjZ2zlBDBR00CV5qMUgoF+eDlwXJdqD/tSo9iwbuJgXvZUnaOSbrH+ifBBzIQXQdr o9xdcWJcbqYcCby6fpDODFKNtx2+ApnDqG8f4tputecEaoU03an+HlxYR2KBfC98BOGA PKCfjaZwXYY3980rRk8JvTNjL9vFCZCA1N9gsWGGiHaHkS2dZ2YpvEc/NZOFhF736dPX bG0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bg3-20020a1709028e8300b0015859959f82si169501plb.239.2022.04.14.19.47.53; Thu, 14 Apr 2022 19:48:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240293AbiDNHQ2 (ORCPT + 99 others); Thu, 14 Apr 2022 03:16:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240282AbiDNHQ0 (ORCPT ); Thu, 14 Apr 2022 03:16:26 -0400 Received: from mail.thorsis.com (mail.thorsis.com [92.198.35.195]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9579E15A24; Thu, 14 Apr 2022 00:14:02 -0700 (PDT) Date: Thu, 14 Apr 2022 09:13:56 +0200 From: Alexander Dahl To: Velumani T Cc: Pavel Machek , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, patrick@stwcx.xyz Subject: Re: Multi-color LED framework Message-ID: Mail-Followup-To: Velumani T , Pavel Machek , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, patrick@stwcx.xyz References: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Velu, Am Wed, Apr 13, 2022 at 10:54:17PM +0530 schrieb Velumani T: > Hi All, > > I have a question about the multi-color LED driver, Is the multicolor > driver implementation specific to the RGB color integration? Not sure what you mean, but I think no. > If yes, is there a way I can use static color LEDs with this driver > framework making changes to have this as enhancement? > > In my case we have blue and yellow color static LEDs connected in > GPIO, I need to choose the color from the application and the LED > shall glow based on the application configuration. Is that two colors in one package? Anyways, the request for a multicolor gpio led driver hit the list a few times in the past, but AFAIK no one stepped forward with actual patches. If you have something, just throw it on the list, if it's not in perfect shape, maybe as RFC. I think that would be highly appreciated by other users. :-) Greets Alex