From patchwork Thu Mar 7 22:09:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 159937 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp7963369jad; Thu, 7 Mar 2019 14:10:21 -0800 (PST) X-Google-Smtp-Source: APXvYqwuAhT3K8Qs0k7NDw6+raGWWp9Y9lRzlpw61Roui8Yn5k4bSZDeJDELkvxTNTz58a7pnIN4 X-Received: by 2002:a17:902:ab95:: with SMTP id f21mr15556495plr.188.1551996621771; Thu, 07 Mar 2019 14:10:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551996621; cv=none; d=google.com; s=arc-20160816; b=vUDxbtDMUeODov1XiWhDdNbShT3RTaaBv6T+sP2xo3qZIbPGy6ncn7r4te5yyTflBp tWtKFshBxMi3OA4PDMa0YuIRVcj0yPJDQrhNW8HAqX9jfC8A9iTHcydJt716rOkRDUFH vP9Ecz2HTrDCpzH6zMtI3HMcgGTxgD0iN/PkkqbouIH8NpAW9XYxIsjZ7bgtDehB7EX1 2uIdvfNSyfp4RClvIYNnZltfxYyo0P4VwTUeB7jMvNqI2KVYGBBvVWLTAs630H1qXxQ4 wsTyJ2H9XUyCtaJkYTVgt17WRQj9A12pzKq2MM6j/zyjY9jfMHA6OEFANBKh3WumpgDU 1YTA== 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=dg2jvREIrdBG9k5vObXIkn6EvUSqoQ5KCD3Zgtr+Btk=; b=Ginx60h7KQ59d6RrXn/7bLjGEB+MjapZjSVOdEZkiGg/KjIRxO5JheE7iPcvtAdvbb ncLF4Md86zu1vAbHuWk3uSBZgQFEfjzkgzMvtVJmXggUthAWfvekTOOiOuvLFe1Bqo8p UtrzKSQQjC1gCaHJS7prCV62zgcSxBdKeC5XEqHSFdNgAND/hutIukxEbwAmxli6Ji+J WAMQCH3qkyACr59EBDRs/osMu4wzhCEBLl3Y76myYnvVf9b9Sk35wBdZimlBk1t9Pby/ POGX5LzJap8JJxXBCP0mhkzvZft/di5IH1/Ykc80KFGFhP5Z1zcqM1iy/AqFELn/LOZv XzsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xKEo1Y26; 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 go21si5191953plb.368.2019.03.07.14.10.21; Thu, 07 Mar 2019 14:10:21 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xKEo1Y26; 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 S1726352AbfCGWKU (ORCPT + 31 others); Thu, 7 Mar 2019 17:10:20 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:40260 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726166AbfCGWKR (ORCPT ); Thu, 7 Mar 2019 17:10:17 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x27MA9Bf123618; Thu, 7 Mar 2019 16:10:09 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1551996609; bh=dg2jvREIrdBG9k5vObXIkn6EvUSqoQ5KCD3Zgtr+Btk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xKEo1Y26dCA8howfJ66UYTAtPBvKVGQnTWdtKQLymsPZvxlZxabxqA8XrSfesQTNm STpPQMbMkz9lY8SpYWO3Jv4r4O92R4gA7Df3WjO30RFcYfASTmYzNyUjf3m/kyYqLa sU2XSog1eM3/RvKYIwPlpt/61QWviBD/UmvH4h8I= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x27MA9Wf007840 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 7 Mar 2019 16:10:09 -0600 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Thu, 7 Mar 2019 16:10:09 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Thu, 7 Mar 2019 16:10:09 -0600 Received: from legion.dal.desgin.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x27MA8dJ004822; Thu, 7 Mar 2019 16:10:09 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.83.167]) by legion.dal.desgin.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id x27MA7U21623; Thu, 7 Mar 2019 16:10:07 -0600 (CST) From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH 2/4] ARM: dts: omap4-droid4: Update backlight dt properties Date: Thu, 7 Mar 2019 16:09:45 -0600 Message-ID: <20190307220947.20057-2-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20190307220947.20057-1-dmurphy@ti.com> References: <20190307220947.20057-1-dmurphy@ti.com> MIME-Version: 1.0 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 --- arch/arm/boot/dts/omap4-droid4-xt894.dts | 27 +++++++++++++++++------- 1 file changed, 19 insertions(+), 8 deletions(-) -- 2.20.1.390.gb5101f9297 diff --git a/arch/arm/boot/dts/omap4-droid4-xt894.dts b/arch/arm/boot/dts/omap4-droid4-xt894.dts index e21ec929f096..94e3d53dbcf3 100644 --- a/arch/arm/boot/dts/omap4-droid4-xt894.dts +++ b/arch/arm/boot/dts/omap4-droid4-xt894.dts @@ -6,6 +6,7 @@ /dts-v1/; #include +#include #include "omap443x.dtsi" #include "motorola-cpcap-mapphone.dtsi" @@ -383,20 +384,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-ms = ; + ramp-down-ms = ; - 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 = ; + label = "backlight"; + linux,default-trigger = "backlight"; + }; + + led@1 { + reg = <1>; + led-sources = <1>; + ti,led-mode = ; + label = "keypad"; }; }; };