From patchwork Mon Sep 22 10:08:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhuvanchandra DV X-Patchwork-Id: 4946981 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EE7EFBEEA5 for ; Mon, 22 Sep 2014 10:11:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BEA882013D for ; Mon, 22 Sep 2014 10:11:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6FC2C2010C for ; Mon, 22 Sep 2014 10:11:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XW0Yh-0004Sg-Tu; Mon, 22 Sep 2014 10:09:27 +0000 Received: from mail-am1on0136.outbound.protection.outlook.com ([157.56.112.136] helo=emea01-am1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XW0YN-0004Hy-4E for linux-arm-kernel@lists.infradead.org; Mon, 22 Sep 2014 10:09:07 +0000 Received: from trdx.toradex.int (115.115.225.206) by AMSPR05MB262.eurprd05.prod.outlook.com (10.242.95.19) with Microsoft SMTP Server (TLS) id 15.0.1034.13; Mon, 22 Sep 2014 10:08:45 +0000 From: Bhuvanchandra DV To: Subject: [PATCH v3 2/2] ARM: dts: vf610-colibri: Add backlight support Date: Mon, 22 Sep 2014 15:38:12 +0530 Message-ID: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [115.115.225.206] X-ClientProxiedBy: DM2PR10CA0060.namprd10.prod.outlook.com (10.141.241.28) To AMSPR05MB262.eurprd05.prod.outlook.com (10.242.95.19) X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:AMSPR05MB262; X-Forefront-PRVS: 034215E98F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(102836001)(229853001)(118296001)(2351001)(89996001)(95666004)(42186005)(90102001)(33646002)(101416001)(20776003)(92726001)(92566001)(107046002)(105586002)(76176999)(21056001)(81156004)(97736003)(104166001)(62966002)(120916001)(76482002)(50226001)(4396001)(106356001)(53416004)(36756003)(64706001)(88136002)(80022003)(79102003)(77096002)(74502003)(74662003)(46102003)(99396002)(50986999)(83072002)(50466002)(81542003)(81342003)(110136001)(77982003)(77156001)(19580405001)(48376002)(66066001)(86362001)(2371004)(87976001)(85852003)(31966008)(47776003)(93916002)(19580395003)(87286001)(85306004)(83322001)(69596002)(7059019); DIR:OUT; SFP:1102; SCL:1; SRVR:AMSPR05MB262; H:trdx.toradex.int; FPR:; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; X-OriginatorOrg: toradex.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140922_030907_326358_D4F945AC X-CRM114-Status: UNSURE ( 6.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.3 (/) Cc: Bhuvanchandra DV , linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, stefan@agner.ch, linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Bhuvanchandra DV --- arch/arm/boot/dts/vf610-colibri-eval-v3.dts | 6 ++++++ arch/arm/boot/dts/vf610-colibri.dtsi | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/vf610-colibri-eval-v3.dts b/arch/arm/boot/dts/vf610-colibri-eval-v3.dts index 00f63d9..711cf82 100644 --- a/arch/arm/boot/dts/vf610-colibri-eval-v3.dts +++ b/arch/arm/boot/dts/vf610-colibri-eval-v3.dts @@ -19,6 +19,12 @@ }; }; +&bl { + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <6>; + status = "okay"; +}; + &esdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_esdhc1>; diff --git a/arch/arm/boot/dts/vf610-colibri.dtsi b/arch/arm/boot/dts/vf610-colibri.dtsi index 1f73c1c..807953b 100644 --- a/arch/arm/boot/dts/vf610-colibri.dtsi +++ b/arch/arm/boot/dts/vf610-colibri.dtsi @@ -25,6 +25,11 @@ }; }; + bl: backlight { + compatible = "pwm-backlight"; + pwms = <&pwm0 0 5000000 0>; + status = "disabled"; + }; }; &esdhc1 {