Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2202143yba; Sun, 7 Apr 2019 11:33:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2GkJAXsUO3RHmR0HxFvWoO/MyFZrTSj9jeq97/PzNvRppzthfT6Zh6DMlOiC48iktTBoR X-Received: by 2002:a17:902:4301:: with SMTP id i1mr24540017pld.307.1554661992588; Sun, 07 Apr 2019 11:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554661992; cv=none; d=google.com; s=arc-20160816; b=CS32rGUetIptWR0wG2BWFto1yQ/6YZcgHOnpM673Ad38bKDCqZaX1YUlSe1CFOHiqT fD6vWsi1xfngcXZbHZOWzHQvmQn9M5E4jxZya1TUEze5ALyAoSjH1P1LRf8JUsGazrQX JrSNyhQXRf5h9OZF9hRgxVtDc9QQjsPA3ZOA55qtcb7Awry3JhXzlrywh0n+f7ejrpSd QB22LJ+PD238ag3ma0BeURArFpKhjkbyL7dZu/VFZjRjcJmDnMkLmRf9mWT45vj15p6L lJ6FgOmsNK4h7RsyH+W5/mLt6X7xDkQkEzgsL17mvmleKuOHBBJQWrBgsEgu8h2jvN2s ZLiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=+CtxHaZEkWfYxSkNn1dVnGIsGIka2xuVMKBnTnxAjM0=; b=t3n2eor/4oaoj8PuR2eFY6h0wojBjq+vOW03wmKPWVd5wtiAEmYmm5db1dgwDJO54u vOCZL8led4C1YU8qfeX6sVXOKGXsw4hhmM1KafY6P0fsHzLbaeAxU+XCF9Ky+w/4Yrxk m/uYNtvZSxw+LdXpsWGI3j4Q7ik3DQg7eBVy1bxvC1UsLqa0l6OurwRudjrYlqKRiQdQ v1EoBD1Ds4Zl/cp/3LuerU8bqL2rIqHdaTSHZgjSAQIjmvGR1X36DM0L2fi2WhCrx3MO VEUOfn8Oq/u0UOkQKJ0FKKGJj7Fd63+KKwLdifVEf1+SArcLZQAd78qgT9W9wE9SvAr0 /tBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ju0ycsMk; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k12si23778909pls.436.2019.04.07.11.32.56; Sun, 07 Apr 2019 11:33:12 -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=@gmail.com header.s=20161025 header.b=ju0ycsMk; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726462AbfDGSbI (ORCPT + 99 others); Sun, 7 Apr 2019 14:31:08 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:32811 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726335AbfDGSbI (ORCPT ); Sun, 7 Apr 2019 14:31:08 -0400 Received: by mail-wr1-f66.google.com with SMTP id q1so13727984wrp.0; Sun, 07 Apr 2019 11:31:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=+CtxHaZEkWfYxSkNn1dVnGIsGIka2xuVMKBnTnxAjM0=; b=ju0ycsMkUW9hYg2VxaRmM4EjgJ9Q6i3pK1KWf1+8yDx8CsUyjcGcBi5Z6Q47n8ekde nud/9ergfqJmGIEpU9S+TG/SHEA+VrJbM1/4f4qzTFcbBK0rxEJ55avRHcnTrNt8MrWY f+EISSr05IoNdkIA2ekByrU47eKsHyZo0E3jN1Crx9qsEcA1hLcRsekxHAeFGni9YXIf viyBbO0g6aGanZvd2FVeT/0webkZuvUMk2SOBe6EW8hNyqwF09YzykSrPyfqbD0wpEzP NOGj58HE/a0NPXVL/7ldrywICPd2v4YH5ux0rTbk/amRshuNqFcJd4PhwInYs/emcIhV h9+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+CtxHaZEkWfYxSkNn1dVnGIsGIka2xuVMKBnTnxAjM0=; b=unqOT7FU8oZYTaROzOoI3Ly0lgColW9U29C0FK0+puFnmWDm4r6ZBjgcdBEr6x+r/2 IFkXgPwdJJMc82i5X5+XQqrzIYogdbpsdwyP16p62Baf3J9K8rZ5qf3CtsWMofirkCOW 6NrjjzErTy9s7CpY+8EW++sSD2aKOeBMUot5SRcFdl2PpAGeVz13PGgSmm/WU3Ja37/U MJkfkcLPoQRhMrtwDcWRAQBdYllyZyDeHrYwnslNrBXuUYzchCNa99SonZx3LSP8SZdu /rMuQjCC8aXZX+811u8y8oSJ+j2Bq/n3jK9MwX8D4DlXHAQGxxEQkJ2Bk8tHaAEqtdXs cj4w== X-Gm-Message-State: APjAAAULFSrX/SUgFDvm5NnjdEks15LweLPehCK4nH1F7ZBi86nEawA+ z7rJ7EDcvxZU3LH1KfmIK0sfN/XEItA= X-Received: by 2002:a05:6000:1286:: with SMTP id f6mr10604528wrx.93.1554661865551; Sun, 07 Apr 2019 11:31:05 -0700 (PDT) Received: from [192.168.1.19] (bkw193.neoplus.adsl.tpnet.pl. [83.28.190.193]) by smtp.gmail.com with ESMTPSA id b204sm14841845wmh.29.2019.04.07.11.31.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Apr 2019 11:31:04 -0700 (PDT) Subject: Re: [PATCH 2/4] ARM: dts: omap4-droid4: Update backlight dt properties To: Tony Lindgren Cc: Dan Murphy , robh+dt@kernel.org, pavel@ucw.cz, lee.jones@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org References: <20190321142838.22985-1-dmurphy@ti.com> <20190321142838.22985-2-dmurphy@ti.com> <20190404220013.GG49658@atomide.com> From: Jacek Anaszewski Message-ID: Date: Sun, 7 Apr 2019 20:31:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190404220013.GG49658@atomide.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/5/19 12:00 AM, Tony Lindgren wrote: > * Jacek Anaszewski [190404 20:12]: >> Tony, >> >> On 3/21/19 3:28 PM, Dan Murphy wrote: >>> Update the properties for the lm3532 device node for droid4. >>> With this change the backlight LED string and the keypad >>> LED strings will be controlled separately. >>> >>> Signed-off-by: Dan Murphy >>> --- >>> >>> v5 - No change - https://lore.kernel.org/patchwork/patch/1050409/ >>> >>> v4 - No change - https://lore.kernel.org/patchwork/patch/1050125/ >>> v3 - updated keypad label on v1 comment - https://lore.kernel.org/patchwork/patch/1049023/ >>> v2 - Fixed ramp-up and ramp-down properties, removed hard coded property values, >>> I did not change the label as it is undecided what it could be - https://lore.kernel.org/patchwork/patch/1048806/ >>> >>> arch/arm/boot/dts/omap4-droid4-xt894.dts | 26 ++++++++++++++++-------- >>> 1 file changed, 18 insertions(+), 8 deletions(-) >>> >>> diff --git a/arch/arm/boot/dts/omap4-droid4-xt894.dts b/arch/arm/boot/dts/omap4-droid4-xt894.dts >>> index e21ec929f096..aea206f04f76 100644 >>> --- a/arch/arm/boot/dts/omap4-droid4-xt894.dts >>> +++ b/arch/arm/boot/dts/omap4-droid4-xt894.dts >>> @@ -383,20 +383,30 @@ >>> }; >>> &i2c1 { >>> - lm3532@38 { >>> + led-controller@38 { >>> compatible = "ti,lm3532"; >>> + #address-cells = <1>; >>> + #size-cells = <0>; >>> reg = <0x38>; >>> enable-gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>; >>> - lcd_backlight: backlight { >>> - compatible = "ti,lm3532-backlight"; >>> + ramp-up-us = <1024>; >>> + ramp-down-us = <8193>; >>> - lcd { >>> - led-sources = <0 1 2>; >>> - ramp-up-msec = <1>; >>> - ramp-down-msec = <0>; >>> - }; >> >> Since I'll be creating integration branch for this series, >> and it would be good to have this patch in it too, then >> I can do the amendments by myself: >> >>> + lcd_backlight: led@0 { >>> + reg = <0>; >>> + led-sources = <2>; >>> + ti,led-mode = <0>; >>> + label = "backlight"; >> >> s/backlight/:backlight/ >> >>> + linux,default-trigger = "backlight"; >>> + }; >>> + >>> + led@1 { >>> + reg = <1>; >>> + led-sources = <1>; >>> + ti,led-mode = <0>; >>> + label = "platform::kbd_backlight"; >> >> s/platform::kbd_backlight/:kbd_backlight/ > > Yes makes sense to me. > >> and then send you a pull request. >> >> Would you be OK with that? > > Sure go for it. Here's my ack for the changes: > > Acked-by: Tony Lindgren > > And then for the one liner to fold in below: > > Signed-off-by: Tony Lindgren > > 8< ------------- > diff --git a/arch/arm/boot/dts/omap4-droid4-xt894.dts b/arch/arm/boot/dts/omap4-droid4-xt894.dts > --- a/arch/arm/boot/dts/omap4-droid4-xt894.dts > +++ b/arch/arm/boot/dts/omap4-droid4-xt894.dts > @@ -214,7 +214,6 @@ > > width-mm = <50>; > height-mm = <89>; > - backlight = <&lcd_backlight>; > > panel-timing { > clock-frequency = <0>; /* Calculated by dsi */ > Folded in, thanks. Beside that, I also removed lcd_backlight DT labels from both DT bindings and dts, since it is now unused and misleading. -- Best regards, Jacek Anaszewski