From patchwork Tue Sep 19 06:15:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 9958243 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 93D3B601E9 for ; Tue, 19 Sep 2017 06:17:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A9C311FEBA for ; Tue, 19 Sep 2017 06:17:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9EEB427FBC; Tue, 19 Sep 2017 06:17:10 +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 31F971FEBA 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=5WB756TqFojg1fyDAuPdAyRlWaBusJuLBhq7XmfmnP8=; b=GR9Oqcvt+oB5Z8 DItfzWCQ3e4PhnN9Ei8erXUGw5j9srnyOBhrzqdIOUdSOg77HwqU66jEh37rl6m7VR+7S2h82vICH 6EXjnTgtbA5CkVaFhbWgoI/NKcC5OPwURtNlvGHbppaGbW2/0DSdjanhOnuIVeF2U5t56kYZnUemg 7OECyNQHksE5ewuM8LBGlYWa3lIsdEBSdF9PMD6akpbAJvd+x9ES7ewmehqtNb19LSWhHx69fm8j9 Gb4o24iHttLNIjniWkB+hk7wqiyjJJjNECf3LmPVQS2U98Dcx4gOCBnuxAj3jChS56N2PUjY1DrW0 UMdN8YjqvVR++Jnm+nWQ==; 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 1duBpV-00025Q-9m; Tue, 19 Sep 2017 06:16:21 +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-0001yS-Fm 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 v8J6FZ4U006814; Tue, 19 Sep 2017 01:15:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1505801735; bh=MiDzUSrKrUfR/0YY9eV9ulq37mN8KjdUYDYAt1BR9WU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=e8Ltt4G/+fLc7lQxbcMhs4f0BlySPPXEGEehFK6CCa0Q1L42M39VOXVBRg4aybhZx WtDe1yu3do8NE3XPJNUS7+yjle+v2ljUdWMh2BdE9tC+oSTSmnaSkc39RetcigLjqN b+r8ZnEBLTsuNooa0pGWBNnzGdhpAVSWACaiNAhE= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8J6FZJo003820; Tue, 19 Sep 2017 01:15:35 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE112.ent.ti.com (157.170.170.23) 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:34 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE102.ent.ti.com (157.170.170.32) 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:34 -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 v8J6FUHB003426; Tue, 19 Sep 2017 01:15:33 -0500 From: Vignesh R To: Santosh Shilimkar Subject: [RESEND PATCH 1/3] ARM: dts: keystone-k2g: Add ECAP PWM DT nodes Date: Tue, 19 Sep 2017 11:45:49 +0530 Message-ID: <20170919061551.11981-2-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_623006_803DD50D X-CRM114-Status: UNSURE ( 5.42 ) 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 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 826b286665e6..dace4672b1e6 100644 --- a/arch/arm/boot/dts/keystone-k2g.dtsi +++ b/arch/arm/boot/dts/keystone-k2g.dtsi @@ -343,5 +343,25 @@ clock-names = "fck", "mmchsdb_fck"; status = "disabled"; }; + + 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"; + }; }; };