Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3331710ybp; Sun, 13 Oct 2019 05:11:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwP9MTltmSR4gAdjrjVxoF+XC/R5oMvdK3jSnLYb2qxGOhLzk+4h7epG7SGC918ShHyDYUW X-Received: by 2002:a17:906:3c4:: with SMTP id c4mr3973276eja.302.1570968676868; Sun, 13 Oct 2019 05:11:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570968676; cv=none; d=google.com; s=arc-20160816; b=Tleo5j65HG6XjT3WfujpMa0Q+HZxv9YIPwqLxC+mJ12yuC3fYVroic0fnMtGQ0ulDl wN1cC7Lv+CdGvlTuCADNvrJ8nYQhgXYcZWl/QRyY2RP0ai6JbA0bNV2c2hH2lBi1F+JU jkT3T7E7a4MaAiEZ2AJH/bi//oM5ms0gkacPAR/cpBxYjyCQI5v7DmAnH3qXNsQdoFUP +O1K/ZUdU4xf4V3oXDI/JBo8H9zTi+WRE6ktK5qcGOd91TqXq7bZrSMpr4mvVt3h6dQz RK7Qe3gF8EhPAy/A7lVx4o6QF3VHG9r4oiq/ZasCEW4xeLo5wLpNw/wjLlOuMtIVqFaO 9jig== 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=PhI74L69RwV2VCpZe/T3sJsGHLd0dIhtPFOy7ejufQk=; b=GvQbllXzYcx/kw9gfiykzcjgy8Rvxm1MSkpCogBr0rm1xj7fR5RcUJTIRLo5hHYmK0 aVNW7wIVpiolbmiDzhqXi7pY4C1xLEZK/ZkoCY06IEv17RDc+iPVb3lf6Z8gfyhHXmje l+yhh4k3US00RQOwI8DsXIk/JB+T1I0IjMhiUIh8nHSnvU3u8ulZ8cbnJpdkith4Vh+O 4yMZxk1GUDbLuNXUfs9E0igKelYrjG+l9/j7b91gr012i9PLoXKSVkSGuYFeGLHi5S51 Wx4HkDnJGSlRo3QpPGxxVaw/9DSSB/ioqJhsR7jcDtYjhEdDAlNnVEOyUm3s1eb41JrM OvpA== 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 i16si11024104ede.86.2019.10.13.05.10.53; Sun, 13 Oct 2019 05:11:16 -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 S1728977AbfJMMJo (ORCPT + 99 others); Sun, 13 Oct 2019 08:09:44 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:41899 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728620AbfJMMJn (ORCPT ); Sun, 13 Oct 2019 08:09:43 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 8D87D8023D; Sun, 13 Oct 2019 14:09:26 +0200 (CEST) Date: Sun, 13 Oct 2019 14:09:37 +0200 From: Pavel Machek To: Jacek Anaszewski Cc: Jean-Jacques Hiblot , daniel.thompson@linaro.org, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, dmurphy@ti.com, tomi.valkeinen@ti.com Subject: Re: [PATCH v5 3/3] leds: Add control of the voltage/current regulator to the LED core Message-ID: <20191013120937.GK5653@amd> References: <20190923102059.17818-1-jjhiblot@ti.com> <20190923102059.17818-4-jjhiblot@ti.com> <3e648fab-638f-4aa0-dda9-8ddba6562751@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GmiNL4+5WUWrod5m" Content-Disposition: inline In-Reply-To: <3e648fab-638f-4aa0-dda9-8ddba6562751@gmail.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 --GmiNL4+5WUWrod5m Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > I must say I'm not a big fan of this change. > It adds a bunch of code to the LED core and gives small > functionality in a reward. It may also influence maximum > software blinking rate, so I'd rather avoid calling > regulator_enable/disable when timer trigger is set. >=20 > It will of course require more code. >=20 > Since AFAIR Pavel was original proponent of this change then > I'd like to see his opinion before we move on to discussing > possible improvements to this patch. Was I? Okay, this series looks quite confusing to me. First, 1/3 looks "interesting" (would have to analyze it way more). Second, 3/3... So we have a LED driver _and_ a regulator? So yes, the chip driving a LED is usually ... voltage/current regulator. What is second regulator doing there? Is that a common setup? 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 --GmiNL4+5WUWrod5m Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl2jFAEACgkQMOfwapXb+vKu9wCeJksxytOCCw3k5NtpexzOa2m5 ZuEAoIjNO4i229fKh/gNR+ud8Lqcsdpx =QhL3 -----END PGP SIGNATURE----- --GmiNL4+5WUWrod5m--