From patchwork Tue Sep 19 06:15:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 9958245 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 964AE601E9 for ; Tue, 19 Sep 2017 06:17:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC40C1FEBA for ; Tue, 19 Sep 2017 06:17:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0E6C271CB; Tue, 19 Sep 2017 06:17:11 +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.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3215C26861 for ; Tue, 19 Sep 2017 06:17:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GDb+6b0Pb18BtnWVLvw0+wlgjEp7dgRgqfmMVcrbcVg=; b=X63Uc0UwSpGOq+ hS3lFQ22MTcZZs5eVwBRdpzk1SnwyvOm3ydbPgy3AfShufzFVQ5ewffldUDj6ICWvqzhzaGi9PmdK Jf2Q2Np2keiDd3kRQ9xjDaQlcGffPfwOXh47xwbm+AodJeEZBjQHOqpBEavZcj8ojaP1Qpmmyshho obY0qbSmXNcaXUEWn9WKHXk/YeDh1RInfdQQHRLJ8ub2uFgZTuaKFmEYO3IsmAfRBZDoTSwrxly51 On8eoZk11HLf4Lmn76iCgZ/V7btU8cgSdiJIdP/P2saa1y1dj2scaWBUWM3VNS6VvzpMRSwZGjSF4 AlKkH7n9nGUWvYfJ/kxg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1duBpr-0002S1-4H; Tue, 19 Sep 2017 06:16:43 +0000 Received: from fllnx210.ext.ti.com ([198.47.19.17]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1duBp5-0001yw-JX for linux-arm-kernel@lists.infradead.org; Tue, 19 Sep 2017 06:15:57 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v8J6FbtO006826; Tue, 19 Sep 2017 01:15:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1505801737; bh=iwNJpQeEktg4xWP6dm6zIPPzXNTBZMQvd+8F8651wPA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=F+fTc5BBdJliYKUBOIQHVCha6szMPZnrrc9GgUyvuqvJEZerzowAQ2U6TUetKp3z7 1ufMczIZQ6apKl7G8qe/hQQ1/HBB5ZCjqcZKloyCM/SsP0su4EQGMer5JmLPl/HtlM 91yfr0tMVuQpELNFJYKwUQwtCDgTvT+pT5ntKziw= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8J6Fbpm003855; Tue, 19 Sep 2017 01:15:37 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Tue, 19 Sep 2017 01:15:36 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Tue, 19 Sep 2017 01:15:36 -0500 Received: from a0132425.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8J6FUHC003426; Tue, 19 Sep 2017 01:15:35 -0500 From: Vignesh R To: Santosh Shilimkar Subject: [RESEND PATCH 2/3] ARM: dts: keystone-k2g-evm: Enable PWM ECAP0 Date: Tue, 19 Sep 2017 11:45:50 +0530 Message-ID: <20170919061551.11981-3-vigneshr@ti.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170919061551.11981-1-vigneshr@ti.com> References: <20170919061551.11981-1-vigneshr@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170918_231555_733170_0AB3D4E3 X-CRM114-Status: UNSURE ( 6.39 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Vignesh R 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 Enable PWM ECAP0 which will be used for display backlight. Signed-off-by: Vignesh R --- arch/arm/boot/dts/keystone-k2g-evm.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g-evm.dts b/arch/arm/boot/dts/keystone-k2g-evm.dts index f462f1043531..808618e747eb 100644 --- a/arch/arm/boot/dts/keystone-k2g-evm.dts +++ b/arch/arm/boot/dts/keystone-k2g-evm.dts @@ -81,6 +81,12 @@ K2G_CORE_IOPAD(0x1110) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE0) /* mmc1_cmd.mmc1_cmd */ >; }; + + ecap0_pins: ecap0_pins { + pinctrl-single,pins = < + K2G_CORE_IOPAD(0x1374) (BUFFER_CLASS_B | MUX_MODE4) /* pr1_mdio_data.ecap0_in_apwm0_out */ + >; + }; }; &uart0 { @@ -112,3 +118,9 @@ memory-region = <&dsp_common_memory>; status = "okay"; }; + +&ecap0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&ecap0_pins>; +};