From patchwork Mon Aug 7 11:49:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 9885123 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 8C33260363 for ; Mon, 7 Aug 2017 11:52:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DF8E28514 for ; Mon, 7 Aug 2017 11:52:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72BF32860D; Mon, 7 Aug 2017 11:52:08 +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 0D2D228514 for ; Mon, 7 Aug 2017 11:52:08 +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=Vhjyqr4jdwsiAAfdPJXVDy0MX+XI9esd3XuxdQiKsEs=; b=M7NzxExmqE3WCH XmAcCa+KS308o0FX4sNpBIg4zFzG1pkx48iRVKpi5QfayvcPvznLahUUQtKtmrADYgUOWuDpN+cPR JeiEaad9dPQGVpSn/ZIpzwdpEBuG3qoeZPVHl5DPH3Efk3VJWHLadq1xH3rWnIDtssnXnOEL8a2Fc nRyprBWAvH2B4yr/X36u9OtZWNOxOH4EAqroH86h8UivZGm/5KX5PKjfIAx5GFJNX6aWNTEAJ4ULk Z2aetkeKIVL5nY7s27etvZyJfFgiuIx+LFMLUIDXbsz8z2Vcrz+fUy5oK5sTz4u/DPSG61xzhZBDe N5gIlEVzOQRZFaVSTYHw==; 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 1degZq-0003N3-FQ; Mon, 07 Aug 2017 11:52:06 +0000 Received: from fllnx209.ext.ti.com ([198.47.19.16]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1degYb-0001Fi-7W for linux-arm-kernel@lists.infradead.org; Mon, 07 Aug 2017 11:50:59 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v77BnpY6012585; Mon, 7 Aug 2017 06:49:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1502106591; bh=ylWPqMTg+H6DU07sf+cqJqQo3rV4W7WXdQ3foIwP4vI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lkFazPpdhGp4pv4XFByaDVFR2G58YFuKDL7fbq2yUGaxrrfTy7AYdiYgKR/mNmoDQ 8zxVJc+xBIB0Uw2vZMBnI+1IdISWQkOWrwVwIv6q6wGXZJ+GA9ennfwr2ZUPUdMdCr 8SLQJLfKCeUVVLMLl++20ChEpKtDxWGVqRHfzVhM= 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 v77BnkY3023199; Mon, 7 Aug 2017 06:49:46 -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:46 -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 v77BncSJ022608; Mon, 7 Aug 2017 06:49:44 -0500 From: Vignesh R To: Thierry Reding , Rob Herring , Santosh Shilimkar Subject: [PATCH 2/4] ARM: dts: keystone-k2g: Add ECAP PWM DT nodes Date: Mon, 7 Aug 2017 17:19:41 +0530 Message-ID: <20170807114943.22612-3-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_045049_877050_315D5ABB X-CRM114-Status: UNSURE ( 6.55 ) 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 Add DT nodes for PWM ECAP IP present on 66AK2G SoC. Signed-off-by: Vignesh R --- arch/arm/boot/dts/keystone-k2g.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi index bf4d1fa30840..b35d29672f30 100644 --- a/arch/arm/boot/dts/keystone-k2g.dtsi +++ b/arch/arm/boot/dts/keystone-k2g.dtsi @@ -168,5 +168,25 @@ #reset-cells = <2>; }; }; + + ecap0: pwm@21d1800 { + compatible = "ti,k2g-ecap", "ti,am3352-ecap"; + #pwm-cells = <3>; + reg = <0x021d1800 0x60>; + power-domains = <&k2g_pds 0x38>; + clocks = <&k2g_clks 0x38 0>; + clock-names = "fck"; + status = "disabled"; + }; + + ecap1: pwm@21d1c00 { + compatible = "ti,k2g-ecap", "ti,am3352-ecap"; + #pwm-cells = <3>; + reg = <0x021d1c00 0x60>; + power-domains = <&k2g_pds 0x39>; + clocks = <&k2g_clks 0x39 0x0>; + clock-names = "fck"; + status = "disabled"; + }; }; };