From patchwork Mon Sep 19 14:23:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhuvanchandra DV X-Patchwork-Id: 9339559 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 7FE9A6077A for ; Mon, 19 Sep 2016 14:28:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7078728B29 for ; Mon, 19 Sep 2016 14:28:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6517E29388; Mon, 19 Sep 2016 14:28:30 +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 2D8BB28B29 for ; Mon, 19 Sep 2016 14:28:29 +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 1blzXG-0003KZ-Lp; Mon, 19 Sep 2016 14:27:06 +0000 Received: from mail-eopbgr50098.outbound.protection.outlook.com ([40.107.5.98] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1blzWm-0003EA-JL for linux-arm-kernel@lists.infradead.org; Mon, 19 Sep 2016 14:26:37 +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=pNgEYw6wl1O6T5Ly0N44kt1RTORYhzv+imKxGqcaDtk=; b=p/c0y7zW1mKm0qtkuhcN/2K8gklvF2mpvTd6Xf62Wo1wQr3hV15Bd28qe+AZvcAaNbSiwLkQU10EXn1oLFB5k6Gc+aj/ArS/n46ELvwtExntCxf9oErDnfn52npPQzwDXvyUdBGwhwNaCZO134xhHucg2QBaciH/0mVXreQXnKs= 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 AM3PR05MB1393.eurprd05.prod.outlook.com (2a01:111:e400:5870::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.619.10; Mon, 19 Sep 2016 14:26:00 +0000 From: Bhuvanchandra DV To: Subject: [PATCH 3/3] arm: dts: imx7-colibri: Use enable-gpios for BL_ON Date: Mon, 19 Sep 2016 19:53:47 +0530 Message-ID: <20160919142347.11342-4-bhuvanchandra.dv@toradex.com> X-Mailer: git-send-email 2.9.2 In-Reply-To: <20160919142347.11342-1-bhuvanchandra.dv@toradex.com> References: <20160919142347.11342-1-bhuvanchandra.dv@toradex.com> MIME-Version: 1.0 X-Originating-IP: [115.115.243.34] X-ClientProxiedBy: MAXPR01CA0020.INDPRD01.PROD.OUTLOOK.COM (2a01:111:e400:5a3e::27) To AM3PR05MB1393.eurprd05.prod.outlook.com (2a01:111:e400:5870::11) X-MS-Office365-Filtering-Correlation-Id: 585cef3f-ea09-4771-239b-08d3e098e245 X-Microsoft-Exchange-Diagnostics: 1; AM3PR05MB1393; 2:h7Fm1gXX+viszZ6xC+JxaBgplxVBkVRWsvtRMgzmifHo596FAFgr034uUQIfLNHGFz+XgtJg8BuYzOJFpwcDeAHe2Totx0tD6wrAu+c8Tc3niVPKt3V+0U3PuJmecgqRjoOqZNe2eHWDuTAmvObICYXYvqufv5/b6kTe1ffaskh3+yqM7meSBvZIcEL/zUoc; 3:eGRxQQwBXMCXO+qx6HCPp5kNr+5gxNW5gGHRj5KrulUpG+V4ElVGEXvWlh1wuiw1iAEfDGCsHiziDnBDc3kG1hxXlN/dMM+yNYp7OCoTPCFr9MxOfqwdiQUoiKo7wpt3 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM3PR05MB1393; X-Microsoft-Exchange-Diagnostics: 1; AM3PR05MB1393; 25:FgMvTL2DW64b2nGxyJA4I7RAYu+Z1e5OmGyELn6u2Hm55fl0izfQ99BnVnUtHU9x3wxNA11gsxp0BEw7xeQMC/UPxpXOYfN6onV/R3LSKxZ4B2V0Hv/M1K/qV/bS3i8hGvYyqNJTJerJ4T0rZnqUxjjebHC+0UHiHYB6ZhhkFwFalouQeGBTdgcqiEwi53rY5TQNsymhtursaYHUtXQuSz9KHh61UwUN/W86NsuceEZ/53/Qhy80+Myg05ZCp/fAZVIpOuA4WD/buUmDeCsl666+c5m4w2gNllWdMntMZXG/bGERP2fvBwBvI9hr2a+9n9hKU8ChLA1LGx3h68Jb1JVXNe52fUavX0L68sIw737imMGdycQn3BmxB8igsYhgQWuxyiLUFwAzeZUwV03SK59Vp11329w0oo6UbuvnByf1MY92cNq4oVzCojEZQ3wlw6eRPDW5RcD/0ENWtmJNWXTUDcDRnXv621LQLzID82TpJ4RcYS6mb8vZI/4ZGvv7ucjXlJHfIa3TzqrWMjG7td1eFlDjJYg9w5tIrZh22ESS3GhuIYqfApVjtlcynUL6MKEjTVTgjAgjE1/0K1nttB20ndUZ194y1QcdkocPXQsHaH4vEOO9wTkpCK10D+X6A2v0xWVfzqT2zqnPD1mIul2ikUd3bzOg1R0z1IbyE2bHopRJ9ezg+wh6BBvWN4YWifXYhtQ8poXxSfYRWalDHGhvOF7CzZcbmxiwdeLqnxc= X-Microsoft-Exchange-Diagnostics: 1; AM3PR05MB1393; 31:yQaSsoIAy40Kqj6K2Yi1DuGrYxcwXkHn1J5UzZtmUGXaasXj3Jn0ldZywFvTcOHGovBQEpbZSEq9Ty7geP8eoDzVPIfSzc2cNsEz3yKKh7mKRvH+LPQAVdDvB9qgxfGjXQq8wln96nblk33w+YsizTMhIXaoyk0JAhhykxlNu/LvZ7Nw1uFA0JQFc3JtvIaTaG0RnNzVtCiE5XeyhRoJ9NNid7UUOOiHITSNwctDsA0=; 20:mzKF1NZSezAgNI/rtHAkmWDv5ATAm/uoW6z0bPmMQz375x4EDFPI6P6ohf5QxT5nvA7VFP5zcyR/NCCp1jvlwFRrb/E0yu12V4umGo+zAHulbBB/hZ51q5zrhRdwIbWqQ4MnI5irKoiZoQryljs5tgcxVCTO1xNPEjTekP/oEGZZBtCUO0u7YdFIl/9bP9kQAB7qWIrX8kpETxpn+ZGy4MlvBBwlCgIe7OMc8tXFpBKSRv9Cil8rcfQzSqX3go7udUaDzZmnsrZheVv1p64kS1KBp0CE06DQBOcKsow3VnH6mFKi1Fk0uiLLsk8W5FNlEbl+s7J+diqlH9ZWex6NZA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:AM3PR05MB1393; BCL:0; PCL:0; RULEID:; SRVR:AM3PR05MB1393; X-Microsoft-Exchange-Diagnostics: 1; AM3PR05MB1393; 4:QI/L7X3bG4JoOeAN7JH6zZs4YkrfIY7SQTs1M9f0STGcrnGoFU1mr9Eqe3JAle47f1wUMxVRqMkXy+dB6IelCBXybhDKOpWjG7EANlvjGIkd5ErJTx/2s7dk+mwxDTGGqroz0+Nl5YUf1M2VMxS3/clQfZ37l71ckxm9qK+rdf7luHAKIoMTFVAWqbXXG4nsVoJ1nFNjyZdgUOi8tNfiWfoTC9DdcvnIj9p6D2HEl52Tg3ehF1PhhKsS9h7XcRmmcoLWuODC0C6aDkmDg9nfxCt7NeFGSOLAxkqeeu6Fkta21KD5s4W160qSiStKX7Ne2m7P0s1lE3DzuH5zT1Rq9c/wREun+NXUdg9IAnZ74oyNPBGqlEEP2/WTxsqj3HiQDJT9r/DUAEA3IO0FfeeOOA== X-Forefront-PRVS: 0070A8666B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(7916002)(199003)(189002)(50986999)(3846002)(42186005)(7416002)(97736004)(36756003)(6116002)(586003)(1076002)(68736007)(50226002)(2906002)(69596002)(5003940100001)(92566002)(19580405001)(19580395003)(8676002)(81156014)(81166006)(101416001)(33646002)(229853001)(4326007)(86362001)(5660300001)(48376002)(305945005)(106356001)(76176999)(189998001)(50466002)(66066001)(2351001)(4001430100002)(47776003)(7736002)(2950100001)(105586002)(8666005)(110136003)(107886002)(53416004)(7846002)(7059030); DIR:OUT; SFP:1102; SCL:1; SRVR:AM3PR05MB1393; 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; AM3PR05MB1393; 23:Zv+NgG9G9ACHTPBolcYNoiV7mA6Yhn1HKs5+a/gVL?= =?us-ascii?Q?0q71F8L3oiWykR0n4UMXywqAw+B5X+uR4f9cLebehUy0vsSaUDwSJdY1pEPd?= =?us-ascii?Q?EjEjGmRf5brsSQOUroylwv15C2mG211sWNmtecgkKACY8LypPpq/VOHnR0+J?= =?us-ascii?Q?b1mEriDzmNAf76GgCTwFb+bUl7+GdE0hCrQSq6Xo3djtG/wDuyU6j5AtA4/p?= =?us-ascii?Q?ZwQNGCELj+7NcPgpIEEAZc0ZWbTW8xY2YMhXnAQzWsNNBiAkqB7L6Pg8yHGp?= =?us-ascii?Q?EcVos+SPEHQNbux5Nfdk+vA3uEatG5vJEN3WUycaFawbPk1uKaTkVoQqIuMB?= =?us-ascii?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XcrN3RehpgpENrah1x/L6GkXS55z7w?= =?us-ascii?Q?zySjtyJ+9D+UCEfNUo=3D?= X-Microsoft-Exchange-Diagnostics: 1; AM3PR05MB1393; 6:Gzij/fvb7BO4Vui/pDPHLoqFJwIWddzfSSkmFKD+kKojhm7y0r57Gqo7n6A5ij7vMJyD1LNItqfxAjdgQjCZi2ZVQGv1k2nc4slYZWBJHYvcb7dXhx04PU0rFHTYGHMkg9mZSKSR9i+73DxzUSyRiXSiwexvZAF8CNwp8ODooIj454+TysRy/vSRLEu4ymy+mhTa3B/r7UxywsBFimHoQ9dhBwF4i44LtgIhj249sOuRT6Teph3SmqY50u+LBbmBvgyCgWVcaHlYAcSPODMS3opw3yzy/lSEoyJ9iK5F1NU=; 5:jMWR7iX1uW5hXLcF9phvcesr2t5jnqF9hfKFTXohf6eSqZvuFaeqdmPIC8deqml/WxRuoOLvka5DFqoIVbQ5AG2FLRms9IQqcB/jeiBUS2WDGP2u153oZuwg8t1ETi80jaWHUPScsnXf/17rAaD5ig==; 24:DDBRqz7tRQjgaZVEAaMdzR0im1AUi6mKgyBaWWcs6w/Y8cyiX8+kXr0y+JtkM74Lxfo5+Vf1eEh0uBscAV64kaZqkqNu+8EaIj0qWrm6nMc=; 7:PFRbnyFvp+P6NokoGRo6EQRZOH7HAkLjJM/iXNB11A9KIO9DBRSqVnG/LxegMY9r2KoT+05rObam9aqU0rooIJv7MLJcY5RLS3fF7bWWUMBZFsnz7buGUhZwrJjQzt1rbNJJuH5/qO58uzJKfKjlaPnPg+5T8d770NhDIenx4sZovXMpEVcnsyR24jTLDYXPY4T78buv7Pa+cmEdfEuE2TmigweoA6kpIlXcmfKwGEin5LNgaeMIxGOaMJIcW1RcJMVvPCa+KiK/k0FRtb9xlbchaukViAWdgh/fVd2m8Nw0OAi2SwLibNtXeHvMZMbS SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2016 14:26:00.4485 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR05MB1393 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160919_072636_906664_4DB437C5 X-CRM114-Status: UNSURE ( 8.84 ) 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, Bhuvanchandra DV , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stefan@agner.ch, robh+dt@kernel.org, thierry.reding@gmail.com, 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