From mboxrd@z Thu Jan 1 00:00:00 1970 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 8327BC433EF for ; Thu, 14 Apr 2022 08:29:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237140AbiDNIbq (ORCPT ); Thu, 14 Apr 2022 04:31:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236836AbiDNIbp (ORCPT ); Thu, 14 Apr 2022 04:31:45 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3228E0D; Thu, 14 Apr 2022 01:29:20 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 6349D1C0B88; Thu, 14 Apr 2022 10:29:17 +0200 (CEST) Date: Thu, 14 Apr 2022 10:29:16 +0200 From: Pavel Machek To: Velumani T Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, patrick@stwcx.xyz Subject: Re: Multi-color LED framework Message-ID: <20220414082916.GA6514@amd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > I have a question about the multi-color LED driver, Is the multicolor > driver implementation specific to the RGB color integration? >=20 > If yes, is there a way I can use static color LEDs with this driver > framework making changes to have this as enhancement? >=20 > 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. Why sending the mail twice? Multicolor framework should be able to work with that, but if LEDs are just on/off it may be a bit of overkill. Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmJX21wACgkQMOfwapXb+vLmwQCfZ0oM+UVmf1tVipxuEz2yEkvg nB4AoL1uA5u/yvx7H0J7MjmR5rkPLh8+ =w1M+ -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb--