Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp14797pxv; Wed, 21 Jul 2021 14:08:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMdLHIIipYj+6DEvi2plgz6ZqR4cbLO9rm8zCCC2AMamioYRjd96NFcG4ICohOCv7EH8HI X-Received: by 2002:a05:6638:d51:: with SMTP id d17mr33079354jak.109.1626901575273; Wed, 21 Jul 2021 14:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626901575; cv=none; d=google.com; s=arc-20160816; b=HoPq8GUBnZP5L6QZTMMqpgQdbNkeU7oz+RZ2wStn+72QWxaLy4lbQChwOeMcp4WoLk cop0ANo9fSn9gshzWZx38TaWIWlN8G601zdRzS3m7VyDrbJ7pbJ0KCq8FBfIRT8zAD5V OYoebMmmVYcT/YC1NIzW8/oH8gT+cSSo91B+JbUIK/K60a79Wk8rK31785puBC8FJ3i9 3eI01YK8XgygmQbb8mpgOhqC17yBJ2rVYpBPdiZr1cZyEhh+rL8xb8cHWhgyYka2tA7F Vpx1fANqxdag8wrWv5guHcOvFVBbEI6uzQf/9S88yrrr3pOX5jz6yE4ffPjAQcIFqiQK oFTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=AAmZWojQo9ONsCFEwdKYb2NXdYDGQvHNHW+g3WsirsQ=; b=07euChQ3dIFkIaPomXOf4jmssm6WzlQFQuPOpIjwZD+XZbNs07gUc92XdgF8f4pIAq jaUSp1EXnOUIELX50zLit497h3gQiAJyg8JbkScg7fQ0BULCW+axYW+DW09NHe2pd+Cn eumydChzCC0DnPCeriE5joK7OKsFyXywnfP68BAVHzd7I12CSoVaugFJ3wBtXTVvymYe 248Qb1kOUZ8f1sOo61dzNKsKA4mg4A9f68zAFCdob23z1l17UCmG396SZh72kVAZZLhr uSpX8VoR1+G01fnNsKEjMBCfXWaPH+9sBD6WEq1DuE+BR/rl8Hu+NewvyTR/3kO8N4Ku nZPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=dvSEv0Ft; 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 l23si27024522jaf.47.2021.07.21.14.06.03; Wed, 21 Jul 2021 14:06:15 -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=dvSEv0Ft; 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 S238710AbhGURqo (ORCPT + 99 others); Wed, 21 Jul 2021 13:46:44 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:53160 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232571AbhGURqn (ORCPT ); Wed, 21 Jul 2021 13:46:43 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 16LIRFKB018350; Wed, 21 Jul 2021 13:27:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1626892035; bh=AAmZWojQo9ONsCFEwdKYb2NXdYDGQvHNHW+g3WsirsQ=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=dvSEv0FttKdh5y76dH/rQgCNDkvBqy9rRhpx6BQVzUm3pJKG9SH1qYWHldk9TTjU/ r9s6FET/6/5O5KbqVx2vHANpbpCMCWruwAXJlwinXjVhqWV7ScUNqcNnVHssBX726r V8O1OFT+47fCpBJ49ncl8PHybTDLkllWT9NfyJ2o= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 16LIRFWP004304 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 21 Jul 2021 13:27:15 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 21 Jul 2021 13:27:14 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE100.ent.ti.com (157.170.170.30) 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; Wed, 21 Jul 2021 13:27:15 -0500 Received: from [10.250.100.73] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 16LIRCxD029757; Wed, 21 Jul 2021 13:27:13 -0500 Subject: Re: [PATCH v2 2/4] arm64: dts: ti: k3-am64-main: Add ecap pwm nodes To: Lokesh Vutla , Nishanth Menon , CC: Device Tree Mailing List , Rob Herring , Linux ARM Mailing List , , Vignesh R References: <20210721113625.17299-1-lokeshvutla@ti.com> <20210721113625.17299-3-lokeshvutla@ti.com> From: Grygorii Strashko Message-ID: Date: Wed, 21 Jul 2021 21:27:10 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210721113625.17299-3-lokeshvutla@ti.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/07/2021 14:36, Lokesh Vutla wrote: > 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 > --- > 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"; > + }; > }; > Reviewed-by: Grygorii Strashko -- Best regards, grygorii