Received: by 10.213.65.68 with SMTP id h4csp546535imn; Fri, 30 Mar 2018 10:26:41 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/SFg4sLKhrDpqJzCBmv2A1XAVARHqnU+Nu4pLDZhn33Ct4C0zicTeYaoODrho2Z7ylpQLx X-Received: by 10.98.237.5 with SMTP id u5mr7502249pfh.236.1522430801703; Fri, 30 Mar 2018 10:26:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522430801; cv=none; d=google.com; s=arc-20160816; b=tjkbyvdxPUyZKuavXTTIA3blGGVi7y4cfAdGqLhJYhM/EHs4n+KXJ4t2nz7sJv3TTd UMVFJn7iqUYky8tjwdffznJl0Svs1mfls9MeQPpBlQnxRG+PPGwVKvK+xFybeQd12INU TUVoR+9sxQ1S6QKiahfXoXJJzsZqLD1HYtPfWn4ANjDGiBQlhoq+6sdCcHKqiW/WZT5C BuUZ6bSvTnh5BHL9OLdXhUYApBNQlm1iYC72Bg3zkp58PkhulyfWqyWVPLi88soAXhAj ghjVzVOUE43O/hPGAaTZ+xf4WxaKACCbY1AyvSph89wbGYpknWRrrSvW/p84p2/xpCCj 4/CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=OTNNJQ8fkMe4mck79BiX9qf7fnmpWwq5Od9JNiG9BDQ=; b=fik7CNEEx2ieiAklbuaDmCcBMi8fOi1qJGk1VHbkHEvsEd18QStP83thyCNFim26yD PAhu+YWChP0rhok7cPqYDY7s70H00dBrSZcDaPNVYCpiqaR5plkUYkP8Vs/xo4gEoL3X CeSPuRdmiC+idW0UYVoN1pYG2d+Hdogo0aMz9CUXHlhRiQYkS4wr0ZdXwQYc54ptiquM MCUf8xVWfDBeQlo+owvIjylay02zkvUzy1yglXskS1gaqAAoi+Mpl5+Qic9oTrgrn3Ll vGlSqdeJuhRRiH66oLClvaszpmoSU3q9PB4VGnwP5O7CPMm+qczMIi9xd1ikyJzMLw3L reVQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n81si6626501pfj.152.2018.03.30.10.26.27; Fri, 30 Mar 2018 10:26:41 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752733AbeC3RZD (ORCPT + 99 others); Fri, 30 Mar 2018 13:25:03 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:59006 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752686AbeC3RYs (ORCPT ); Fri, 30 Mar 2018 13:24:48 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id 34285260BD3 From: Sebastian Reichel To: Sebastian Reichel , Milo Kim , Lee Jones , Daniel Thompson , Rob Herring , Tony Lindgren Cc: Jingoo Han , Mark Rutland , linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, devicetree@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCHv4 10/10] ARM: dts: omap4-droid4: update backlight led-controller Date: Fri, 30 Mar 2018 19:24:14 +0200 Message-Id: <20180330172414.26575-11-sebastian.reichel@collabora.co.uk> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180330172414.26575-1-sebastian.reichel@collabora.co.uk> References: <20180330172414.26575-1-sebastian.reichel@collabora.co.uk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sebastian Reichel This updates the backlight led-controller node to follow the new binding instead of the legacy out-of-tree binding. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/omap4-droid4-xt894.dts | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/omap4-droid4-xt894.dts b/arch/arm/boot/dts/omap4-droid4-xt894.dts index 3ed090a9db6c..da1571c24039 100644 --- a/arch/arm/boot/dts/omap4-droid4-xt894.dts +++ b/arch/arm/boot/dts/omap4-droid4-xt894.dts @@ -380,20 +380,24 @@ }; &i2c1 { - lm3532@38 { + led-controller@38 { compatible = "ti,lm3532"; reg = <0x38>; enable-gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>; - lcd_backlight: backlight { - compatible = "ti,lm3532-backlight"; + lcd_backlight: bank0 { + label = "lcd"; + ti,led-sources = <0>; + ti,ramp-up-ms = <1>; + ti,ramp-down-ms = <0>; + }; - lcd { - led-sources = <0 1 2>; - ramp-up-msec = <1>; - ramp-down-msec = <0>; - }; + keyboard_backlight: bank1 { + label = "keyboard"; + ti,led-sources = <1>; + ti,ramp-up-msec = <1>; + ti,ramp-down-msec = <0>; }; }; }; -- 2.16.2