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