From patchwork Fri Oct 7 15:11:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhuvanchandra DV X-Patchwork-Id: 9366233 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A319B60752 for ; Fri, 7 Oct 2016 15:17:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9448C296A8 for ; Fri, 7 Oct 2016 15:17:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 882FF296B1; Fri, 7 Oct 2016 15:17:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id E4F7B296A8 for ; Fri, 7 Oct 2016 15:17:52 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bsWsu-0002jj-O1; Fri, 07 Oct 2016 15:16:28 +0000 Received: from mail-am5eur03on0716.outbound.protection.outlook.com ([2a01:111:f400:fe08::716] helo=EUR03-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bsWrI-0000SY-Ap for linux-arm-kernel@lists.infradead.org; Fri, 07 Oct 2016 15:15:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=y45h1+g8Los4PiVV8vAC0y35D11mdM5gp4Si0YibfF4=; b=ZKi1DaFloev8QuIFWz7idCOFVYRn3NWysPn5+/oGR1u8u9XPcV1Q7T4buw7KZD0MH5ZGieywKoip+A2zfWfXhRN21LGasUbOh0/N8q9D7nfDFcvXU1e/FYwE+FUr4wbJ97Sthp2+Rl5tTXdK4FrdtJnXVO5LUKLaUd0rtYQerK0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=bhuvanchandra.dv@toradex.com; Received: from tdx-in-nb-0014.toradex.int (115.115.243.34) by VI1PR05MB1407.eurprd05.prod.outlook.com (10.162.125.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.649.16; Fri, 7 Oct 2016 15:14:21 +0000 From: Bhuvanchandra DV To: , Subject: [PATCH v3 6/6] arm: dts: imx7-colibri: Use enable-gpios for BL_ON Date: Fri, 7 Oct 2016 20:41:29 +0530 Message-ID: <20161007151129.6043-7-bhuvanchandra.dv@toradex.com> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20161007151129.6043-1-bhuvanchandra.dv@toradex.com> References: <20161007151129.6043-1-bhuvanchandra.dv@toradex.com> MIME-Version: 1.0 X-Originating-IP: [115.115.243.34] X-ClientProxiedBy: BM1PR01CA0062.INDPRD01.PROD.OUTLOOK.COM (10.163.199.34) To VI1PR05MB1407.eurprd05.prod.outlook.com (10.162.125.156) X-MS-Office365-Filtering-Correlation-Id: d8863135-360e-4688-df03-08d3eec49f25 X-Microsoft-Exchange-Diagnostics: 1; VI1PR05MB1407; 2:zDJa03lSwm387Vox9r8UEEH74kQEJ4KMDEP3W3RGpKl+iIM370mOI2ObYPtzb6bnDeTocp1aycb2NETtK8sUwCdVtp/sKkWcO3QSmX1FHlxTip8JCo31ItvG2TT7gRCpRGOjHPk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2msY58MkVQBOj6sVFJ+4VO1W6BNv6upE6YsUd8TmicKI2CcjeTbt2ewTGf23tTucRKbGdTMdWuwFuclT777ykuHSr69BBaUp+3deMtS6KonuYkjvC2KLP/Zrb/+k6bL3/Yvg8zw+sk6RywiIFXFRzrmZHqEIZOGRbAUCttrgEsVQljQhU6WB2HUlPqCcnA9vx4cokjZSHfB0vv1hXesWOSX1zOd/bCBnWSLdQkJZ0IxjGkCA0r3+WXKOfsYhk5Ims+mT1hGrJh7pwJu9kXDiYtByqgmwJkHXcZkzrw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:VI1PR05MB1407; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB1407; X-Microsoft-Exchange-Diagnostics: 1; VI1PR05MB1407; 4:X2MbJhBYdaBesqKPfoAka9fIEK5DwJNAnleOj6X+nqe/ORc35RnX/oaiiG3JasByTypJqYnLzb1fUBvT1A+iUxApPKod/Y09OI5MYc8nLeO/3FlEOHWq0p2XLZ8/YNYPKH5HWS776oJ01xtCqONrSLBwOfzPhwf3VpuMdHBocL8jL2M7TWnCPA3/2weuog9TtXmL0SaFSGJW28nKdYGBRd1ipf2vShgxE2BYzSisZRXYHFPI1bEECdTldmZ2U4tWRdcIGMKrQesYSA6uc5XiyLkKwLYzcXElVFxRX2jnl/tHHVTsma/GeQQNcms+XHAxulFmad8uhBtD4/PyWwF39ZtM4tb87s64cKDFoM/QnigXfkYS9Hu8lSmeN9yjdTmdeQzrO9DAugfIpuoZSDDqkA== X-Forefront-PRVS: 0088C92887 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(7916002)(199003)(189002)(4001430100002)(5001770100001)(97736004)(77096005)(68736007)(107886002)(48376002)(86362001)(189998001)(4326007)(81166006)(81156014)(8676002)(36756003)(92566002)(2906002)(6116002)(50226002)(5003940100001)(50466002)(69596002)(586003)(1076002)(3846002)(33646002)(76176999)(50986999)(101416001)(2950100002)(47776003)(42186005)(66066001)(7416002)(8666005)(7736002)(305945005)(5660300001)(19580405001)(19580395003)(7846002)(53416004)(105586002)(229853001)(106356001)(7059030); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR05MB1407; H:tdx-in-nb-0014.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; VI1PR05MB1407; 23:nZAm1kAj0xldHzCffKDZM2Xkz/ffv+TVICw+bEtL1?= =?us-ascii?Q?nR3rPuDDCo5lTppvEL0NWx/cPRqGw85iQVCrtPmyOR99pofL2COMtUkF4KOr?= =?us-ascii?Q?rlwL3GEOvCBQyhlnlT6lzGj4V5OLGWVkXWuERLoZ8icdBhkYs6kyFg3qLPyq?= =?us-ascii?Q?1A8zElgn0g30qFu3d5M7NVwJvI8YIPl/FzNk2dBt1YZi6HZIz24woyqUY0hd?= =?us-ascii?Q?7oY9GD8W2jVvrdb3bfwDJpvjVrAoacMMtWKJ40sa1AMUcxyj1fO1kdO/TOql?= =?us-ascii?Q?QTwNblSb3rs61IMa8YcJLUjFbapr96YPWSzILwJvQyyjDy0oI0keIhrGDfCx?= =?us-ascii?Q?7vcqP+nQT7EUslcw8peBz8+4vb8xV/zJu4WA6KetLHNkOQYmMobKeP1NAD47?= =?us-ascii?Q?KhP20L2z18jDLpY6A3f1vjQl5J8PrtG1OucbCM+LEHOZn4XQm5ogvb/Zi3qh?= =?us-ascii?Q?grvSsR7GomT3AF6jAIMK0AhYTsBQttayQ2wYVZGKY1bOFyZyrteTNMkuPwnu?= =?us-ascii?Q?kh2ZhZ+d0jhzJeaFlOe7L6VGYUa+LwbePYohAG3GHbqEqoFeZsnehS8ouarC?= =?us-ascii?Q?hZx4ee88tRVpOZsBKHCmQq6ZBCtLPC+x7FfyEPIcY57740QY17k45/X37URs?= =?us-ascii?Q?uZSjEFvp8UK6XtaWO/wWok69SpID6Tj5TL/evMU2EQhdICCfLAntJIUns449?= =?us-ascii?Q?h+TlccWh5IJfoRMm8iBzNQLzZbZwydOHNdyhWY4qZT3oAhJp/6mBAekgOZhI?= =?us-ascii?Q?VRoipfROqYa/d08Py0dBFMKitDwc8IZC5X1Kr+eJ7SaN3omDiTNuACAThqgV?= =?us-ascii?Q?vzKTIoUTUFDrI4+ly+2bTOTgTbD5bLVfSglf3I0bdYceJPmI8hZiN4TOXdhi?= =?us-ascii?Q?LGhib05kjBnjKTV3zh6dKloqUm+bb2kpH7Ng6s492sKwl/FglcZemmwzJ22L?= =?us-ascii?Q?jlok+C4Yy6UkHhhX98xTVkcXxYjZwwm69SbpXUsqLbfV9Bc1k04yOpQpa8s+?= =?us-ascii?Q?9bw7mbQmrDHNzkWyTXvYE3YbRr4olZXRZLAuVjKW2/8iP26TknJUPaX8K8ka?= =?us-ascii?Q?yElWeQwfzfb4q2lvtUUOJ9DURlw3JTTB3VxjRKEKv6aCcF0+/O8uicA19A6B?= =?us-ascii?Q?1PgCqzeWbeENDHd7sH+QaNGqgEiDy0We7fmtHRqwzUMS39pe/Wf7cyatBpNW?= =?us-ascii?Q?7LRwOPvaiikYl5+HRk9N+xQ9acjz/SC03i9S17uYkvQyLYx4M5/voy0vJ5EG?= =?us-ascii?Q?JB7Avs4Fsip8eMbWdA=3D?= X-Microsoft-Exchange-Diagnostics: 1; VI1PR05MB1407; 6:5UbNPrgZD1rP31GykMZ1UF19ODNBCbG69AK2D1xuW+L1BlS1giZ+byOba2zlEKIu/+CX/hpugZz6BoZD1OyceAynrtF77/A13WZUohivIX6+F7NLESck9iGaljuOsebfuk7TybFT6TyFJqT06uGb0s1+FkCPX9OMS+V0IT3LGPSUDs0d7GLqDWmKcBrPH2Zc9V5D+h6seMevoraBY8UUuTAT09ELmBXLaka0Zh60/24PT92JoNWPcY7kweh8xHkHIrIwrx1kjugSHDgXS8fFjOgsnb3Q43W1/NMv5Nrw1FbygHBRvSfRvPRGw3rQufM3; 5:eaqYBXsozDUvGSUSngHSwljQ0xhDgSw2+pv79mQI2g38qvJQG4eJ16eySWEGo+rACJ/AXABTJggMx5rJf3AgGwh50TjYKhiNr9F+GofQeEDRtQVaP8HZWWcsqeH7TxS3U1haza4pYMVf1tcC9uSVWNOG/eqfAU9AbnsVfnEh19w=; 24:rAZVvSMT9dmtQyZ5BMCgnqYXktGx2ylKuyY6mwUbKJv7FIkIjSbjP1ucaQ4cS53dZy8O+grO+T/17HpCSxNzvnljx9f+a6Krdzo5g1sG9OM=; 7:eh+t5Pat/EDn5XNWLG1kJbSaMN2uhIt5tEK1yG+Ww4oNvqNZF0+lCXTZ3td8qNDRHVLc8pGQROvJMgrXpXcRf/G1WnNzl02yBnBe706vxghuq3kFvhVWc8ba+KQa9Pn6IKCf98/m5ipbQUaeIeUmC3knjKJQQR++msGjX3zNYXnDGcqPCT162ZMQTZd0S8GZqhU6mZDdAntWH5ackHbUAu5MlKwhzuAJiNXCYROEYhF9/ICDEEQCgxBnuPkdZjEMPzblQ6py1Y5jJ/KCL8WApfl81Fz2xatCskx9sE83xq0Wmty4qR5Xtz8C5Syo+yMZybhrvYNV5NWvSEQ3sj6ARA== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2016 15:14:21.5451 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB1407 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161007_081450_574313_0D9D327E X-CRM114-Status: UNSURE ( 8.34 ) X-CRM114-Notice: Please train this message. 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: mark.rutland@arm.com, linux-pwm@vger.kernel.org, l.majewski@samsung.com, Bhuvanchandra DV , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stefan@agner.ch, robh+dt@kernel.org, kernel@pengutronix.de, fabio.estevam@nxp.com, 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-Virus-Scanned: ClamAV using ClamSMTP Use pwm-backlight driver 'enable-gpios' property for backlight on/off control. Signed-off-by: Bhuvanchandra DV --- arch/arm/boot/dts/imx7-colibri.dtsi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index 2af5e3e..ce5edb5 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -43,7 +43,10 @@ / { bl: backlight { compatible = "pwm-backlight"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_bl_on>; pwms = <&pwm1 0 5000000 0>; + enable-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; }; reg_module_3v3: regulator-module-3v3 { @@ -356,7 +359,6 @@ fsl,pins = < MX7D_PAD_ECSPI2_SS0__GPIO4_IO23 0x14 /* SODIMM 65 */ MX7D_PAD_SD1_CD_B__GPIO5_IO0 0x14 /* SODIMM 69 */ - MX7D_PAD_SD1_WP__GPIO5_IO1 0x14 /* SODIMM 71 */ MX7D_PAD_I2C4_SDA__GPIO4_IO15 0x14 /* SODIMM 75 */ MX7D_PAD_ECSPI1_MISO__GPIO4_IO18 0x14 /* SODIMM 79 */ MX7D_PAD_I2C3_SCL__GPIO4_IO12 0x14 /* SODIMM 81 */ @@ -388,6 +390,12 @@ >; }; + pinctrl_gpio_bl_on: gpio-bl-on { + fsl,pins = < + MX7D_PAD_SD1_WP__GPIO5_IO1 0x14 + >; + }; + pinctrl_i2c1_int: i2c1-int-grp { /* PMIC / TOUCH */ fsl,pins = < MX7D_PAD_GPIO1_IO13__GPIO1_IO13 0x79