Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1789112ybh; Fri, 17 Jul 2020 00:47:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzarDSLsdQRVk9HnFHxlKu5Qxq/2pZ1mHHm1D5k18QRGCCiNnarFWn+6AZVcAB6ybFkJMM/ X-Received: by 2002:a17:906:94c6:: with SMTP id d6mr7702271ejy.389.1594972069279; Fri, 17 Jul 2020 00:47:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594972069; cv=none; d=google.com; s=arc-20160816; b=knArsf8ELV2qRZO2SQvtvNOp8/LS/7l55+SGYW3OLuN+EvH4ho8muKumoql/3REQwn FkmzO2zigc6ubkGtzqzEvXhM2jdH4q4fwdRTM7iB7mhrOQ56FNn/Utpb6opuhU+i/+w2 Kao/J/DHaskv+YXB0BgXr3Jp/3x2o6J5ZKEyQo3fN9DzyaGD4Cc4CAKBMtDOKRK4sW8m d2UVPB1rZnkoq+8zv67a94Ldnvc4I0rMlOmZjXrgM8DxE4ippz/3qnlK9sGc9alsfdCL P3XpXJ4Y+nUWimLcif0/8zx9gYsFWxX/uXmWwgIyT+1sp05EAoMG9fpD6vhxel6Vx6g2 ZKkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=pkORfWT9cNJocf5w5VaruGPTggoKeOHY8z+a4TcWbZE=; b=WBdy43niEbVv5W0SoqRzLlG9uGjFuIMctNz+AvJQlWyJoAHhrmo8bQj89P05bWDGTm DrrCMuB+1Ln8XSpMtjUJECcQWAYdIyTjaCCavId4gN4MQKFwiGa0Z5QaQY0y0Qjm7w6d heP27mt2yT48ZIlo2kJWsFOqM0Y6DsoKfyQYdutRtPDsh6hAzB3V9K3U0iVmC/zLawVw I5vyGoBvi8R385KzO92zOZJLIzz1zHBhW2XmmluT87A1W/Bao4vPi4J+s9WAEOfowwqV 3+0fno3BcTFE9dGcZKRkkYpjx0qmJu8/w+Ka7xn8EiKuIoW09giFQOZCI/Zg40DIFDdr F/jg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y6si4839363ejr.560.2020.07.17.00.47.26; Fri, 17 Jul 2020 00:47:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727931AbgGQHoP (ORCPT + 99 others); Fri, 17 Jul 2020 03:44:15 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:50840 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726101AbgGQHoO (ORCPT ); Fri, 17 Jul 2020 03:44:14 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 577D91C0BD4; Fri, 17 Jul 2020 09:44:11 +0200 (CEST) Date: Fri, 17 Jul 2020 09:44:10 +0200 From: Pavel Machek To: Alexandre Courbot Cc: Jacek Anaszewski , Dan Murphy , Linux Kernel Mailing List , linux-leds@vger.kernel.org Subject: Re: [PATCH] leds: add NCT6795D driver Message-ID: <20200717074410.GA8895@amd> References: <20200713134114.137265-1-gnurou@gmail.com> <20200714223344.GA20740@amd> <17fe52a2-73ff-b547-8a59-5df009c929c8@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > >>> Add support for the LED feature of the NCT6795D chip found on some > > >>> motherboards, notably MSI ones. The LEDs are typically used using a > > >>> RGB connector so this driver creates one LED device for each color > > >>> component. > > >> > > >> Ok, let me take a look. What entries does it present in /sys? > > > > > > Right now these 3 directories in /sys/class/leds: > > > > > > nct6795d:blue: > > > nct6795d:green: > > > nct6795d:red: > > > > > > with the usual suspects `brightness` and `max_brightness` in each. I > > > am not 100% sure I got the names right so please let me know if that > > > is not correct. > > > > You miss LED function, that should be in the second section. third section? > The reason for not having a function at the moment is that I took a > look at include/dt-bindings/leds/common.h and could not find any > function that could reasonably apply. This basically controls a RGB > connector on the motherboard which serves no particular function - you > can plug a RGB fan or anything else you want and control it in any > fashion. Is there a function that applies to this use-case? This is normally used for motherboard lightning, right? I believe this is getting common on gaming boards, and we want common support for that. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --jRHKVT23PllUwdXP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl8RVsoACgkQMOfwapXb+vIYJQCeNv8XzLypVkfOvVKCaRH1eEgF d68AnRg1XriCFpqeZJE1euaJT4p+qWLa =G7Tf -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP--