Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2729377ybz; Mon, 27 Apr 2020 03:30:13 -0700 (PDT) X-Google-Smtp-Source: APiQypLRjDl9dvOsGKRgtur49b5opd6F/XRXkh5GQQqsu0xHrZk4wLcMQWdWcCji9JQEEH2pO3le X-Received: by 2002:a17:906:504f:: with SMTP id e15mr17817425ejk.45.1587983413004; Mon, 27 Apr 2020 03:30:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587983412; cv=none; d=google.com; s=arc-20160816; b=r2ZfZavVTabQHemzMRVs/IOGd6NG4jIrH5h2b+zSejhfIJeeOh4G1PB2MAAmpMK6rD KEeZNuHXunaZd2nzqJt9vwVKNRS19AyZvguU68Y+4cakhgadHBC714VZHe3/UAhB2Ski jS4A0/rQAQSY1qkwG56b+NEbZZujCir+Jc/jS9QhbszUuD1l5mJSJZdX45pO2xOcsgRm iSNJ/baKJSqDyeD8MBmf6QHWUMtQsSsXZfc2pBuneyahfD9iDAmYtY2RdmSSQLYo8OVe XltC1chtv9sAVpqw3UgwKxzvLjwTWm10Ln9EfVXjADSBPCNS27pODMpOl3sTNfrLPnMT 917w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=OIoRkEDtSdqjO07eoDGoCXzJPcwcaFncwmq6XymLSwQ=; b=hTGsEuECOR0vZw0Z4npjeXQk/DB/sZK8ldeSHKR+KtRLGnWbzFjlCHHpY997BFLG/A +FX/8umWPSxwxUZA5C7TJS6UwveNHyyPuN7e4sM01ti04XAw/TkHg8fIvYlsy+xCqFnJ oiGbjKXjM/0h/DvirKT9KPktqCJm+YzTlEtUB9Xdi6hcagPzUhAMgnq6/osPZyFY73L0 phxA6Upw+LL0T+WSgzGauVkCQ1Ge3bwUuOpw8X661AcQ+elrVLXf+t/7hdfH/+jc4sFd AGn1JkUQm8mkCZag+pXbxoc5jlHQB/C0texzRA5pa5bKZjVJLTK/jOLQK/AWGGEzKHMP jwpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=I6JmHCAw; 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 jt10si8277367ejb.446.2020.04.27.03.29.48; Mon, 27 Apr 2020 03:30:12 -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=I6JmHCAw; 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 S1726932AbgD0K2Q (ORCPT + 99 others); Mon, 27 Apr 2020 06:28:16 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:33592 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726485AbgD0K2P (ORCPT ); Mon, 27 Apr 2020 06:28:15 -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 03RASC6I053238; Mon, 27 Apr 2020 05:28:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1587983292; bh=OIoRkEDtSdqjO07eoDGoCXzJPcwcaFncwmq6XymLSwQ=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=I6JmHCAwl0UmdN6MVgBG7ihi8V0D6OjmzdLnTWGgj6DEW/JyGj09c7o7gPOXG63LQ naaPd8fQRButejVsBYVlpq3/tXzzgdkTzhyFc4mJ6Z4tZofTAoBHmht/0+yhHcjnQb iTAIDeLMxwe7MBTmSvRRDvqkKTSn5tY2T86GfoNc= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 03RASC93101456 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 27 Apr 2020 05:28:12 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 27 Apr 2020 05:28:12 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Mon, 27 Apr 2020 05:28:12 -0500 Received: from [127.0.0.1] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 03RAS9l5043373; Mon, 27 Apr 2020 05:28:10 -0500 Subject: Re: [PATCH] arm64: dts: ti: k3-am65-main: Add ehrpwm nodes To: Vignesh Raghavendra , Nishanth Menon , Rob Herring CC: , , References: <20200322112630.25541-1-vigneshr@ti.com> From: Tero Kristo Message-ID: <0ebef6a3-7b0e-fc3a-3101-7e1a135093b0@ti.com> Date: Mon, 27 Apr 2020 13:28:09 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200322112630.25541-1-vigneshr@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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/03/2020 13:26, Vignesh Raghavendra wrote: > Add DT nodes for all ehrpwm instances present on AM654 EVM. > > Signed-off-by: Vignesh Raghavendra > --- > > clk driver and bindings has been merged to clk-next tree. Queued up for 5.8, thanks. -Tero > > arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 60 ++++++++++++++++++++++++ > 1 file changed, 60 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi > index e5df20a2d2f9..da6427bed801 100644 > --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi > @@ -285,6 +285,12 @@ serdes_mux: mux-controller { > mux-reg-masks = <0x4080 0x3>, /* SERDES0 lane select */ > <0x4090 0x3>; /* SERDES1 lane select */ > }; > + > + ehrpwm_tbclk: syscon@4140 { > + compatible = "ti,am654-ehrpwm-tbclk", "syscon"; > + reg = <0x4140 0x18>; > + #clock-cells = <1>; > + }; > }; > > dwc3_0: dwc3@4000000 { > @@ -742,4 +748,58 @@ csi2_0: port@0 { > }; > }; > }; > + > + ehrpwm0: pwm@3000000 { > + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm"; > + #pwm-cells = <3>; > + reg = <0x0 0x3000000 0x0 0x100>; > + power-domains = <&k3_pds 40 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&ehrpwm_tbclk 0>, <&k3_clks 40 0>; > + clock-names = "tbclk", "fck"; > + }; > + > + ehrpwm1: pwm@3010000 { > + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm"; > + #pwm-cells = <3>; > + reg = <0x0 0x3010000 0x0 0x100>; > + power-domains = <&k3_pds 41 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&ehrpwm_tbclk 1>, <&k3_clks 41 0>; > + clock-names = "tbclk", "fck"; > + }; > + > + ehrpwm2: pwm@3020000 { > + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm"; > + #pwm-cells = <3>; > + reg = <0x0 0x3020000 0x0 0x100>; > + power-domains = <&k3_pds 42 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&ehrpwm_tbclk 2>, <&k3_clks 42 0>; > + clock-names = "tbclk", "fck"; > + }; > + > + ehrpwm3: pwm@3030000 { > + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm"; > + #pwm-cells = <3>; > + reg = <0x0 0x3030000 0x0 0x100>; > + power-domains = <&k3_pds 43 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&ehrpwm_tbclk 3>, <&k3_clks 43 0>; > + clock-names = "tbclk", "fck"; > + }; > + > + ehrpwm4: pwm@3040000 { > + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm"; > + #pwm-cells = <3>; > + reg = <0x0 0x3040000 0x0 0x100>; > + power-domains = <&k3_pds 44 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&ehrpwm_tbclk 4>, <&k3_clks 44 0>; > + clock-names = "tbclk", "fck"; > + }; > + > + ehrpwm5: pwm@3050000 { > + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm"; > + #pwm-cells = <3>; > + reg = <0x0 0x3050000 0x0 0x100>; > + power-domains = <&k3_pds 45 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&ehrpwm_tbclk 5>, <&k3_clks 45 0>; > + clock-names = "tbclk", "fck"; > + }; > }; > -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki