From patchwork Mon Aug 7 11:49:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 9885113 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 0DF3C60363 for ; Mon, 7 Aug 2017 11:51:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3B5428514 for ; Mon, 7 Aug 2017 11:51:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E83452860D; Mon, 7 Aug 2017 11:51:39 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE 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 6F8B928514 for ; Mon, 7 Aug 2017 11:51:39 +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=1/1mG1XNXZocX0xq/u6VXMzuOnLVAr8xKvkxi7jd6UE=; b=Gnkaffv4m/r5yB +JI4fdKkW60IKk89TaVYAG7E6SMqzz/pffbXAYlcaUe7/xnB6MnVZRVjXOt25PXFpe0Z7wyFHId6o RJDaL5bJAtC1Yw2mtmS/xQC0vJI7Xv3YqaxwRf/ntwLLiuVQRHu72cM7JUl+izmHAGkypQk3VfgIk J9XVUwTbyPE2XT7Hk5wPveVKEY7nW1hz+PCuJDVCfTjcJ+rFniFEKaGIKjNYddvo+YsOMNowjvRaP C0ipSnp6cqXtlrVbgrKcBvjW5qEawpRLcW83LyLj7M/qYKVUjSzjB4G8Q8baH++iqkRwJxiOMtO/0 W/zw2F3QU86eZ0f3m4fA==; 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 1degZM-0002gf-F1; Mon, 07 Aug 2017 11:51:36 +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 1degY2-00084F-1s for linux-arm-kernel@lists.infradead.org; Mon, 07 Aug 2017 11:50:22 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v77BnnMW004640; Mon, 7 Aug 2017 06:49:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1502106589; bh=9AN48j8wXTIA721m0S1RLxAAhu1Zhc0zn6eOLiyR7mk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=UqU1zB1ITKZHM/G4e1dVrs53fWXqa2VO8TqkEVKl0J1epkWAoB+xxVp2qtUImK8h3 0v2+5Wbv5ig0wPGn3JcWFQKWSW2//GHIu9mqgAPHTx2nZ89wvET/PEFoktWKJesgc2 D8BU3y85+L6WJQPbiDqcwt4wsNSLeZLhpZT8ZfiQ= Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v77Bnn7Z023222; Mon, 7 Aug 2017 06:49:49 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.294.0; Mon, 7 Aug 2017 06:49:48 -0500 Received: from a0132425.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v77BncSK022608; Mon, 7 Aug 2017 06:49:46 -0500 From: Vignesh R To: Thierry Reding , Rob Herring , Santosh Shilimkar Subject: [PATCH 3/4] ARM: dts: keystone-k2g-evm: Enable PWM ECAP0 Date: Mon, 7 Aug 2017 17:19:42 +0530 Message-ID: <20170807114943.22612-4-vigneshr@ti.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170807114943.22612-1-vigneshr@ti.com> References: <20170807114943.22612-1-vigneshr@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170807_045014_580382_B9AA1907 X-CRM114-Status: UNSURE ( 7.73 ) 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: linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, Vignesh R , linux-kernel@vger.kernel.org, devicetree@vger.kernel.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 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 61883cb969d2..3ce8010622ff 100644 --- a/arch/arm/boot/dts/keystone-k2g-evm.dts +++ b/arch/arm/boot/dts/keystone-k2g-evm.dts @@ -34,6 +34,12 @@ K2G_CORE_IOPAD(0x11d0) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */ >; }; + + ecap0_pins: ecap0_pins { + pinctrl-single,pins = < + K2G_CORE_IOPAD(0x1374) (BUFFER_CLASS_B | MUX_MODE4) /* pr1_mdio_data.ecap0_in_apwm0_out */ + >; + }; }; &uart0 { @@ -41,3 +47,9 @@ pinctrl-0 = <&uart0_pins>; status = "okay"; }; + +&ecap0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&ecap0_pins>; +};