Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3180045ybi; Fri, 5 Jul 2019 03:15:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEGQAoSo5drw9PkzYzpbwSx0rwpIXAWVqT7oxKHNU4CLE2MvD5yiVoyCYYW1z7N1ELNBEt X-Received: by 2002:a17:90a:1a0d:: with SMTP id 13mr4250771pjk.99.1562321725308; Fri, 05 Jul 2019 03:15:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562321725; cv=none; d=google.com; s=arc-20160816; b=Nio/KuuXMQsuBPu+YfvbJjdZuyNoJ17Uyu90rQpVoIn5W+t92uRnj66K0/jxA4aeH5 YMfEVKJrnDZSF6UxXUSMzNYODz3wZzpyQAh1piRLzOVaWO3ZcNL2fP9DmBzx/36aGYHh 1IvtEk58KQ8I+lxuctAzaiuKRotSlBVfAKzSIpmlkp93pu6GI8cdQoNtC95IdZRdHQio cGYSkf70DoTjqPdSKzzAH4cpyI3bR3D52/NMX5x5wxw2S3+om8q1ueHF+NwAvlyfKMsa mw7CONBaowxQp7Qxt52GHsD8rM5S9+onkgBmHwcYMTSI8VqPzGt3npRpWlMQVlOG41m+ NCQg== 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=Ly0Ili31ZxiZQRuhcEsyB0jEa1xYAadarSUTZY5OTHw=; b=Khird1CpNIBaEgKMMTvln3DZe0G0tZyrkJ3GE1tnWXzwosB2vgISn4kDbvMi0AnReO pWwOGbaz1bfRftMJHxGyQh9UnBPcXqSBCOpESh9DF5eptfznzYFjJa0HtXFWOq8MqceL 7C/cbsSdv7oBD+sa7GL1WDIJ+62DqUXDTGHqmUi1yNj16gnib3eOdIe24oAIJSE4SX2p k45Uf2xOFD79IeJwpeUEcVmK6tu0Jhs6+WnarbQ8jZInCD+ydXI6P/mdSSDQlSNHRVZ1 PPTRDqS2tmelSdNiiKEVMFTxWgoi6aY6/DVMemDDH1sHEWNlRYMcpcvn3EQ6C1HEr8Fu VxdA== 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 h10si3688058pfk.197.2019.07.05.03.15.10; Fri, 05 Jul 2019 03:15:25 -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 S1727890AbfGEKOn (ORCPT + 99 others); Fri, 5 Jul 2019 06:14:43 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:47303 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727225AbfGEKOm (ORCPT ); Fri, 5 Jul 2019 06:14:42 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id BECCC8022F; Fri, 5 Jul 2019 12:14:29 +0200 (CEST) Date: Fri, 5 Jul 2019 12:14:34 +0200 From: Pavel Machek To: Jean-Jacques Hiblot Cc: jacek.anaszewski@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, dmurphy@ti.com, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, tomi.valkeinen@ti.com Subject: Re: [PATCH 0/4] Add a generic driver for LED-based backlight Message-ID: <20190705101434.fw5rpctnqt6dwg6e@devuan> References: <20190701151423.30768-1-jjhiblot@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190701151423.30768-1-jjhiblot@ti.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 2019-07-01 17:14:19, Jean-Jacques Hiblot wrote: > This series aims to add a led-backlight driver, similar to pwm-backlight, > but using a LED class device underneath. > > 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/ > > The discussion stopped because Tomi lacked the time to work on it. > > 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. Other option would be to have backlight trigger. What are advantages/disadvantages relative to that? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html