From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97B96C46499 for ; Fri, 5 Jul 2019 10:14:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7448D2083B for ; Fri, 5 Jul 2019 10:14:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726005AbfGEKOm (ORCPT ); Fri, 5 Jul 2019 06:14:42 -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="UTF-8" Content-Disposition: inline In-Reply-To: <20190701151423.30768-1-jjhiblot@ti.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Message-ID: <20190705101434.zOa0E5GtgklFWcNsdCIhRxgc2d8BPEfztbmJVM1kcTw@z> 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