Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp716785img; Thu, 21 Mar 2019 07:31:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwwaBIGb2E1tpW3k8RR24QsPN8zVjJVfeiu86oeZAncZ5e3H35elIAYLaZM06PvrL+iJeF5 X-Received: by 2002:a65:5a81:: with SMTP id c1mr1720438pgt.391.1553178712059; Thu, 21 Mar 2019 07:31:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553178712; cv=none; d=google.com; s=arc-20160816; b=RTvTp9ELEIydjYNM0RpODgP5TShmU1QhLBQgAVo0e84VggcsgcX6mLvGTT4+G6wwhL Ns1/fxk3T7ME/nJyey2VX0xGKEODGRZ81aPK5EQEZmFdYoXLLmqI87Euz8zKWssYZIm+ itSxUtYAkscbfJI5uS5N1Y0LoKsWayn1gE8cq5Brw2z6z+GV+3EU6710aRWLH7Fivzha tRmFtmDZzWUZNCKLd+qgRBPES8nJ8uoEjYc7+dy+yCfmUbgR+6SnthNz5MWtgp+sODQW eVrWUri01inFo3g18yngf7oAX2XFdaCuqw5FauIiiqTHclFLw8Jr/cQn4XEbyjMCBcvZ 0NQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=DGmYK0qNA6EMnV0LOh22qiWek2uuO8gQ4HNuRRy1iDU=; b=hjbrLDTX6N1oj+C/jo8UHuxBoNzw9DWVSwf2IZ0SXhP0sgZRgeqKovua2kIDPfuNHi hvqYwigBG7+rfeuUEaUUtCHJNkaxxH8OCvc9SY4Ulbugu2gOureN/z36wvnm3A6G4NFv aodovmXO/WTyq5iYtRQZIewTBYboMfLnyMw/lP6kil1Bn5SWxH9+KyYivdt8xpMt3sKn y1Yr11gFDFPJiHrGvOk7iz7TMw942eAMJflc3u+PltWuNqydAps4YhdPLnE2iTT6r0BS NpSr8W0sB4vq7UdTzcRA0gGLoBL8tj8R4MXwJ5X02x+DaFamGOtEbfsV+jsofDOs3j/4 /MHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YBgR6512; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t69si4440136pfa.7.2019.03.21.07.31.34; Thu, 21 Mar 2019 07:31:52 -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=@ti.com header.s=ti-com-17Q1 header.b=YBgR6512; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728316AbfCUO3O (ORCPT + 99 others); Thu, 21 Mar 2019 10:29:14 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:55428 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728088AbfCUO3N (ORCPT ); Thu, 21 Mar 2019 10:29:13 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x2LET5mg005405; Thu, 21 Mar 2019 09:29:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1553178545; bh=DGmYK0qNA6EMnV0LOh22qiWek2uuO8gQ4HNuRRy1iDU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YBgR6512g7ClbzJVwPnqUvvBg3WuyQfi802b8U8HuEomVk/SlrRRPHYrMWgTXi1jH TVY9oXTh1EJ2vspjSmcu9cuLLImc0CfmuzR5DR5G71BwITC2pr1Ko8v9irGiJ06wFT H0cZlBu8AwJSZfqCX7Lmd++wwBibEgatZb3/wT2o= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x2LET4lU032692 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 21 Mar 2019 09:29:05 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 21 Mar 2019 09:29:04 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1713.5 via Frontend Transport; Thu, 21 Mar 2019 09:29:04 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x2LET4Kx028900; Thu, 21 Mar 2019 09:29:04 -0500 From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH 2/4] ARM: dts: omap4-droid4: Update backlight dt properties Date: Thu, 21 Mar 2019 09:28:36 -0500 Message-ID: <20190321142838.22985-2-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20190321142838.22985-1-dmurphy@ti.com> References: <20190321142838.22985-1-dmurphy@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; - }; + lcd_backlight: led@0 { + reg = <0>; + led-sources = <2>; + ti,led-mode = <0>; + label = "backlight"; + linux,default-trigger = "backlight"; + }; + + led@1 { + reg = <1>; + led-sources = <1>; + ti,led-mode = <0>; + label = "platform::kbd_backlight"; }; }; }; -- 2.21.0.5.gaeb582a983