Received: by 2002:a05:6512:2355:0:0:0:0 with SMTP id p21csp104038lfu; Thu, 7 Apr 2022 22:12:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFSyhlR8L0m2xn1kRNYUTx3xqg/kEFNFF90nRaNoEyWs3pOQq+sT608NdE2+IPeZ3mHAUP X-Received: by 2002:a63:4707:0:b0:382:207b:889c with SMTP id u7-20020a634707000000b00382207b889cmr14158536pga.541.1649394755897; Thu, 07 Apr 2022 22:12:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649394755; cv=none; d=google.com; s=arc-20160816; b=tJOHxOyYeieQq39DDb6sflaSjQkABOLzmv6LDt8mec/Q5umd5y1G8h+vGJAWPaJG7U f2PV6GpgvLGv3STZBSDXJP5bwHhpbCkXMNJZ5YwiVkamwrpnvOuaOPfQFMqme6fK6m/g Y+Fa2IKsz8OggCx/fzpjg6uyLK0j23H0kf3EUbI2y4FXheYCFXs9aqLHBpMd6QxJzV09 ne0dSG687lxnv1gi608p9Qq4JqRdGreMyLwe/21DH1P7K0r4bAXsutoRQTlv02MnlX6s BuAW8S16bizNEzNTgwOcM3NxR9OJzZwxDJ2wvaOyHTNylutcSGfokvYihtBKJ1QRNa9b PBaQ== 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=8S1H+a/q+yjXTlpWt/4iDjHl8+d4EMURsZ2fhNcK1H8=; b=x3NyaeM42PqbJ7WSxz9OWuFdKXaML9VHlj6AThnTIzlRITzvnZ5aKxPLjratgCuxdZ CR+W849pIbwRcelZRP4tiojcP7opSjFkxQZm9bnOZN4CDvueAz42j6Wzvx4pRzIn4lcC jDb+gqoRTKsPjw82v9avx26wlVnlboCUUPrs258AdrdWQBXm7Zcg9gojREw9dXdq5Egj Fatty+LrSpbVi3jZos1gcKeC+kXf/MBBRiCTwGxapTlNh/+YC922QtXEq2Z4K1hKDFTv M4GelhxmNiEODMT5YU4cDtqX99v3cZYHlXNy1lHVtTpsDu0SmCCvK2gDTN56oPDybVCM 9XRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id lr8-20020a17090b4b8800b001bfbcffdbeasi374995pjb.3.2022.04.07.22.12.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 22:12:35 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 9CD68312152; Thu, 7 Apr 2022 21:38:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232270AbiDHEka (ORCPT + 99 others); Fri, 8 Apr 2022 00:40:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234287AbiDHEk1 (ORCPT ); Fri, 8 Apr 2022 00:40:27 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9ACA3307E57; Thu, 7 Apr 2022 21:38:25 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id D501C8125; Fri, 8 Apr 2022 04:36:00 +0000 (UTC) Date: Fri, 8 Apr 2022 07:38:23 +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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220407133344.v2x2b6rkmskatips@handled> 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 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. 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? Regards, Tony