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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B550C433FE for ; Fri, 8 Apr 2022 08:33:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231963AbiDHIft (ORCPT ); Fri, 8 Apr 2022 04:35:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232036AbiDHIfp (ORCPT ); Fri, 8 Apr 2022 04:35:45 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 20CA12FF537; Fri, 8 Apr 2022 01:33:43 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 010AD807E; Fri, 8 Apr 2022 08:31:18 +0000 (UTC) Date: Fri, 8 Apr 2022 11:33:41 +0300 From: Tony Lindgren To: Nishanth Menon Cc: Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Daniel Lezcano , Keerthy , Vignesh Raghavendra Subject: Re: [PATCH] dt-bindings: timer: Update TI timer to yaml and add compatible for am6 Message-ID: References: <20220408081258.57213-1-tony@atomide.com> <20220408082757.3cnhvekpty4o4j2k@ladder> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220408082757.3cnhvekpty4o4j2k@ladder> Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org * Nishanth Menon [220408 08:25]: > On 11:12-20220408, Tony Lindgren wrote: > [...] > > > + ti,hwmods: > > + description: > > + Name of the HWMOD associated with timer. This is for legacy > > + omap2/3 platforms only. > > + $ref: /schemas/types.yaml#/definitions/string > > + deprecated: true > > + > > +required: > > + - compatible > > + - reg > > + > > +additionalProperties: false > > + > > Should we strengthen the check like in 8250_omap.yaml - something to the > effect of: > > if: > properties: > compatible: > contains: > enum: > - ti,omap2420-timer > - ti,omap3430-timer > - ti,omap4430-timer > > then: > properties: > ti,hwmods: > items: > - pattern: "^timer([1-9]+)$" > > else: > properties: > ti,hwmods: false Sure, sounds good to me. I need to check again what all SoCs are already using ti-sysc for all the timers. I believe system timers only got updated for some SoCs. Regards, Tony 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 13CF5C433EF for ; Fri, 8 Apr 2022 08:35:18 +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=JKl26X8iQ1xMMeAlyxTuvVQWYbhXd/XfkcwWKWiT3JA=; b=lTvhWXc8j9WbY5 mSqtQbgkaVO+Qzeu1QLGbt+NzOBIHNMN+uSbtOl1MKjgviHg3SchqkUF5vif1egKDqrQVwdE1MeWX QUZkop7E4V/fo7eC625+YM3iewASYgcAadavl9I+qlOZ4dYZ36ukZPFQB1xgDWJWh7N1X+8qmyXTS O8FhxViBMvDcg1/Xr7pfAFzJok2A/PtQ627i+q1d5nAjnLzo7/4W3JdSNQs+FvMK46XPc1/nPS8t+ QQ7+EXM2vqQBPCW6e8w2bxeeuZAjcu2BbBQ1mHB5KQbwlJzXlaKe7aIKy4AAFIaSbrE6LHD8hbx+o YVPuQi28LPvh4wZs6K0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nck4A-00FubP-Av; Fri, 08 Apr 2022 08:34:02 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nck3r-00FuUf-IV for linux-arm-kernel@lists.infradead.org; Fri, 08 Apr 2022 08:33:46 +0000 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 010AD807E; Fri, 8 Apr 2022 08:31:18 +0000 (UTC) Date: Fri, 8 Apr 2022 11:33:41 +0300 From: Tony Lindgren To: Nishanth Menon Cc: Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Daniel Lezcano , Keerthy , Vignesh Raghavendra Subject: Re: [PATCH] dt-bindings: timer: Update TI timer to yaml and add compatible for am6 Message-ID: References: <20220408081258.57213-1-tony@atomide.com> <20220408082757.3cnhvekpty4o4j2k@ladder> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220408082757.3cnhvekpty4o4j2k@ladder> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220408_013343_762741_11CFD9E2 X-CRM114-Status: UNSURE ( 9.51 ) X-CRM114-Notice: Please train this message. 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 * Nishanth Menon [220408 08:25]: > On 11:12-20220408, Tony Lindgren wrote: > [...] > > > + ti,hwmods: > > + description: > > + Name of the HWMOD associated with timer. This is for legacy > > + omap2/3 platforms only. > > + $ref: /schemas/types.yaml#/definitions/string > > + deprecated: true > > + > > +required: > > + - compatible > > + - reg > > + > > +additionalProperties: false > > + > > Should we strengthen the check like in 8250_omap.yaml - something to the > effect of: > > if: > properties: > compatible: > contains: > enum: > - ti,omap2420-timer > - ti,omap3430-timer > - ti,omap4430-timer > > then: > properties: > ti,hwmods: > items: > - pattern: "^timer([1-9]+)$" > > else: > properties: > ti,hwmods: false Sure, sounds good to me. I need to check again what all SoCs are already using ti-sysc for all the timers. I believe system timers only got updated for some SoCs. Regards, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel