Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp978484ybv; Wed, 19 Feb 2020 13:15:46 -0800 (PST) X-Google-Smtp-Source: APXvYqyIqvHYx41SWbUM9vARjnHfH8aeoIEWSvE60XtTXUR6gKTeb/mvQv78pkBxb4+NB2hsfweK X-Received: by 2002:a54:4705:: with SMTP id k5mr5677122oik.154.1582146946545; Wed, 19 Feb 2020 13:15:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582146946; cv=none; d=google.com; s=arc-20160816; b=oO6CSvzm814mbAqMBmdOAl3Ok6MPw4yit4ciL4IbpdMS5BzjOSGCDbivZQSeYMZMXP /DIBqfN6BVI0kgFjOD5gxsuyOImLGxbXI+47G2fek79F2Eg+7MmQnLV73j/3XiDYT/6t NYdcyROpjnvBpnL5Nzekvsj6ZbfN9/eAySQGjGH6HnxFv4VlrmQyadabbDXP74OLd9jP lZ1URdI7HYjGo60/EXGZ7wNEjb1QEZKhlV+168auTuKlK39odxTBK/FUVqha2X29szK/ n+TpQQAT5+GTHJtd7ZQGUsA2NJAExwIxhq4lRox8/cnRItVPFJeHvVXru8ZLpoH35qhD 8qLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Lfa4Wml1m0MWhmk0aTZGs7yn8TRiPsoWKkW95QTJuKA=; b=b0ceCEczpJVcDJd+7Ppi9eddEioZ2FptWOVdr6fc6du3i1wh9Y060ysEpq1IF96qBr oRdnzhXcm5y0vZIizDf7tkc2qqSC7H5x0pYWo8bzo4K0oyRi1FyQ5XL4oibvOSwwI1+/ yCi6liio+DHmBAaWWfRwbXckBZpa+QMv56wkaFqYq66snrtIRBTWF8KHnX0cAXL+h902 JCfwjSyZH88v1y6A3LAj/NjS3+qAnbug3wSWB0oA8fxrmucEHQgcoqSBRwfaWjyqrc2V 4HO7Avf9A1ifT7bB3a0eXiR7m+hc+JYMCFkiIdoZzoEI1X2JQCoLzpiW+voUWiIWlt5h C4YA== 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 l13si541416otq.30.2020.02.19.13.15.31; Wed, 19 Feb 2020 13:15:46 -0800 (PST) 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 S1727462AbgBSVPT (ORCPT + 99 others); Wed, 19 Feb 2020 16:15:19 -0500 Received: from muru.com ([72.249.23.125]:56186 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726645AbgBSVPS (ORCPT ); Wed, 19 Feb 2020 16:15:18 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 09A4980F3; Wed, 19 Feb 2020 21:16:00 +0000 (UTC) Date: Wed, 19 Feb 2020 13:15:13 -0800 From: Tony Lindgren To: Pavel Machek Cc: Lee Jones , kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, sre@kernel.org, nekit1000@gmail.com, mpartap@gmx.net, merlijn@wizzup.org, martin_rysavy@centrum.cz, agx@sigxcpu.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, dri-devel@lists.freedesktop.org, tomi.valkeinen@ti.com, jjhiblot@ti.com Subject: Re: [PATCH] backlight: add led-backlight driver Message-ID: <20200219211513.GE37466@atomide.com> References: <20200219191412.GA15905@amd> <20200219194540.GD37466@atomide.com> <20200219205322.GA1227@duo.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200219205322.GA1227@duo.ucw.cz> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Pavel Machek [200219 20:54]: > Hi! > > > > This patch adds a led-backlight driver (led_bl), which is similar to > > > pwm_bl except the driver uses a LED class driver to adjust the > > > brightness in the HW. Multiple LEDs can be used for a single backlight. > > > > > > Signed-off-by: Tomi Valkeinen > > > Signed-off-by: Jean-Jacques Hiblot > > > Acked-by: Pavel Machek > > > Reviewed-by: Daniel Thompson > > > Acked-by: Lee Jones > > > Acked-by: Tony Lindgren > > > Tested-by: Tony Lindgren > > > Signed-off-by: Pavel Machek > > > --- > > > drivers/video/backlight/Kconfig | 7 ++ > > > drivers/video/backlight/Makefile | 1 + > > > drivers/video/backlight/led_bl.c | 260 +++++++++++++++++++++++++++++++++++++++ > > > 3 files changed, 268 insertions(+) > > > create mode 100644 drivers/video/backlight/led_bl.c > > > > Here's the version of the driver I have. AFAICT > > > default-brightness-level handling is ok, so does not need to be > > > changed. > > > > > > Lee, it would be easiest for me if you could apply it to your tree and > > > push, but given enough time I can push it to Linus, too. > > > > Oh you're using quoted-printable for patches.. Got it applied now, > > and it still works. Below is also the related dts change that > > I tested with. > > > > Feel free to pick the dts change too, naturally that should > > not be applied before the driver. > > > > If you guys instead want me to pick these both into my fixes > > branch, just let me know and I'll do the explaining why these > > are needed as fixes. Basically we no longer have a way to enable > > the LCD backlight for droid4 manually starting with v5.6-rc1 > > unlike earlier. > > If you are willing to do that, it looks like good solution from my > point of view. OK. I'll apply them but won't push out yet in case Lee is already applying the driver change.. Pavel, care to ack the dts patch? Regards, Tony