From patchwork Sat Jan 9 06:59:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhuvanchandra DV X-Patchwork-Id: 7991921 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 75CB9BEEE5 for ; Sat, 9 Jan 2016 07:02:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6C7AE20204 for ; Sat, 9 Jan 2016 07:02:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2BADD201FA for ; Sat, 9 Jan 2016 07:02:57 +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 1aHnWH-0006tk-EM; Sat, 09 Jan 2016 07:01:01 +0000 Received: from mail-he1eur01on0130.outbound.protection.outlook.com ([104.47.0.130] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aHnWC-0006sS-VV for linux-arm-kernel@lists.infradead.org; Sat, 09 Jan 2016 07:00:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.onmicrosoft.com; s=selector1-toradex-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yzcF9RsZcQ/LpUJ6Jps0wCHLjF2vhVHQatg9HnYKm+4=; b=kZ1wt4TvUBBGKjV+Pnk8x++zwqp5+LbpKc9Xv8DfrKV40VFTA9sLGBg6Eg/I470oelwIHdEesFoPlcwkqWmB0Ihc9QRAeAhIqmWSIhU1uYPDkNVSj5D5mDskINEWs9lmSRwk7u5+NwY4WdZ5o5mT6nM97SoPp9PWX2wLXH3zS5M= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=bhuvanchandra.dv@toradex.com; Received: from linuxdev-in.toradex.int (115.115.225.206) by AMSPR05MB263.eurprd05.prod.outlook.com (10.242.95.26) with Microsoft SMTP Server (TLS) id 15.1.365.19; Sat, 9 Jan 2016 07:00:29 +0000 From: Bhuvanchandra DV To: Subject: [PATCH] ARM: dts: vf-colibri-eval-v3: Use enable-gpios for BL_ON Date: Sat, 9 Jan 2016 12:29:53 +0530 Message-ID: <1452322793-26020-1-git-send-email-bhuvanchandra.dv@toradex.com> X-Mailer: git-send-email 2.7.0 MIME-Version: 1.0 X-Originating-IP: [115.115.225.206] X-ClientProxiedBy: BM1PR01CA0034.INDPRD01.PROD.OUTLOOK.COM (25.163.198.169) To AMSPR05MB263.eurprd05.prod.outlook.com (10.242.95.26) X-Microsoft-Exchange-Diagnostics: 1; AMSPR05MB263; 2:FOlUpJndcow0j2lZn+uqtTvsZnuZUW6cQdJhZrtcVQTs8RSM+eOkIXu/WGt63EQHJVZi6k364pEPXbk+cN/TaJXIWBcCI3sV81uWjWTykVlizpC7qD3hu6rhUEWvD+TqtA8ZgLMaOSdUa0VLDNYe5w==; 3:sNoGe4QM1Y6FNySeIaRIwaRSu8JPF6rzd+JB4J6AfP8wXvY2QC451mKhXBUN232qkP5uOcX6rypCHbHFXMCoWKrrFdJbtDD3wJY3XORO12qK8GwfWjvodGEG7mQUyNxA; 25:O0mFgRIL2mbQT5hk/WBx17yeZiOAlvUGtrMmSLwX76/kVr5uX5xjPcnQ9gcfRy+2YqE8xR2JKoCKOecumewrN2THjgye1rwCybIFcEyfN96WYgmeDuRzWppcRatuvmaQIYOiGSKcvgZS4dQihLIlzsSqnaxqFQrfPWmbhFTWRi7vd/Y16XJmaIgZ5Iba6Lpl5UYlv+61a2AAkkH6LoDYPJb5n7VlsfKyuioVNedZ6vHOCF5ZWOEBm0x4Ki4wb0Vr; 20:w4KafP5b+UKpLv/Kk7iAO4D9lPQWvrISgh3H67+jN/1HysjayCLIEFClqIMo28G63Lw/cKcgx2b9oKfvCrVP2fwjUyYj0hTy9hBrBKpFbN7nfGoVh9ghyNBFCxJWXOdVn2aDQzhEg/egeDVa/nAPb+OZx810t2qwCTgWsBk6EaoILDnJaXjD3Ka6Wso5D93xS4iFgHVPgbpLOk66OMTdYTuVEIPtrzO3l69itw2aJL9mmpLEzIrG6L4KUWUKgEFgQlBpcEFhtiObHHWeHMDundeQpOD/pPrDP6y01GVPeFAcc1gOsGl1cLTisTZvC+PhTyufTFFYRq0AmeQTJMjzAA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AMSPR05MB263; X-MS-Office365-Filtering-Correlation-Id: dd841827-3403-40da-104d-08d318c29121 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(90676262408878); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(10201501046)(3002001); SRVR:AMSPR05MB263; BCL:0; PCL:0; RULEID:; SRVR:AMSPR05MB263; X-Microsoft-Exchange-Diagnostics: 1; AMSPR05MB263; 4:3aKVCi4eVp3xcsQDRXG21AeEvZTfJXHcJfpSFsOi0BMB/GWMqrBN99i/awqyJHHD+BkAyRD5ylJ8KfsoRZcnZHNV8ZVlGsIZoLEGmluwffDemaydtBC+p09IB8IvdwSYFYqpzsf8sIlzjK97mRjOK+g1GSaaVoAGXyzq1TdaRNhkr/Ztpi2vFPDt1ayvdBMB56qlW7JpC2+5DP6/I1m80M5CERumbryzh6xg8X/eMMK2GKMLkALT2r+N9iJj8HD5jlKM7LC9E/GxIAqN85nHHjAYKtVHhkmZ7bj2izYajFffjEN+MRZIqVCLEQ4G5BScbehGw+4Axt4F/e9rnetQf3amwNFPp9IbwHXzzJxVE2ol2MxYJZWK1R0pWHAVvKO724qYCxWE/Tl2E2UyK6EMRh5iga9dyyZymeuftnCI8UxICa39C+QBFufddnk+16SR X-Forefront-PRVS: 0816F1D86E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(4326007)(106356001)(5001960100002)(33646002)(230783001)(229853001)(5004730100002)(5003940100001)(2906002)(101416001)(2351001)(77096005)(575784001)(86362001)(81156007)(87976001)(107886002)(97736004)(110136002)(189998001)(66066001)(40100003)(42186005)(122386002)(47776003)(3846002)(4001430100002)(105586002)(6116002)(586003)(50986999)(36756003)(19580405001)(19580395003)(69596002)(48376002)(5008740100001)(50466002)(53416004)(1096002)(92566002)(50226001); DIR:OUT; SFP:1102; SCL:1; SRVR:AMSPR05MB263; H:linuxdev-in.toradex.int; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AMSPR05MB263; 23:44RK1TBQC2ZL7SdLpHBYbPWKFl+3MW+cSA7TENtotR?= =?us-ascii?Q?PF8BZxpEI9zD7ktmA4PdKcfrn2NdTxx7PwIoGvxka+FKTHoz4BnkkM6RlRxi?= =?us-ascii?Q?Pdcu6fDY66/jDhAhNY/mhxUWlSahGmaD1fgDjLtoYI9/PrLYO380hSuo4KVy?= =?us-ascii?Q?IVBffIfiHN4zjM8b2iUOUCn0qUINBq5mWfYAJvy4xWtxS9I5TPj55/eh0/Te?= =?us-ascii?Q?AstoxiEpjWxc6W9625Ds6QKdmVdxDlVe6WuklASSV7qyzGpju/4VNyeVaZf3?= =?us-ascii?Q?EsFtV0m4vv2vfSmin5NL9nMdDCgwkZVhqcaXpBIbb26Ixzpsj3L06BMi8fvW?= =?us-ascii?Q?F9zU7HJ9q1scdl6v/EJf9yOirkrs4SDbvCQch9UCyIn4Pr9WToYcyihAc7Ne?= =?us-ascii?Q?nSDr37bYYECj3+gYpD10nSleKbMn3Hgc4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EDKHo0TyufSU0KfrOsDop2gZavzaWfNJkl7YAJSTjQpJ21nWXcgqI9g612FBAltg==; 24:E4QncZoL33L5Tvb2NEf8+ckojLjrsDcDqU6IGeTI7KRb6+CpsbI/adRuz0fkWaMDR0Qw/ELWq7t4KzaDpu2+fxNmRASpkWKTGZgNag1DkQw= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2016 07:00:29.2894 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AMSPR05MB263 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160108_230057_481578_495C9F20 X-CRM114-Status: UNSURE ( 5.94 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Bhuvanchandra DV , linux-kernel@vger.kernel.org, stefan@agner.ch, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 Use pwm-backlight driver 'enable-gpios' property for backlight on/off control. Signed-off-by: Bhuvanchandra DV Acked-by: Stefan Agner --- arch/arm/boot/dts/vf-colibri.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi index e5949b9..1c0da05 100644 --- a/arch/arm/boot/dts/vf-colibri.dtsi +++ b/arch/arm/boot/dts/vf-colibri.dtsi @@ -10,7 +10,10 @@ / { bl: backlight { compatible = "pwm-backlight"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_bl_on>; pwms = <&pwm0 0 5000000 0>; + enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; status = "disabled"; }; }; @@ -169,6 +172,12 @@ >; }; + pinctrl_gpio_bl_on: gpio_bl_on { + fsl,pins = < + VF610_PAD_PTC0__GPIO_45 0x22ef + >; + }; + pinctrl_i2c0: i2c0grp { fsl,pins = < VF610_PAD_PTB14__I2C0_SCL 0x37ff