From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755443AbcIXL6b (ORCPT ); Sat, 24 Sep 2016 07:58:31 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:42257 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751900AbcIXL63 (ORCPT ); Sat, 24 Sep 2016 07:58:29 -0400 Date: Sat, 24 Sep 2016 13:58:24 +0200 From: Pavel Machek To: Florian Vaussard Cc: devicetree@vger.kernel.org, Richard Purdie , Jacek Anaszewski , Rob Herring , Mark Rutland , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Florian Vaussard Subject: Re: [PATCH v3 1/2] leds: ncp5623: Add device tree binding documentation Message-ID: <20160924115823.GA8696@amd> References: <1474025672-5040-1-git-send-email-florian.vaussard@heig-vd.ch> <1474025672-5040-2-git-send-email-florian.vaussard@heig-vd.ch> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <1474025672-5040-2-git-send-email-florian.vaussard@heig-vd.ch> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > +Example > +=3D=3D=3D=3D=3D=3D=3D > + > +led1: ncp5623@38 { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + compatible =3D "onnn,ncp5623"; > + reg =3D <0x38>; > + onnn,led-iref-microamp =3D <10>; > + > + led1r@0 { > + label =3D "ncp:power:red"; > + linux,default-trigger =3D "default-on"; =2E.. > + led1b@1 { > + label =3D "ncp:power:blue"; > + reg =3D <1>; Actually... the three LEDs are packaged such as this is one colorful light to the user, right? Some day we'll need to group them, so that kernel can automatically tell this is one led, and probably add extra attributes, such as values that produce white light. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlfmal8ACgkQMOfwapXb+vKfSgCfYdfS0bEWuBVsrsZ5TrI0ql0B IjwAn1dsz2s01n/B90R2Bc2wE3/OpXYO =4MrU -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx--