Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1278420imm; Wed, 8 Aug 2018 14:04:07 -0700 (PDT) X-Google-Smtp-Source: AA+uWPy0406lhPV1GmZkA5TvQnOVI6xqsr4t8aw2b2pV+msuRBNmx8PLAqIZUhyj8w9RuJJUjrGA X-Received: by 2002:aa7:82c3:: with SMTP id f3-v6mr4592833pfn.136.1533762247778; Wed, 08 Aug 2018 14:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533762247; cv=none; d=google.com; s=arc-20160816; b=pNduuoFqMz43ji61oGitT67V2T5fKgmaN05iS3K7G/SMTAsePlFkP+TMK7cdeYDYmW 59YM7Pk8x4PHikLH8JjliYZInFDRVs+lj2AREe3YnCw2W3IKrX/NRm1Totw301Inf0gk MYkShTlW+Xs6kRGNQkriZ9vj+fvFal0L0e90jTjeMldvc3QJiTTa6P/ubmtkds/cHVTG cbsEXylzyT7f4RghDwlaSUBysyGJMxhO6SpmbcW4ojswILUT+9EM4e0RLTx9GfOq8aiA CrbaSPAv30UXd2Nqc1Hgv9o/Zuk6MPWk0G3KSyADjMS0fpctteNlelFOWsFmDb+6JGT4 /nbw== 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:arc-authentication-results; bh=T08nOYpdWp/pjClPT4DleeGf+G6tnbTVOOG77kFtKek=; b=x5XeDyN4qgaA9LBtbLpqZ2I7ddgejuxIRVl8T52RAh7PX/6nb6AQ9PtwBftsqjJmXH scLvwHVdY6RbiSuc+eS3y+iQ3RjJh8asGKaDs41BUzFF7jYq0yYh8ahtqBBzSjIKETYZ jSJKEXd6ydcizVaj2XnqhszyZ3IupaPMXjB0Ptj7Ubkh21BxI5zQS86mCgGyrzLq0Zkb ZbZoPs9I1+IoGakvJbRbLqz6Ra1vnnVqF4XvDX4uJexKE2cbufLGUPpLZim+XMY7M4jR Hj45dpMics5cx0eRjvcN0jCFGbJpJQpGpPQC9n7U+Rm6ONL7790PRvzM7/yR+5yGuklZ cZ5w== 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 t17-v6si5297179pgl.488.2018.08.08.14.03.53; Wed, 08 Aug 2018 14:04:07 -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 S1732286AbeHHXXn (ORCPT + 99 others); Wed, 8 Aug 2018 19:23:43 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:40325 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730169AbeHHXXn (ORCPT ); Wed, 8 Aug 2018 19:23:43 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 7D34D80636; Wed, 8 Aug 2018 23:02:16 +0200 (CEST) Date: Wed, 8 Aug 2018 23:02:16 +0200 From: Pavel Machek 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 Subject: Re: [PATCH v2 1/2] dt: bindings: lm3697: Add bindings for lm3697 driver Message-ID: <20180808210215.GA15831@amd> References: <20180807160442.8937-1-dmurphy@ti.com> <20180808195903.GB20912@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" 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 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > >> + - #size-cells : 0 > >> + - control-bank-cfg - : Indicates which sink is connected to which co= ntrol bank > >> + 0 - All HVLED outputs are controlled by bank A > >> + 1 - HVLED1 is controlled bank B, HVLED2/3 are controlled by bank A > >> + 2 - HVLED2 is controlled bank B, HVLED1/3 are controlled by bank A > >> + 3 - HVLED1/2 are controlled by bank B, HVLED3 is controlled by bank= A > >> + 4 - HVLED3 is controlled by bank B, HVLED1/2 are controlled by bank= A > >> + 5 - HVLED1/3 is controlled by bank B, HVLED2 is controlled by bank A > >> + 6 - (default) HVLED1 is controlled by bank A, HVLED2/3 are controll= ed by bank B > >> + 7 - All HVLED outputs are controlled by bank B > >=20 > > This is quite long way to describe a bitmask, no? Could we make > > it so that control-bank-cfg is not needed? >=20 > The problem we have here is there is a potential to control > 3 different LED string but only 2 sinks. So control bank A can control 2= LED strings and control > bank b can control 1 LED string. =20 >=20 Can we forget about the LED strings, and just expose the sinks as Linux LED devices? Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --DocE+STaALJfprDB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAltrWlcACgkQMOfwapXb+vJXKACeNsGqbtuMFPW3Jtr+9/aN7qRf YZ8An3/jYlRDulqvn4ZuE/VdMsI+74Bq =XbIL -----END PGP SIGNATURE----- --DocE+STaALJfprDB--