Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp47881ybe; Thu, 12 Sep 2019 15:23:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsAOj9irFN5xi5XiMpMlW8JeCTAekKXomt+xDa1772e4gsEr3iPqTrF4xaUPJNfA6GogpQ X-Received: by 2002:a05:6402:3ca:: with SMTP id t10mr44973425edw.271.1568327008341; Thu, 12 Sep 2019 15:23:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568327008; cv=none; d=google.com; s=arc-20160816; b=VoSvmLxZK3XvotMS6CkSZmf5vVF2bhDb9F+iu4VBuEbjvrkFYnXJhMpC6CeqRM2FM7 JZ8b5bQLgSAWELlWF65g5BGWZli7eYRDNPhhCiDPRt0Fzgxhrs6gvoTJa9/bcNFI/pY4 /Npjm3/rpGGKiO/N/PfzRFyDgdfDOwDxfYub2BBjqNsnm3dpwQ+uhGTsKk7pp1X0vjkA e0hfILaa8Le9NQnE1rD2u1+sVmlay3lZYfhkdw5AbT+rdjTZeuu/PIeZKqJA3sV++7Cq hPiuWEXxUBiesMPZaAX6aCvT2i2v0DZkmEGOF8WqogJ1GQc4KZmoM0BzF4D6zsJBPFap fEKA== 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=raCvIn2PXtqzNPIupeRm6QQd/fVQo+MsmRTTloKRS+I=; b=y+o2243LAXt44yQ+Scw7bktQWmfdM54f/1EKIXKzNp4GHSgVBSz74IGgAn/5UFl8ZT MYxScwDP0AShKKzDO4E0SNwS00ZzmhtQ1XxKbGsj3QGbr+jSYhlHE4H2VzOOio55mKgp ALipEyJx6gbri5JQXDx5YEZ41HiuooDvB1tdutIHqiOw9E8taiOsMqrp1x7IXJ36AlQj 6x1l9Z8K8cJ3bYAVIdPZSvjxXM4h0c5AfkhH3bvp5FZP28i5FnNyPaVtkGhJWcKb7xUk KvzibC70TBycqAkTLfauNjyMhOmmoCkToSSFoXLkX/jgiGFim6xBX666fem1vJKh+8vW 2NxA== ARC-Authentication-Results: i=1; mx.google.com; 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 m1si6720601edb.433.2019.09.12.15.23.05; Thu, 12 Sep 2019 15:23:28 -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; 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 S1728124AbfILUz4 (ORCPT + 99 others); Thu, 12 Sep 2019 16:55:56 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:40541 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726308AbfILUzz (ORCPT ); Thu, 12 Sep 2019 16:55:55 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id C73D6821D5; Thu, 12 Sep 2019 22:55:38 +0200 (CEST) Date: Thu, 12 Sep 2019 22:55:52 +0200 From: Pavel Machek To: Dan Murphy Cc: jacek.anaszewski@gmail.com, robh+dt@kernel.org, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 2/9] documention: leds: Add multicolor class documentation Message-ID: <20190912205551.GA13514@amd> References: <20190911180115.21035-1-dmurphy@ti.com> <20190911180115.21035-3-dmurphy@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: <20190911180115.21035-3-dmurphy@ti.com> 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 --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > +Directory Layout Example > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +root:/sys/class/leds/rgb:grouped_leds# ls -lR colors/ > +colors/: > +drwxr-xr-x 2 root root 0 Jun 28 20:21 blue > +drwxr-xr-x 2 root root 0 Jun 28 20:21 green > +drwxr-xr-x 2 root root 0 Jun 28 20:21 red > +-rw------- 1 root root 4096 Jun 28 20:21 color_mix > + > +colors/blue: > +-rw------- 1 root root 4096 Jun 28 20:21 intensity > +-r-------- 1 root root 4096 Jun 28 20:27 max_intensity > +-r-------- 1 root root 4096 Jun 28 20:21 color_id I don't really like the directories... A bit too much complexity, and it will have a memory footprint, too. I'd expect max_intensity to be same for all the leds in rgb:grouped_leds... Could we simply rely on max_brightness file? [If not, would one "max_intensity" file in rgb:grouped_leds be enough?] Best regards, Pavel =09 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl16sNcACgkQMOfwapXb+vJAWQCgv45O0b24CFkyAeFWaKrZst6o LxsAoKz7kOpifqn3qlBEfyLGzEhgf2jR =hZFc -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--