From patchwork Sat Oct 1 10:12:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhuvanchandra DV X-Patchwork-Id: 9359145 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 ABD766075E for ; Sat, 1 Oct 2016 10:18:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9BED32984D for ; Sat, 1 Oct 2016 10:18:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9006A29851; Sat, 1 Oct 2016 10:18:19 +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 47D292984D for ; Sat, 1 Oct 2016 10:18:19 +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 1bqHLp-0002vL-1J; Sat, 01 Oct 2016 10:17:01 +0000 Received: from mail-eopbgr10112.outbound.protection.outlook.com ([40.107.1.112] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bqHKG-000189-5t for linux-arm-kernel@lists.infradead.org; Sat, 01 Oct 2016 10:15:25 +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=ksA+98i4QZvkkUZ1imTUMtCn8picFR1La9yvNQPIKrr1/dtoBYhngtntXrgJ9ViSB6C5cDFesp8ngOTM6kIGhudSVMD9z7sKPwp5SoSUwYgfLskv6/3ZaMH0QpVz8BC6tfIPcZtyJxe79Xl6LDN/MbspxOFOJqiL4QA+8UDAc/U= 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 AM3PR05MB1396.eurprd05.prod.outlook.com (2a01:111:e400:5871::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.639.5; Sat, 1 Oct 2016 10:15:05 +0000 From: Bhuvanchandra DV To: , Subject: [PATCH v2 6/6] arm: dts: imx7-colibri: Use enable-gpios for BL_ON Date: Sat, 1 Oct 2016 15:42:35 +0530 Message-ID: <20161001101235.24598-7-bhuvanchandra.dv@toradex.com> X-Mailer: git-send-email 2.9.2 In-Reply-To: <20161001101235.24598-1-bhuvanchandra.dv@toradex.com> References: <20161001101235.24598-1-bhuvanchandra.dv@toradex.com> MIME-Version: 1.0 X-Originating-IP: [115.115.243.34] X-ClientProxiedBy: PN1PR01CA0050.INDPRD01.PROD.OUTLOOK.COM (2a01:111:e400:5a3d::22) To AM3PR05MB1396.eurprd05.prod.outlook.com (2a01:111:e400:5871::11) X-MS-Office365-Filtering-Correlation-Id: e3134558-785e-4efe-5cff-08d3e9e3d1a0 X-Microsoft-Exchange-Diagnostics: 1; AM3PR05MB1396; 2:Ne3J34OOBXwP9TnxRDUrC8e9uSCw7OmaHSpsPlyHn57EK5PoxDsvz7DSJHziKa2iI3PMnz7THRlCqIvh4uIE+VYoP04Ap/tvzUe69XErj4x3EarzFlz5z+A6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nostics: 1; AM3PR05MB1396; 31:VufM41e6izY7cHO+pWdIgDlMtBHQ5KrNSwLNpO5RCnj8tpD/Lh9vF/nfATrUpDG9U5weRwBXZmXWZYwMx3+ZgCsLkQcUzM8WsGaMFun2f0mOG6XuqAf8ER0mUJg3s0gnMPWAEua/DGg7u67rnxRjVALEz0PkjRUqieScU1+1QTUn6j/u0aDO36MQucvjQcQlusYjXPiQbTucMc3viHSfT3IfwAnQYv31mkBZa3KGWXe0QdBMMtSdnzQOlzc34GqN; 20:Z6UdUp0F0TYlAonFJZVnTiMzo13CwKeg9EUXo0usJ04oCEQc/Ut7mokaQyrXMOOcCYdS+bRr4JOfNsyyfkov2RxCWLfjcgQuJ9f4D4DUKzKeoJ/IWzJSODK6yLPclXha9I7RbCtw24vFI2Ri2KqizIjc3GSw8iF+j99y3CWNpaibY/uEGRuaTdk9vDnTASBWNzDeT7FFQOPAGK+hWVcohjLCNLVWuxCWs7legGVF1F8xorXGQF4I4Ur2GslZk5X9C4y8bftXe2crgzf+yQsCn8L0l2A0TVr4OrDB6QhOdMrwaCmLvMC1whm+F7XJIcrBqjoZvcvwfxsowQMnw0lrCA== 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:AM3PR05MB1396; BCL:0; PCL:0; RULEID:; SRVR:AM3PR05MB1396; X-Microsoft-Exchange-Diagnostics: 1; AM3PR05MB1396; 4:5qs38+RGw+9gugGMZTGxYKbUL6Pn3daPK8oEkGKtNHdKsT3+3oD7gQFedyw9/+E8sY50pCd+leOPXIXvDnxVxVcoXrtu/sL37dv/tXEXO9wZX+stGmWYrezBCylLlYnfh8ZLcUD0xHDYoVOfjkDjoUsWP9NTaDHJC6Vwd0VpLGvvUcXwOLhzKeuk7aCkpL8asUZT1WjcWyKDP8UsB4OBVcFU9/HDTCKRhtDO0tO5oiFCekg144UHoWuDyT0pRiNOBBfMzu/ernyqZBMlOn9MI46RnYkhJeaTedPyyYWNpSJpfXkff/rDjjvd2KGbjB7FOv4WuquLXI0izBOy3Igy5ENhjPMDbnxogs0t798v4UhywnP109frw1r7NUs2796Doz4ViytAnK3mn4RPPCwj9A== X-Forefront-PRVS: 00826B6158 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(7916002)(199003)(189002)(7416002)(92566002)(36756003)(47776003)(189998001)(6666003)(305945005)(68736007)(229853001)(5001770100001)(97736004)(66066001)(4326007)(33646002)(105586002)(5660300001)(50226002)(106356001)(8666005)(2906002)(586003)(2950100002)(107886002)(50466002)(1076002)(76176999)(81156014)(50986999)(81166006)(7736002)(6116002)(3846002)(5003940100001)(42186005)(7846002)(8676002)(53416004)(101416001)(69596002)(86362001)(19580395003)(4001430100002)(48376002)(19580405001)(7059030); DIR:OUT; SFP:1102; SCL:1; SRVR:AM3PR05MB1396; 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; AM3PR05MB1396; 23:kYfmqwVEtp4YASIRcEStrahwlYkXJCuw6DH9SC/0B?= =?us-ascii?Q?rPD7kNxbmfZf76z4IP74I+ulXH4U7zmjBiHF53EbRwZrIQeZmhfKMPk5rRG3?= =?us-ascii?Q?aoqxT5reMBrmTVuWP3K6CQZxDL3yl1CxoyFMN6WlbVkbBz0SotC9Q6Vq7goD?= =?us-ascii?Q?uhs+4FVh9IQYPgX00VBfMZoRp2ZBHx0Nxs99tcSPvkf1Qpssieed5wFzPsq+?= =?us-ascii?Q?3Xww1h0I7hM4ZEupcIbRPHKKRf8Shn0eC0taYg+0yh1cUT1++i/gU9hdv7fQ?= =?us-ascii?Q?m86u74gzy867PVBsCng87GCUjy26khm7qaSWoNagQ20ZZEcvXSdq7d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haUqfV12QYpkguWJyhY9sYhRir1SY1Snx8L?= =?us-ascii?Q?Y0n3bpQObBHHWEz2yA=3D?= X-Microsoft-Exchange-Diagnostics: 1; AM3PR05MB1396; 6:1LsJ4MZas+dpwYeRajAGaSiITH5v4Gd6qWht9vkqxZUGtqukktCQUyLIE098faltjHeTg7qjlqHgSz6wM0Iq8EK411pcM4YIFAVeU4MIiFcJlwNwcWk/ws9qXTBq1q7ZazsxuqZY0ykiLBg2DXA3vLYROunqsT/auebrfG98/f30+xhRKG5q8KqHznuw6wgaRce293L78PiImo8Cre0yUblQ22fK9iAHVe5YFim8xY2cmxln89BirIr/4DvyyDW8EZ6IlAWziSLg4ORPMPUWyapyNZ/aCep1SAVkThU6X8Y=; 5:iXfL1vUdS4gHaifPKC21ZUexORNhPmoTWcng9Hj+uTXlvvcbfewGr9R2UpAHIMVAeXn7osm/YpIzUgcY9q1sspH1difQpa7KQxtdGo7itMAp5M2jMmDWvfuJd/CojlDSLNxYBTcrG74GzgFF2mHV/A==; 24:QqboDyKXh82ZSm1qZKgMKj8LsRyqaQH7gqRh7CU6miYCyPGuhIMvgNAGOduTF5VItN+cXTXpD/O2atp1EvC8HVWtbJbrIAt4wonMCp40bpk=; 7:a3RgBVwhhBV3UpbRfB2NRHeMsCnM5HBhQjaMF7d07rbReVb4J1oBc+JPgD56VohYqqxx/9CjAj9GWJKiBkdiH/GQvFAnvs48IQSmJ8e0payWrNEdjndMldY66jYD5FhA+mxYFVzK8qxOVsN0akgQ1P+WhqU7OSPWW5xDZBVTXQZDkzJ+IRDzsXImwihe9AN21vItwkR36/pQHKvT9wJLbMDe3PpiEy/QoWxCPjmfwOK6u62MuVZbJ7FOlonJKEt1gZUL7FQM/3Af8CrU6ZH/+DP16magpcORg07NlzavB1k026IkdAFDUAdd3LwmO63v SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2016 10:15:05.0306 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR05MB1396 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161001_031524_508367_36611695 X-CRM114-Status: UNSURE ( 8.31 ) 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