From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CD36AC001DD for ; Thu, 13 Jul 2023 16:48:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oXKb++/5rWd0aNguIyxRSaS68IoZk1rP3p/3x9R2yd4=; b=OiX0hoj8UY55Fi ZQ9as2EEOohhGk+bGshq925YyLv22fTMFIT67YKWjKV8gnS6seBq9evgEcyon330TtFgrxt8VZttV FqtomrhouObkmBVsBX84FZLPuzMrDNciB26pd32tCA1i1V97oLTEeNo/yGnw36BR71Ul8y9W9caHS vhrd9vbsWksf79bPWvyRMVIwBrJGGs/MzdvzBCB5uBqbaDDCeBoK6d4z93ARe9pqYEQmpY4P/I+xF L8mOFyMLy2tDWY949CAf8fJW0WbBiCx/00AWIq/lvBHagDhce+sjolJZjneMjz15AXwDy17a3DLRk JBCMfPXQiTlxtrnPI6hQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJzUL-003wI9-1y; Thu, 13 Jul 2023 16:48:21 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJzUI-003wGe-0h for linux-arm-kernel@lists.infradead.org; Thu, 13 Jul 2023 16:48:19 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36DGm8Y2125572; Thu, 13 Jul 2023 11:48:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1689266888; bh=IZ1z4iyYzGM/RJ4vujD2mbVNTMgRjDvDU6q7GxxY7Is=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=ayMQNfvcr/4/41kHpW5pHR1GWHDE6+c9N5XF0QRSEoqBaJkpTcS4zuANBXh0Sngim C2LPAQstZShWpJ/qeztypKcKZht1laU1SO0jo5n2q3Ol3V5MSMDknv29G1NSgWrl0X VaGN5Wl9HwxK20DbZn9Mva2EOiT9vl21892wG8dY= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36DGm8N8077775 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 13 Jul 2023 11:48:08 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 13 Jul 2023 11:48:08 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 13 Jul 2023 11:48:08 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36DGm8uE103174; Thu, 13 Jul 2023 11:48:08 -0500 Date: Thu, 13 Jul 2023 11:48:08 -0500 From: Nishanth Menon To: Sinthu Raja CC: Tero Kristo , Rob Herring , Vignesh Raghavendra , Krzysztof Kozlowski , , , , Sinthu Raja Subject: Re: [PATCH] arm64: dts: ti: k3-j721s2-main: Add dts nodes for EHRPWMs Message-ID: <20230713164808.24m46mdwnh6h2dy5@unwed> References: <20230713114021.28450-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230713114021.28450-1-sinthu.raja@ti.com> 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-20230713_094818_360411_0EB4A8A5 X-CRM114-Status: GOOD ( 15.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 17:10-20230713, Sinthu Raja wrote: > From: Sinthu Raja > > Add dts nodes for 6 EHRPWM instances on SoC. Disable EHRPWM nodes in the > dtsi files and only enable the ones that are actually pinned out on a > given board in the board dts file. > > Signed-off-by: Sinthu Raja > --- > arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 66 ++++++++++++++++++++++ > 1 file changed, 66 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi > index ed79ab3a3271..0d3a965f764f 100644 > --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi > @@ -58,6 +58,72 @@ serdes_ln_ctrl: mux-controller@80 { > mux-reg-masks = <0x80 0x3>, <0x84 0x3>, /* SERDES0 lane0/1 select */ > <0x88 0x3>, <0x8c 0x3>; /* SERDES0 lane2/3 select */ > }; > + > + ehrpwm_tbclk: clock-controller@140 { > + compatible = "ti,am654-ehrpwm-tbclk", "syscon"; NAK - Please run dtbs_check prior to posting. See Documentation/devicetree/bindings/clock/ti,am654-ehrpwm-tbclk.yaml > + reg = <0x140 0x18>; > + #clock-cells = <1>; > + }; > + }; > + > + main_ehrpwm0: pwm@3000000 { > + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm"; > + #pwm-cells = <3>; > + reg = <0x00 0x3000000 0x00 0x100>; > + power-domains = <&k3_pds 160 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&ehrpwm_tbclk 0>, <&k3_clks 160 0>; > + clock-names = "tbclk", "fck"; > + status = "disabled"; > + }; > + > + main_ehrpwm1: pwm@3010000 { > + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm"; > + #pwm-cells = <3>; > + reg = <0x00 0x3010000 0x00 0x100>; > + power-domains = <&k3_pds 161 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&ehrpwm_tbclk 1>, <&k3_clks 161 0>; > + clock-names = "tbclk", "fck"; > + status = "disabled"; > + }; > + > + main_ehrpwm2: pwm@3020000 { > + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm"; > + #pwm-cells = <3>; > + reg = <0x00 0x3020000 0x00 0x100>; > + power-domains = <&k3_pds 162 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&ehrpwm_tbclk 2>, <&k3_clks 162 0>; > + clock-names = "tbclk", "fck"; > + status = "disabled"; > + }; > + > + main_ehrpwm3: pwm@3030000 { > + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm"; > + #pwm-cells = <3>; > + reg = <0x00 0x3030000 0x00 0x100>; > + power-domains = <&k3_pds 163 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&ehrpwm_tbclk 3>, <&k3_clks 163 0>; > + clock-names = "tbclk", "fck"; > + status = "disabled"; > + }; > + > + main_ehrpwm4: pwm@3040000 { > + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm"; > + #pwm-cells = <3>; > + reg = <0x00 0x3040000 0x00 0x100>; > + power-domains = <&k3_pds 164 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&ehrpwm_tbclk 4>, <&k3_clks 164 0>; > + clock-names = "tbclk", "fck"; > + status = "disabled"; > + }; > + > + main_ehrpwm5: pwm@3050000 { > + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm"; > + #pwm-cells = <3>; > + reg = <0x00 0x3050000 0x00 0x100>; > + power-domains = <&k3_pds 165 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&ehrpwm_tbclk 5>, <&k3_clks 165 0>; > + clock-names = "tbclk", "fck"; > + status = "disabled"; > }; > > gic500: interrupt-controller@1800000 { > -- > 2.36.1 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel