Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3516381pxv; Mon, 19 Jul 2021 02:03:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysaFL/JXaHa5jpO3QKMTP9HC7kMCjVV4Dnhi52rTivU8E5OehkC1r9vXf4jkOHH6iYO+qE X-Received: by 2002:a05:6e02:68c:: with SMTP id o12mr17187988ils.261.1626685398556; Mon, 19 Jul 2021 02:03:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626685398; cv=none; d=google.com; s=arc-20160816; b=z6/NU3EqQ6F06zKUPu/AxFu6CKkPRkQBqV3VSmpSjCPazOgwxKzZeXBl4F1bO9H/n8 N1hfhXO5y9LP+k6kz7id4OacDw656l8eHvKh/ajXOdelIkIBHbn4eCxU4G8V7Mr7/UR3 upkpHMmMyLPjq+TTobinGTz2buCj63cu4LJ/D71or54A7XmxjzAe892g0kJtSUSYiOgv 6J0xuSw6dGfWYnvtgBJxMl5tPRPYkok7M9dG6znXE5uSuUW2Te8tvqd2q7ThvuYSOGbf fxxRA2/JvnHHQCRTXXugdB1c9Ed/0wxWx8Wd7v3lSQQ8SqHAI8c+ku90Adxh/s/8EczC 4Yig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2aMBT68yvyc9qhPFHnpJ7+fH8WKBnf72TNPAa/X9gaw=; b=brfRSUBCZjugMuEfEhuyOgJMGd/Y2BtMa3RfTXclWM12slgLLNwbKimHFanrFtT3aC zvRLf6WIwAtwZEhGlOM+TbWIDJR67dlYSUJInnnb6hW8zgZOzqdnZf10pEDrge2+be2j ynZNJ8kbVqezbJ27oujOFJNBRSe0erObmk09Ghz1xC+XX+679WVxwXq3nUHI1LU4zJnX i6e/XUemhTbtH8y0S9LYdZrH6Oaegng794OXY+A8hGTXDYTfC/+IZmK8wzqGNke3T9sr V4/G0zGXCIaM558GjaL6WnKhXjwqcvoFe/dU+cIzbGrjo2IeRU6ocuisvcKlG9A2Vamg JY7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=m9FJNSTv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d5si18197021ilr.23.2021.07.19.02.03.07; Mon, 19 Jul 2021 02:03:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=m9FJNSTv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235498AbhGSIV5 (ORCPT + 99 others); Mon, 19 Jul 2021 04:21:57 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:53934 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235374AbhGSIV4 (ORCPT ); Mon, 19 Jul 2021 04:21:56 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 16J8sCwJ068595; Mon, 19 Jul 2021 03:54:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1626684852; bh=2aMBT68yvyc9qhPFHnpJ7+fH8WKBnf72TNPAa/X9gaw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=m9FJNSTvtUGOE+poP5uIp89WM1bmQhLqXRlfKy5Jdy8/zQnGHpLiKvw+5LlYp1VpI +VDwrmLha4aNt+9dI3ScwSQltkrzeB5p5ebOjGbL1Cur74gtgJdshM9MtgnUlHPXsD iNQ0inm/8eaLdHN3lIp+HrVZRMqZFAuOikXvQ5WY= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 16J8sB39120975 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 19 Jul 2021 03:54:11 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 19 Jul 2021 03:54:11 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Mon, 19 Jul 2021 03:54:11 -0500 Received: from uda0131933.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 16J8s3hD047822; Mon, 19 Jul 2021 03:54:09 -0500 From: Lokesh Vutla To: Nishanth Menon , CC: Device Tree Mailing List , Rob Herring , Linux ARM Mailing List , , Lokesh Vutla Subject: [PATCH 2/4] arm64: dts: ti: k3-am64-main: Add ecap pwm nodes Date: Mon, 19 Jul 2021 14:24:00 +0530 Message-ID: <20210719085402.28569-3-lokeshvutla@ti.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210719085402.28569-1-lokeshvutla@ti.com> References: <20210719085402.28569-1-lokeshvutla@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are 3 instances of ecap modules that are capable of generating a pwm when configured in apwm mode. Add DT nodes for these 3 ecap instances. Signed-off-by: Lokesh Vutla Signed-off-by: Vignesh Raghavendra --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index 9e762f64b631..42d1d219a3fd 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -946,4 +946,31 @@ epwm8: pwm@23080000 { clocks = <&epwm_tbclk 8>, <&k3_clks 94 0>; clock-names = "tbclk", "fck"; }; + + ecap0: pwm@23100000 { + compatible = "ti,am64-ecap", "ti,am3352-ecap"; + #pwm-cells = <3>; + reg = <0x0 0x23100000 0x0 0x60>; + power-domains = <&k3_pds 51 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 51 0>; + clock-names = "fck"; + }; + + ecap1: pwm@23110000 { + compatible = "ti,am64-ecap", "ti,am3352-ecap"; + #pwm-cells = <3>; + reg = <0x0 0x23110000 0x0 0x60>; + power-domains = <&k3_pds 52 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 52 0>; + clock-names = "fck"; + }; + + ecap2: pwm@23120000 { + compatible = "ti,am64-ecap", "ti,am3352-ecap"; + #pwm-cells = <3>; + reg = <0x0 0x23120000 0x0 0x60>; + power-domains = <&k3_pds 53 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 53 0>; + clock-names = "fck"; + }; }; -- 2.30.0