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 37012C43334 for ; Wed, 6 Jul 2022 23:23:16 +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=ORBzqB4xmeW6RS0Bj/CpHaKDjTqHjfrilcgFCY6Ntnk=; b=mX0FJ7VjwvT0mz eMNMr0iy+rcxIhbBkb4ZpE1jjh1wW8j3ZyE2mVpMC9AVTKWlPJQ/lX02r0poriFmY3GNyqzmTW9ML QFFSc4F9yYWwWChPLZt0YZqkvhTLYMplEIdT/CX9SkiPHMd3crluUYnXMf7bpUMxDrib2f1PRGraz 5WKq7m/L9nrs8y5FnTRX09bxi2lCMH/30q2xKC217UX+B0BloY3q+lAnH5fRkq0BqEc1k3Qi8AE/m z3euvbpsC8KYL3B32w6Y9GNjDIqhXJDgVRBDkIZ440q6cWG3gDU1/WFoO39aoA4jilCPbnoDRt4LF tHBEtgeEaFiJGjesfbpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9ELP-00Cjt2-3P; Wed, 06 Jul 2022 23:22:07 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9ELL-00CjsZ-BC for linux-arm-kernel@lists.infradead.org; Wed, 06 Jul 2022 23:22:04 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 266NLwr1083888; Wed, 6 Jul 2022 18:21:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1657149718; bh=t2pk8FbrIJKAk5qVLPHPSXiy+CdFvEgOcDkvsX6jmrI=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=HtZITyqUHb5dkWDPWW5yMI33ID6FwG3UZ/O0PhghGTynPXoPjs2sEiJfHeS4ABkz+ 81s8REKbPRshfFJZZEaTeuUFOwX3Sk2eHxKAh3CKpSuRwafRPix9TOh6Pivp0iglVH dTJVQl+SKYdfNQiqZ3ZNLn6E0ZUqkNmo+qZuz6i0= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 266NLw8D039633 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 6 Jul 2022 18:21:58 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 6 Jul 2022 18:21:57 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Wed, 6 Jul 2022 18:21:57 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 266NLv6Z011994; Wed, 6 Jul 2022 18:21:57 -0500 Date: Wed, 6 Jul 2022 18:21:57 -0500 From: Nishanth Menon To: Tony Lindgren CC: Vignesh Raghavendra , , , Keerthy Subject: Re: [PATCH 2/2] arm64: dts: ti: k3-am65: Add general purpose timers for am65 Message-ID: <20220706232157.thvbsr6emvyy6i5o@resend> References: <20220407104725.41755-1-tony@atomide.com> <20220407104725.41755-2-tony@atomide.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220407104725.41755-2-tony@atomide.com> User-Agent: NeoMutt/20171215 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-20220706_162203_545639_5736FF2F X-CRM114-Status: GOOD ( 19.78 ) 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 13:47-20220407, Tony Lindgren wrote: > There are 12 general purpose timers on am65 that can be used for things > like PWM using pwm-omap-dmtimer driver. There are also additional four > timers in the MCU domain do not have interrupts routable for Linux and > are likely reserved by the software for the ESM module. > > Compared to am64, the timer clocks are different on am65. And the MCU > timers are at a different IO address. Then j72 adds more timers compared > to am65 with a total of 30 timers. And the j72 clocks are different. > > To avoid duplication for dtsi files, eventually we may want to consider > adding timer specific shared dtsi files with the timer clocks mapped > using SoC specific files in include/dt-bindings/clock. But let's get > am65 timers usable first. > > Cc: Keerthy > Cc: Nishanth Menon > Cc: Vignesh Raghavendra > Signed-off-by: Tony Lindgren > Signed-off-by: Nishanth Menon > Link: https://lore.kernel.org/r/20220407104725.41755-2-tony@atomide.com > --- > arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 108 +++++++++++++++++++++++ > arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 41 +++++++++ > 2 files changed, 149 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi > --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi > @@ -271,6 +271,114 @@ main_spi4: spi@2140000 { > #size-cells = <0>; > }; > > + main_timer0: timer@2400000 { > + compatible = "ti,am6-timer"; > + reg = <0x00 0x2400000 0x00 0x400>; > + interrupts = ; > + clocks = <&k3_clks 23 12>; > + clock-names = "fck"; > + ti,timer-pwm; > + }; Tony, Lets hold this back one more window.. ti,am6-timer should come in the next rc1, but I still dont see this yet in next-20220706, So, i am going to have to skip this window at least. -- 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