Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3885076ybi; Fri, 5 Jul 2019 16:23:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqz42TEdCUSKgPigNqViyXCxsFJQBDGPgfdXTf7GX6sJTC0qWCIHDjwv1TGaSbvS3sgiMzP0 X-Received: by 2002:a17:902:e512:: with SMTP id ck18mr7915921plb.53.1562369038806; Fri, 05 Jul 2019 16:23:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562369038; cv=none; d=google.com; s=arc-20160816; b=XjUFFtt3CdgmDuihF84xCHV5Cme4qW1bTQ4hILEBfhPJ4JU+H+UXkYo+O+TA9vI4mV bFXaus9HM860/rLmUFMfdRvWhFxyXVX13FTQbtrJRS2ptCkNxkIU4wFf432LdctGZSLI /j0i9FTRhLe1rSqsV4zF5VqiEKyLr2fjrm5bB2whKttTh3zRgppFgzLEtwvrd64L8Avr x6FktaPBj3iK7JACK0PxbHLFiKlaoeIYm9c5cWLocGiL00wiCQIos/1K7oHjUtorHjOK bG3j4Ry6Tnlr6Uf6RVa43yXjHKv8AdOsjJyjLxkj8LDjURD6UJ8grLuNX4yoSRB9SjZd ja4g== 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:dkim-signature; bh=ycqjwiaUDWzgQQsniwJofNr0x+zbhCT70FOz90wxYFE=; b=OcvEOGW/BFd36BZcZlVC0VUTMakafiCXK+kKgXgtYeledWxw957ZIyW5VFVMKXog6f ez6Ebr5q0i0KsQARaN3Sv4FebyXXJM0rMqXSEgPWiX0qRuFNniUP28EsJzjDmA8tECnw bOlif/c7vVxQ6d3X3g2wa2llIXE8QGqZX2gCoqCBnEtfRnYyl13Fg7/OSJKc9nhTTzZ1 npTcruz7y41n2zTPbZyhhtu/aABduge2a5pha/5BBIC4zY5/khJerE0QJip3Qw/mNZNx FszZoqbrhi3+Sc1fIFoI1iTrU3+odys77IsaWrfKT6hFU5okyngFl3KMKcaBUUSxBWSB hhfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vctNU5xB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x20si10040507pgf.118.2019.07.05.16.23.43; Fri, 05 Jul 2019 16:23:58 -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; dkim=pass header.i=@kernel.org header.s=default header.b=vctNU5xB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726411AbfGEXXQ (ORCPT + 99 others); Fri, 5 Jul 2019 19:23:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:54936 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726005AbfGEXXQ (ORCPT ); Fri, 5 Jul 2019 19:23:16 -0400 Received: from earth.universe (unknown [185.62.205.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A7F7C2147A; Fri, 5 Jul 2019 23:23:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562368994; bh=vmEZKNZqRr6xwY0yKdVhBStqaQqbAFizMtRR8lJ/Y8g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vctNU5xBE0x1R29063mHZbrhF1Jxc5qG6pFi5a8nhFuaWdIqE4gq+Lv7iXbzoN3Oo 6hsTyC+Xxgt94NFhq9t27v5YK+Ymgi+1F98NatTuNSwYrD6WGYXvsJPzP/R7IO4QEK MruLsJ0v+qCQ8c+KtBosUeaOW6xOKU+StFOhTOXQ= Received: by earth.universe (Postfix, from userid 1000) id 255733C08D5; Sat, 6 Jul 2019 01:23:12 +0200 (CEST) Date: Sat, 6 Jul 2019 01:23:12 +0200 From: Sebastian Reichel To: Pavel Machek Cc: Jean-Jacques Hiblot , mark.rutland@arm.com, daniel.thompson@linaro.org, jingoohan1@gmail.com, tomi.valkeinen@ti.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, robh+dt@kernel.org, jacek.anaszewski@gmail.com, lee.jones@linaro.org, linux-leds@vger.kernel.org, dmurphy@ti.com Subject: Re: [PATCH 0/4] Add a generic driver for LED-based backlight Message-ID: <20190705232312.uxh7rlin6r6jwn3e@earth.universe> References: <20190701151423.30768-1-jjhiblot@ti.com> <20190705101434.fw5rpctnqt6dwg6e@devuan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="57433k23tjcm5ynk" Content-Disposition: inline In-Reply-To: <20190705101434.fw5rpctnqt6dwg6e@devuan> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --57433k23tjcm5ynk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, Jul 05, 2019 at 12:14:34PM +0200, Pavel Machek wrote: > On Mon 2019-07-01 17:14:19, Jean-Jacques Hiblot wrote: > > This series aims to add a led-backlight driver, similar to pwm-backligh= t, > > but using a LED class device underneath. > >=20 > > A few years ago (2015), Tomi Valkeinen posted a series implementing a > > backlight driver on top of a LED device: > > https://patchwork.kernel.org/patch/7293991/ > > https://patchwork.kernel.org/patch/7294001/ > > https://patchwork.kernel.org/patch/7293981/ > >=20 > > The discussion stopped because Tomi lacked the time to work on it. > >=20 > > This series takes it from there and implements the binding that was > > discussed in https://patchwork.kernel.org/patch/7293991/. In this new > > binding the backlight device is a child of the LED controller instead of > > being another platform device that uses a phandle to reference a LED. >=20 > Other option would be to have backlight trigger. What are > advantages/disadvantages relative to that? One advantage of having something like this is the possibility to reference the backlight in DT. This means the system has an idea how backlights are mapped. E.g.: panelA { compatible =3D "random-panel"; backlight =3D <&backlight1>; } panelB { compatible =3D "random-panel"; backlight =3D <&backlight2>; } -- Sebastian --57433k23tjcm5ynk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAl0f290ACgkQ2O7X88g7 +po9RA//cLYbl7o2nMQIXHn/Oekssa9YS8SFaPCKAo2h6Gho1scrDNc91jMoi1Pa fHdXgKrJ+QnQUGW5nf6MHBCC9R5QOSMHlerf5Taf63Wr1tvDIcmFhUj0O1JQ5cqq 4J46Vq23ZvL45658vDW5IF8teDkm0A8nELQqnaEg3hrJB8Vw9LOx3XnJxhaJlHAd xdAmqvPlvTdR5hIUeGCZ7TCK7b3024xIFZiKpvBaEhnL98230azZ4uMdzS76W6o4 cx4c5viE+xK5jplCcoAhN9UsIdzdQKRAYDP565FnEdzpUlOzXCXDSbR63aOfHkoi j9YoGLDtxnxdUa2WeBiM2gyso7uj97nsfGrZM3QaygXg/zWW2hmDhF3iwpxwdmRP /PwfwWXsRyd7JokQn4g4AoqvgCSltMK0X8xAoZ88O+207wRhbKCZA3ljCcYTt713 CsEtWzxa/z/UlGAETcSaZbmsFI3IZFNaz9pqkCwkuuyhIPh7PdQNBB0mqze0aiCy 1xRAFLC6yOP0ojORn73Ki2hLluoxYd3f0NU9dVxdYMMUIz4FtNXLaJhnXtBeY/LY 4UI87oha4XdCalCnp2Mg2Ybxe5o3ZPLwBLzs8+3ifeBxGDMDuQ3v/t0uTlFSSrrj fUN0MXHtt2vAVBKLA4FiXSKAutopgPojYx3YZRmey6YNNUgOaf4= =9zIH -----END PGP SIGNATURE----- --57433k23tjcm5ynk--