From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH v2 1/2] dt: bindings: lm3697: Add bindings for lm3697 driver Date: Wed, 8 Aug 2018 23:58:42 +0200 Message-ID: <20180808215842.GF15831@amd> References: <20180807160442.8937-1-dmurphy@ti.com> <20180808195903.GB20912@amd> <20180808210215.GA15831@amd> <20180808210926.GC15831@amd> <20180808214527.GE15831@amd> <65e927b4-8bd2-1f34-3422-36ce21f674c3@ti.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DO5DiztRLs659m5i" Return-path: Content-Disposition: inline In-Reply-To: <65e927b4-8bd2-1f34-3422-36ce21f674c3@ti.com> Sender: linux-kernel-owner@vger.kernel.org To: Dan Murphy Cc: robh+dt@kernel.org, jacek.anaszewski@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org List-Id: devicetree@vger.kernel.org --DO5DiztRLs659m5i Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > >>> Yes, and LED strings are statically assigned to banks, right? > >>> > >>> So why not simply forget about LED strings for sake of hw > >>> abstractions, and work just with banks? > >> > >> How would you set the control bank register for the correct LED string= configuration? > >=20 > > Have property at each LED saying which which HVLEDs it controls? >=20 > Isn't that what I have already using the reg property? > Then we would have to aggregate the configuration and make a determinatio= n in the driver. Yes. > But that does not follow the LED child node ideology. > Each output of the LED driver should have a child node. >=20 > In this case the outputs are the sinks(inputs) and there are only 2 sinks= so having 3 LED child nodes would be confusing > and there are required properties for each child like label. No, I don't want that. I'd like 2 child nodes, each specifying which HVLEDs it controls. Let me edit the original proposal. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --DO5DiztRLs659m5i Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAltrZ5IACgkQMOfwapXb+vLNYwCfQzUR/jIi8wFhYImeoMIUxbes TkIAnR1wNHsAHZSwLAWK3cwthtSerAl+ =XAcD -----END PGP SIGNATURE----- --DO5DiztRLs659m5i--