Received: by 2002:a05:6a10:144:0:0:0:0 with SMTP id 4csp74359pxw; Fri, 8 Apr 2022 01:11:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzoD40+QLTN+/Swq1BY0PYQa8gb+JK3Xey23tLYyuFjWrWI+R56vCZXkLn5EpJtv3yhCPP X-Received: by 2002:a65:55c4:0:b0:381:71f9:cd35 with SMTP id k4-20020a6555c4000000b0038171f9cd35mr14105080pgs.94.1649405484512; Fri, 08 Apr 2022 01:11:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649405484; cv=none; d=google.com; s=arc-20160816; b=k+dIVrG79G/+kEg2CkxyxiM6BwbIpBZnBPxkpBiI7r3p7KSYAeNfdHEcTM7qb+j0nq 5GUwiJvNz4InSKbKv1ms7DzLNhktS4dboblDIkLLU+L+s/UMmVzi6e/+M4ySn3BpIs81 0YiEkYiBZQ5lmBsM82EbKhmVIS8GY9/Zcw8HBKQVJflQbhUuhcQQ9ciBgRdsfcAE7KTM zybtg8cbo/uXs3g0g1WCYIrSMlN3WkI/hmsBUcy2RCXsPmQD3awdlvRPC8bmerL7jikY w3wlDPUzxzYPAiNTOhy7RJYV65fPn+Y8sknilvwWG1dXnvzqq4A+5uwGxkdn5tk4QCUO +ezw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=BGo+5v1qMC76BDWWNnf+ZgZs9ClLEUYZAhyXKnnuv5E=; b=ibb9jEnB/UF103xbojqaMST6zHodjwq5KFr9jYIXB8satE/1E6GrWVsMzsicg1+tl2 P/yHfuACLaT8Cy80YjBGE8GpJLav8cuS5YO2YxJh6lgE5lvQrjWmzJSZ+s1pcDv6BrAQ wmxQvPscKQn9EtB7SjZRpLX33VHNgHGucU1kwIinN3lGgTiDdb2BsKUiimoCYruZmVG+ uFjbtiYFy31opB3BWr7OrPIEH/VYJ8ZI3JZy/LYdJQB3/aJr6I7z0IG3jwC4DGm744ba MaUw0ddqtl/v+A9vZl1tNCWCbAPseJPrK/B6X9mpejRHfF5wjCuQyE0Xo1z0MpdbwYeL KgMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u12-20020a170903108c00b00153b9c989ebsi154048pld.502.2022.04.08.01.11.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Apr 2022 01:11:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A8E001C7B84; Fri, 8 Apr 2022 00:43:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229906AbiDHHp2 (ORCPT + 99 others); Fri, 8 Apr 2022 03:45:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229852AbiDHHp0 (ORCPT ); Fri, 8 Apr 2022 03:45:26 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B84DC1C025F; Fri, 8 Apr 2022 00:43:23 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 0A62A807E; Fri, 8 Apr 2022 07:40:58 +0000 (UTC) Date: Fri, 8 Apr 2022 10:43:21 +0300 From: Tony Lindgren To: Nishanth Menon Cc: Daniel Lezcano , Thomas Gleixner , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Keerthy , Krzysztof Kozlowski , Rob Herring , Vignesh Raghavendra Subject: Re: [PATCH 1/4] dt-bindings: timer: Add am6 compatible for ti-timer Message-ID: References: <20220407071006.37031-1-tony@atomide.com> <20220407133344.v2x2b6rkmskatips@handled> <20220408073418.4yjs3ykt34fhqjco@boondocks> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220408073418.4yjs3ykt34fhqjco@boondocks> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Nishanth Menon [220408 07:31]: > On 07:38-20220408, Tony Lindgren wrote: > > Hi, > > > > * Nishanth Menon [220407 13:31]: > > > On 10:10-20220407, Tony Lindgren wrote: > > > > diff --git a/Documentation/devicetree/bindings/timer/ti,timer.txt b/Documentation/devicetree/bindings/timer/ti,timer.txt > > > > --- a/Documentation/devicetree/bindings/timer/ti,timer.txt > > > > +++ b/Documentation/devicetree/bindings/timer/ti,timer.txt > > > > @@ -14,6 +14,7 @@ Required properties: > > > > ti,omap5430-timer (applicable to OMAP543x devices) > > > > ti,am335x-timer (applicable to AM335x devices) > > > > ti,am335x-timer-1ms (applicable to AM335x devices) > > > > + ti,am6-timer (applicable to AM6 devices) > > > > > > Suggestion: > > > > > > Could we call this ti,am65-timer instead? AM6 is a bit nuanced and spans > > > a couple of sub SoC architectures. > > > > I think the timer hardware is the same across am64, am65 and j7. So we > > should pick something to represent the am6 timers as it would allow using > > shared dtsi files for the 16 - 30 timers there are. > > > > Using shared timer dtsi files should work as long as the clocks are > > defined in include/dt-bindings/clock for each SoC, and assuming we can use > > the same compatible property for the timers. > > Compatible should work fine, Though I doubt clock and other indices > (base address etc will scale appropriately), but we could give it a > shot, but we can discuss that in the context of the dts patches. Yeah that's a separate series for sure and can be done later on after we have am6 timers working first. > > Of course if the timers are really different across am64, am65 and j72 > > then multiple compatible properties are neeeded. > > > > If the timer hardware is the same, then I guess we should just pick the > > earliest version, so how about using ti,am64-timer? > > yep - the oldest version will be ti,am654-timer ( AM65 was the first > K3 device. Unfortunately, the numbering does'nt follow a chronological > order) OK great, I will use ti,am654-timer then. Regards, Tony